Searched refs:result (Results 1 - 25 of 25) sorted by relevance

/ontohub/app/helpers/
H A Dtag_helper.rb4 result = ""
9 result += first ? tag.to_s : (yield tag.to_s)
11 result += first ? tag.to_s : ' ' + tag.to_s
16 result
H A Dbreadcrumbs_helper.rb6 result = [{
14 result << {
21 result.last[:last] = true
23 result
H A Dsearch_helper.rb12 hit.result.send field
/ontohub/app/models/ontology/
H A Dowl_classes.rb15 result = []
18 result << superclass
19 result += superclasses(superclass)
22 result.uniq
27 result = []
31 result << match[:superclass] if match
34 result
39 result = []
42 result << subclass
43 result
[all...]
/ontohub/script/
H A Drebuild-ontohub4 result="$(which invoker 2>&1)"
12 result="$(invoker list 2>&1)"
15 result=`invoker stop 2>&1`
34 result="$($cmd 2>&1)"
39 check_and_handle_result_text "$result" "$expression" "$cmd"
41 abort_cmd "$cmd" "$result"
52 result="$1"
55 echo "$result" | grep -q "$expression"
58 abort_cmd "$cmd" "$result"
88 print_colored_or_not " >> Failed to execute '$cmd', but ignoring the result
[all...]
H A Drename_refactor.rb340 result = name.dup
341 if result.match /#{old_name}/
342 result.gsub!($&, new_name)
344 if result.match /#{pluralize(old_name)}/
345 result.gsub!($&, pluralize(new_name))
347 if result.match /#{camelize(old_name)}/
348 result.gsub!($&, camelize(new_name))
350 if result.match /#{camelize(pluralize(old_name))}/
351 result.gsub!($&, camelize(pluralize(new_name)))
353 return result i
[all...]
/ontohub/spec/lib/repository/import/
H A Dsvn_spec.rb55 let!(:result) { repository.fetch(:pull) }
58 expect(result.current).to eq(result.previous)
65 let!(:result) { repository.fetch(:pull) }
72 expect(result.current).not_to eq(result.previous)
H A Dgit_spec.rb65 let!(:result) { repository.fetch(:pull) }
75 expect(result.previous).to eq(head_oid_pre)
79 expect(result.current).to eq(head_oid_post)
/ontohub/spec/models/
H A Dautocomplete_spec.rb7 result = ac.search(query)
30 # one result
56 let(:result) { autocomplete('User,Team', 'bar') }
59 expect(result.size).to eq(2)
63 expect(result).to include(foobar)
67 expect(result).to include(team_bars)
84 let(:result) do
91 expect(result.count).to eq(3)
H A Doops_spec.rb25 let!(:result) do
29 expect(result.size).to eq(2)
35 let!(:result) do
39 expect(result.size).to eq(5)
43 let!(:element) { result.first }
H A Dhets_instance_spec.rb167 it 'with_instance! returns the result of its block' do
168 expect(HetsInstance.with_instance! { |_i| :result }).to be(:result)
/ontohub/app/controllers/
H A Dautocomplete_controller.rb12 @result = []
23 @result = autocomplete.search(term).map{|r| {
29 render :json => @result
/ontohub/lib/
H A Dautocomplete.rb33 result = []
45 result += scope.limit(limit).all
48 result
H A Drouter_constraints.rb26 result = !RepositoryFile.find_with_path(
29 set_params_path_without_format(request) if result
31 return result
118 result = OntologyVersionFinder.
121 result && update_version_id!(request, path.dup)
149 result = !ontology.nil?
151 if result
156 return result
H A Dsemaphore.rb52 result = yield
54 result
H A Dontology_version_finder.rb52 result = version_reference ||
56 !! result
/ontohub/app/models/
H A Dloc_id_base_model.rb10 result = LocId.where(locid: locid).first.try(:specific)
11 if table_name == 'ontologies' && result.nil? && iri
12 result = AlternativeIri.where('iri LIKE ?', '%' << iri).
15 result
H A Dhets_instance.rb56 result = yield(instance)
62 result
106 # will result in 0.99 for <v0.99, something or other>
111 # will result in 1409043198 for <v0.99, 1409043198>
/ontohub/lib/git_repository/
H A Dcloning.rb15 result = pull
17 result
35 result = pull_svn
37 result
/ontohub/spec/lib/
H A Dsemaphore_spec.rb52 it 'returns the block result on "exclusively"' do
53 expect(Semaphore.exclusively(@key) { :result }).to eq(:result)
/ontohub/spec/support/fixtures_generation/
H A Dpipeline_generator.rb55 result = block.call
57 result
/ontohub/lib/uri_fetcher/
H A Dhttp_caller.rb34 result = nil
36 make_http_request(URI(uri)) { |r| result = handle_response(r) }
42 result
/ontohub/app/models/repository/
H A Dimporting.rb71 result = git.send(method, *args)
75 update_database_after_fetch(result)
80 result
/ontohub/app/fake_records/
H A Dcombination.rb36 @commit_message ||= commit_message_erb.result(binding)
85 file.write(dol_representation_erb.result(binding))
/ontohub/lib/hets/prove/
H A Dprove_evaluation_helper.rb46 case proof_info[:result]

Completed in 29 milliseconds