Searched refs:files (Results 1 - 16 of 16) sorted by relevance

/ontohub/spec/routing/
H A Dfiles_routing_spec.rb14 it { should route(:get, 'repopath' ).to(repository_id: 'repopath', controller: :files, action: :show ) }
15 it { should route(:get, 'repopath/some/path' ).to(repository_id: 'repopath', controller: :files, action: :show, path: 'some/path') }
16 it { should route(:get, 'repositories/repopath/files/new' ).to(repository_id: 'repopath', controller: :files, action: :new ) }
17 it { should route(:post, 'repositories/repopath/files' ).to(repository_id: 'repopath', controller: :files, action: :create ) }
18 it { should route(:get, 'repositories/repopath/12ab/action' ).to(repository_id: 'repopath', controller: :files, action: :action, ref: '12ab' ) }
19 it { should route(:get, 'repositories/repopath/12ab/files/some/path' ).to(repository_id: 'repopath', controller: :files, action: :show, ref: '12ab', path: 'some/path' ) }
20 it { should route(:delete, 'repopath/some/path' ).to(repository_id: 'repopath', controller: :files, actio
[all...]
/ontohub/spec/models/repository/
H A Djobcount_spec.rb7 let(:files) do {
18 tmpfile.write(files[path])
29 tmpfile.write(files[path])
37 it 'should get increased on saving inroot2 file after two inroot1 files' do
40 tmpfile.write(files[path])
H A Dbrowsing_spec.rb7 let(:files) do {
19 files.each do | path, content |
/ontohub/spec/support/fixtures_generation/
H A Dontology_generator.rb12 def files method in class:FixturesGeneration.OntologyGenerator
H A Dproof_generator.rb13 def files method in class:FixturesGeneration.ProofGenerator
H A Dprovers_generator.rb12 def files method in class:FixturesGeneration.ProversGenerator
H A Dprover_output_generator.rb24 def files method in class:FixturesGeneration.ProverOutputGenerator
H A Dpipeline_generator.rb60 def files method in class:FixturesGeneration.PipelineGenerator
H A Dbase_generator.rb6 # * files: the list of files to create fixtures to
26 files.select do |file|
/ontohub/registry/purl/
H A Dsendbatchpurls.pl11 # Script to send PURLz v1.x batch loading XML files to a PURLz server.
77 @files = <$directory/*> or die "ERROR: Can't open directory $directory for reading: $!\n";;
78 foreach $file (@files) {
H A Dmodifybatchpurls.pl82 my @files = <$directory/*> or die "ERROR: Can't open directory $directory for reading: $!\n";;
83 foreach my $file (@files) {
/ontohub/app/assets/stylesheets/
H A Dapplication.css.sass2 * This is a manifest file that'll be compiled into application.css, which will include all the files
39 @import files
/ontohub/spec/lib/repository/
H A Ddirectories_spec.rb185 context 'process all files by files method' do
186 let(:files) { [] }
188 repository.files do |git_file|
189 files << [git_file.path, git_file.last_change[:oid]]
193 it { expect(files).to eq([]) }
197 repository.files(@commit_add3) do |git_file|
198 files << [git_file.path, git_file.last_change[:oid]]
203 expect(files).to eq([
/ontohub/lib/git_repository/
H A Dget_folder_contents.rb5 # returns the contents (files and subfolders) of a folder
16 # iterates over all files in the repository, passing the filepath and the oid of the last change to the block
17 def files(commit_oid=nil, &block) method in class:GitRepository
/ontohub/config/
H A Droutes.rb751 resources :files, only: [:new, :create]
754 get ':ref/files(/*path)',
755 controller: :files,
773 controller: :files,
803 controller: :files,
809 controller: :files,
815 controller: :files,
/ontohub/script/
H A Dbackup221 restored and all restored files will belong to the current user/group.

Completed in 2142 milliseconds