/ontohub/config/ |
H A D | boot.rb | 4 ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 6 require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
|
H A D | environment.rb | 2 require File.expand_path('../application', __FILE__)
|
/ontohub/script/ |
H A D | rails | 4 APP_PATH = File.expand_path('../../config/application', __FILE__) 5 require File.expand_path('../../config/boot', __FILE__)
|
H A D | cucumber | 3 vendored_cucumber_bin = Dir["#{File.dirname(__FILE__)}/../vendor/{gems,plugins}/cucumber*/bin/cucumber"].first 5 load File.expand_path(vendored_cucumber_bin)
|
/ontohub/lib/ |
H A D | environment_light_with_hets.rb | 2 rails_root = File.join(File.dirname(__FILE__), '..') 3 require File.join(rails_root, 'lib', 'environment_light.rb') 4 Settings.add_source!(File.join(rails_root, 'config', 'hets.yml'))
|
H A D | iri_url_builder.rb | 27 path = File.dirname(ontology_version.basepath) 32 File.basename(ontology_version.basepath)
|
H A D | uri_fetcher.rb | 27 File.open(write_file.to_s, 'w') do |file| 28 file.flock(File::LOCK_EX)
|
H A D | ontology_saver.rb | 14 file_extension = File.extname(ontology_version_options.filepath) 102 basepath = File.basepath(ontology_version_options.filepath) 103 file_extension = File.extname(ontology_version_options.filepath) 113 basepath = File.basepath(ontology_version_options.filepath) 123 File.basepath(ontology_version_options.pre_saving_filepath)). 129 ontology.basepath = File.basepath(filepath) 130 ontology.file_extension = File.extname(filepath) 141 include?(File.extname(filepath)) 151 basepath: File.basepath(ontology_version_options.filepath), 152 file_extension: File [all...] |
/ontohub/lib/extend/ |
H A D | file.rb | 1 class File class 4 File.join(File.dirname(filepath), 5 File.basename(filepath, 6 File.extname(filepath))).sub('./', '')
|
/ontohub/git/hooks/ |
H A D | update | 7 require File.expand_path('../../lib/init', File.realdirpath(__FILE__))
|
H A D | post-receive | 7 require File.expand_path('../../lib/init', File.realdirpath(__FILE__))
|
/ontohub/bin/ |
H A D | god | 10 ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
|
H A D | sidekiq | 10 ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
|
H A D | sidekiqctl | 10 ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
|
/ontohub/spec/factories/ |
H A D | repository_factory.rb | 9 root_path = File.expand_path('../../../', __FILE__) 10 fixture_path = File.join(root_path, 'spec/fixtures/ontologies/clif/') 12 path = File.join(Ontohub::Application.config.git_root, 'repository') 22 commit_add1 = git_repository.commit_file(userinfo, File.read(File.join(fixture_path, 'cat1.clif')), filepath1, message) 23 commit_add2 = git_repository.commit_file(userinfo, File.read(File.join(fixture_path, filepath2)), filepath2, message) 24 commit_add3 = git_repository.commit_file(userinfo, File.read(File.join(fixture_path, 'cat2.clif')), filepath1, message) 34 path = File [all...] |
H A D | svn_repository_factory.rb | 18 FileUtils.mkdir_p(File.dirname(path_bare)) 19 Dir.chdir(File.dirname(path_bare)) do 20 exec_silently.call("svnadmin create #{File.basename(path_bare)}")
|
/ontohub/spec/lib/ |
H A D | logicgraph_parser_spec.rb | 5 File.open(fixture_file(File.join('ontologies', 'xml', name)))
|
/ontohub/git/lib/ |
H A D | init.rb | 2 require File.expand_path("../../../lib/environment_light", __FILE__) 3 require File.expand_path("../../../config/initializers/paths", __FILE__) 6 $:.unshift File.dirname(__FILE__)
|
H A D | ontohub_net.rb | 4 require File.expand_path('../../../lib/uri_fetcher/errors', File.realdirpath(__FILE__)) 5 require File.expand_path('../../../lib/uri_fetcher/http_caller', File.realdirpath(__FILE__)) 6 require File.expand_path('../../../lib/uri_fetcher', File.realdirpath(__FILE__))
|
/ontohub/app/helpers/ |
H A D | mime_type_helper.rb | 5 extension = File.extname(filename)[1..-1]
|
/ontohub/ |
H A D | Rakefile | 5 require File.expand_path('../lib/rake/task.rb', __FILE__) 6 require File.expand_path('../config/application', __FILE__)
|
/ontohub/spec/support/fixtures_generation/ |
H A D | base_generator.rb | 13 YAML.load(File.open('config/hets.yml'))['hets']['server_options'] 52 globbed_files = Dir.glob(File.join(dir, '**/*')) 53 globbed_files.select { |file| !File.directory?(file) } 95 File.join('hets-out', subdir) 99 File.join(hets_cassette_dir, cassette_file(file)) 104 old_extension = File.extname(file)[1..-1] 106 File.join('spec', 'fixtures', 'vcr', cassette_path_in_fixtures(file))
|
/ontohub/spec/lib/repository/ |
H A D | git_repository_spec.rb | 11 FileUtils.rmtree(path) if File.exists?(path) 17 expect(File.exists?(path)).to be(false) 25 it { expect(File.exists?(path)).to be(true) } 30 it { expect(File.exists?(path)).to be(false) }
|
/ontohub/spec/lib/hets/ |
H A D | szs_parser_spec.rb | 7 let(:output) { File.read(prover_output_fixture(szs_status, prover)) } 25 let(:output) { File.read(prover_output_fixture(szs_status, prover)) }
|
/ontohub/spec/models/ |
H A D | oops_spec.rb | 11 File.read(fixture_file("oops/invalid_request.xml"))) 23 File.read(fixture_file("oops/valid_request.xml"))) 36 Oops::Response.parse File.read(fixture_file("oops/sunrealm.xml"))
|