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

12

/ontohub/config/initializers/
H A Duri.rb1 module URI module
5 !!URI.parse(string)
6 rescue URI::InvalidURIError
/ontohub/lib/uri_fetcher/
H A Dget_caller.rb4 Net::HTTP.get_response(URI(uri), &block)
H A Dhttp_caller.rb36 make_http_request(URI(uri)) { |r| result = handle_response(r) }
/ontohub/app/models/
H A Dmetadatum.rb12 :with => URI::regexp(Settings.allowed_iri_schemes),
H A Dtool.rb12 :format => { :with => URI::regexp(Settings.allowed_iri_schemes) }
H A Dlicense_model.rb17 with: URI::regexp(Settings.allowed_iri_schemes),
H A Dontology_type.rb16 :format => { :with => URI::regexp(Settings.allowed_iri_schemes) }
H A Dproject.rb16 with: URI::regexp(Settings.allowed_iri_schemes),
H A Dlanguage.rb22 validates_format_of :iri, with: URI::regexp(Settings.allowed_iri_schemes)
H A Dlogic.rb43 validates_format_of :iri, with: URI::regexp(Settings.allowed_iri_schemes)
/ontohub/spec/support/
H A Dshared_helper.rb11 URI(request.uri).host == 'localhost' &&
12 URI(request.uri).port == elasticsearch_port.to_i
/ontohub/app/models/ontology/
H A Dvalidations.rb8 format: {with: URI.regexp(Settings.allowed_iri_schemes)}
/ontohub/app/models/ontology_member/symbol/
H A Dreadability.rb13 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 Dpuma.rb34 uri = URI.parse(@options[:control_url])
/ontohub/lib/
H A Duri_fetcher.rb9 Net::HTTP.get_response(URI(uri)) do |response|
H A Dexternal_repository.rb69 match = URI::regexp(['http','https']).match(iri)
74 elsif URI::regexp(['file']).match(iri)
H A Dhets.rb19 locid = URI.escape(resource.versioned_locid)
/ontohub/spec/
H A Dhets_helper.rb5 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 Dvalidators.rb44 URI(elem)
45 rescue URI::InvalidURIError
/ontohub/lib/hets/
H A Dcaller.rb29 URI.parse(api_uri)
/ontohub/app/models/ontology_version/
H A Dstates.rb35 msg << out.sub(URI.regexp,"...").sub(/ \/[A-Za-z0-9\/.]*/," ...")
/ontohub/spec/support/fixtures_generation/
H A Ddirect_hets_generator.rb31 http_request(method, URI(hets_iri), header, data)
/ontohub/features/step_definitions/
H A Dprocessing_ontologies_status_steps.rb18 url = URI.parse(current_url)
/ontohub/registry/purl/
H A Dmodifybatchpurls.pl28 use URI::Escape;
/ontohub/git/lib/
H A Dontohub_net.rb48 url = URI.parse(url)

Completed in 292 milliseconds

12