Searched refs:content (Results 1 - 17 of 17) sorted by relevance

/ontohub/spec/factories/
H A Dprover_output_factory.rb4 content { '--------------------------SPASS-START-----------------------------
/ontohub/spec/lib/repository/
H A Dfiles_spec.rb12 let(:content) { 'Some content' }
20 before { repository.commit_file(userinfo, content, filepath, message) }
24 it { expect(repository.get_file(filepath).content).to eq(content) }
33 repository.commit_file(userinfo, content, filepath, message)
41 let(:content2) { "#{content}_2" }
45 repository.commit_file(userinfo, content, filepath, message)
50 it { expect(repository.get_file(filepath).content).to eq(content2) }
59 before { repository.commit_file(userinfo, content, fullpat
[all...]
H A Ddirectories_spec.rb16 let(:content) { 'Some content' }
22 @commit_add1 = repository.commit_file(userinfo, content, filepath1, message1)
23 @commit_add2 = repository.commit_file(userinfo, content, filepath2, message2)
24 @commit_add3 = repository.commit_file(userinfo, content, filepath3, message3)
/ontohub/lib/git_repository/
H A Dfiles.rb14 @content = []
38 content.size
42 def content method in class:GitRepository.GitFile
43 @content ||= case type
45 rugged_object.content
/ontohub/app/models/
H A Dprover_output.rb6 attr_accessible :content, :locid
/ontohub/lib/oops/
H A Dclient.rb23 unless options.include?(:url) || options.include?(:content)
24 raise ArgumentError, 'options must include :url or :content'
30 xml << "<![CDATA[#{options[:content]}]]>" if options.include? :content
/ontohub/spec/models/repository/
H A Dbrowsing_spec.rb19 files.each do | path, content |
21 tmpfile.write(content)
H A Dsave_and_delete_file_spec.rb8 let(:content) { "(Cat x)\n" }
11 tmpfile.write(content)
32 expect(repository.git.get_file(target_path).content).to eq(content)
65 tmpfile.write(content*2)
/ontohub/app/serializers/
H A Dprover_output_serializer.rb12 attributes :content
/ontohub/app/controllers/api/v1/
H A Dontology_versions_controller.rb19 render text: resource.file_in_repository.content,
H A Dontologies_controller.rb18 render text: asset.file_in_repository.content,
/ontohub/app/fake_records/
H A Drepository_file.rb95 def content method
96 @content ||= if dir?
97 files_sorted = file.content.sort_by do |git_file|
105 file.content
119 ungrouped = content.each_with_index { |entry,i| entry.index = i }
176 (opts[:content].present? ||
215 opts[:content].present?
220 tempfile.write(opts[:content])
/ontohub/app/models/oops_request/
H A Dresponses.rb37 r = Oops::Client.request :content => ontology_version.raw_data
/ontohub/app/models/ontology_version/
H A Dfiles.rb56 repository.get_file(self.path, commit_oid).content.encoding_utf8
/ontohub/spec/controllers/
H A Dfiles_controller_spec.rb102 content: "changed"
116 content: "changed"
133 content: "changed"
/ontohub/lib/hets/prove/
H A Dprove_evaluation_helper.rb140 prover_output.content = proof_info[:prover_output]
/ontohub/app/controllers/
H A Dfiles_controller.rb89 render text: repository.get_file(path, oid).content,

Completed in 2718 milliseconds