Searched refs:URI (Results 1 - 25 of 27) sorted by relevance
12
/ontohub/config/initializers/ |
H A D | uri.rb | 1 module URI module 5 !!URI.parse(string) 6 rescue URI::InvalidURIError
|
/ontohub/lib/uri_fetcher/ |
H A D | get_caller.rb | 4 Net::HTTP.get_response(URI(uri), &block)
|
H A D | http_caller.rb | 36 make_http_request(URI(uri)) { |r| result = handle_response(r) }
|
/ontohub/app/models/ |
H A D | metadatum.rb | 12 :with => URI::regexp(Settings.allowed_iri_schemes),
|
H A D | tool.rb | 12 :format => { :with => URI::regexp(Settings.allowed_iri_schemes) }
|
H A D | license_model.rb | 17 with: URI::regexp(Settings.allowed_iri_schemes),
|
H A D | ontology_type.rb | 16 :format => { :with => URI::regexp(Settings.allowed_iri_schemes) }
|
H A D | project.rb | 16 with: URI::regexp(Settings.allowed_iri_schemes),
|
H A D | language.rb | 22 validates_format_of :iri, with: URI::regexp(Settings.allowed_iri_schemes)
|
H A D | logic.rb | 43 validates_format_of :iri, with: URI::regexp(Settings.allowed_iri_schemes)
|
/ontohub/spec/support/ |
H A D | shared_helper.rb | 11 URI(request.uri).host == 'localhost' && 12 URI(request.uri).port == elasticsearch_port.to_i
|
/ontohub/app/models/ontology/ |
H A D | validations.rb | 8 format: {with: URI.regexp(Settings.allowed_iri_schemes)}
|
/ontohub/app/models/ontology_member/symbol/ |
H A D | readability.rb | 13 name_iri = URI.parse(name_is_iri_and_in_text) if name_is_iri_and_in_text 25 text[name][URI.regexp(Settings.allowed_iri_schemes)]
|
/ontohub/config/ |
H A D | puma.rb | 34 uri = URI.parse(@options[:control_url])
|
/ontohub/lib/ |
H A D | uri_fetcher.rb | 9 Net::HTTP.get_response(URI(uri)) do |response|
|
H A D | external_repository.rb | 69 match = URI::regexp(['http','https']).match(iri) 74 elsif URI::regexp(['file']).match(iri)
|
H A D | hets.rb | 19 locid = URI.escape(resource.versioned_locid)
|
/ontohub/spec/ |
H A D | hets_helper.rb | 5 uri1 = URI(request1.uri) 6 uri2 = URI(request2.uri) 16 inner_iri1 = URI.unescape(match1[:escaped_iri]) 17 inner_iri2 = URI.unescape(match2[:escaped_iri]) 19 inner_match1 = URI(inner_iri1).path.match(regexp_ontology_path) 20 inner_match2 = URI(inner_iri2).path.match(regexp_ontology_path)
|
/ontohub/lib/settings_validation_wrapper/ |
H A D | validators.rb | 44 URI(elem) 45 rescue URI::InvalidURIError
|
/ontohub/lib/hets/ |
H A D | caller.rb | 29 URI.parse(api_uri)
|
/ontohub/app/models/ontology_version/ |
H A D | states.rb | 35 msg << out.sub(URI.regexp,"...").sub(/ \/[A-Za-z0-9\/.]*/," ...")
|
/ontohub/spec/support/fixtures_generation/ |
H A D | direct_hets_generator.rb | 31 http_request(method, URI(hets_iri), header, data)
|
/ontohub/features/step_definitions/ |
H A D | processing_ontologies_status_steps.rb | 18 url = URI.parse(current_url)
|
/ontohub/registry/purl/ |
H A D | modifybatchpurls.pl | 28 use URI::Escape;
|
/ontohub/git/lib/ |
H A D | ontohub_net.rb | 48 url = URI.parse(url)
|
Completed in 292 milliseconds
12