Searched refs:file_extension (Results 1 - 20 of 20) sorted by relevance
/ontohub/app/models/ |
H A D | file_extension_mime_type_mapping.rb | 2 attr_accessible :file_extension, :mime_type
|
H A D | ontology.rb | 164 def file_extension method 165 has_versions? ? current_version.file_extension : read_attribute(:file_extension) 169 "#{basepath}#{file_extension}"
|
/ontohub/app/models/ontology/ |
H A D | hets_options.rb | 17 EXTENSIONS_TO_INPUT_TYPES[file_extension] || file_extension_without_dot 21 file_extension[1..-1] if file_extension
|
H A D | associations_and_attributes.rb | 60 :file_extension,
|
/ontohub/spec/factories/ |
H A D | ontology_factory.rb | 15 file_extension { '.owl' } 28 file_extension: ontology.file_extension, 43 file_extension: ontology.file_extension 52 file_extension: ontology.file_extension, 63 file_extension: ontology.file_extension 103 file_extension [all...] |
H A D | ontology_version_factory.rb | 5 file_extension { '.owl' }
|
/ontohub/spec/controllers/ |
H A D | filetypes_controller_spec.rb | 9 let(:file_extension) { '.clif' } 24 it 'should contain the file_extension' do 25 expect(response.body).to include(%{"extension":"#{file_extension}"}) 32 let(:file_extension) { '.clif' }
|
/ontohub/app/serializers/ |
H A D | ontology_version_serializer.rb | 14 attributes :basepath, :file_extension
|
H A D | ontology_serializer.rb | 14 attributes :basepath, :file_extension
|
/ontohub/app/controllers/ |
H A D | filetypes_controller.rb | 25 find_by_mime_type(mime_type).try(:file_extension),
|
/ontohub/lib/ |
H A D | ontology_saver.rb | 14 file_extension = File.extname(ontology_version_options.filepath) 15 return unless Ontology.file_extensions.include?(file_extension) 103 file_extension = File.extname(ontology_version_options.filepath) 106 file_extension: file_extension).any? 130 ontology.file_extension = File.extname(filepath) 152 file_extension: File.extname(ontology_version_options.filepath),
|
H A D | external_repository.rb | 10 file_extension: determine_path(internal_iri, :extension),
|
/ontohub/app/models/ontology_member/symbol/ |
H A D | readability.rb | 31 self.display_name = label if ontology.file_extension == '.obo' && label
|
/ontohub/lib/hets/dg/ |
H A D | node_evaluation_helper.rb | 47 file_extension: parent_ontology.file_extension, 61 version.file_extension = ontology.file_extension
|
H A D | node_evaluator.rb | 204 version.file_extension = ontology.file_extension
|
/ontohub/spec/lib/repository/ |
H A D | diff_spec.rb | 23 let (:file_extension) { filepath_pn.extname[1..-1] } 59 to eq(Mime::Type.lookup_by_extension(file_extension)) 96 to eq(Mime::Type.lookup_by_extension(file_extension)) 133 to eq(Mime::Type.lookup_by_extension(file_extension))
|
/ontohub/app/models/proof_status/ |
H A D | creation_from_ontology.rb | 63 basepath: 'proof_statuses', file_extension: '.owl').first
|
/ontohub/features/step_definitions/ |
H A D | repository_edit_file_steps.rb | 7 file_extension: File.extname(ontology.path),
|
/ontohub/spec/models/ontology_version/ |
H A D | parsing_spec.rb | 266 basepath: 'zfmisc_1__t92_zfmisc_1', file_extension: '.p'
|
/ontohub/db/migrate/ |
H A D | 20150715081827_init_schema.rb | 149 t.string "file_extension", :null => false 391 t.string "file_extension", :limit => 20 451 t.string "file_extension", :limit => 20 1081 mappings.each do |(file_extension, mime_type)| 1083 where(file_extension: file_extension, mime_type: mime_type).
|
Completed in 19 milliseconds