Skip to content
Snippets Groups Projects
Commit caca9be6 authored by Bob Van Landuyt's avatar Bob Van Landuyt
Browse files

Merge branch 'support-rails-8-0' into 'master'

Support rails-8-0

See merge request !127
parents 4d5b269e 3cfe2f1d
No related branches found
No related tags found
1 merge request!127Support rails-8-0
Pipeline #1569107639 passed
......@@ -19,13 +19,13 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 2.6.0"
# Please maintain alphabetical order for dependencies
spec.add_runtime_dependency "actionpack", ">= 5.0.0", "< 8.0.0"
spec.add_runtime_dependency "activesupport", ">= 5.0.0", "< 8.0.0"
spec.add_runtime_dependency "actionpack", ">= 5.0.0", "< 8.1.0"
spec.add_runtime_dependency "activesupport", ">= 5.0.0", "< 8.1.0"
spec.add_runtime_dependency "grpc", ">= 1.62" # Be sure to update the "grpc-tools" dev_dependency too
spec.add_runtime_dependency "jaeger-client", "~> 1.1.0"
spec.add_runtime_dependency "opentracing", "~> 0.4"
spec.add_runtime_dependency "pg_query", ">= 4.2.3", "< 6.0"
spec.add_runtime_dependency "redis", ">3.0.0", "<6.0.0"
spec.add_runtime_dependency "redis", "> 3.0.0", "< 6.0.0"
# Please maintain alphabetical order for dev dependencies
spec.add_development_dependency "excon", "~> 0.78.1"
......
......@@ -39,6 +39,14 @@ module Labkit
url = url.to_s.strip
p = URI::DEFAULT_PARSER.parse(url)
# After upgrading uri to 1.0.0, the DEFAULT_PARSER has been changed from rfc2396 to rfc3986,
# and there are the following differences in parsing between rfc2396 and rfc3986.
# e.g:
#
# URI::RFC3986_PARSER.parse('ssh://') => #<URI::Generic ssh://>
# URI::RFC2396_PARSER.parse('ssh://') => raise URI::InvalidURIError
return "" if p.host.empty?
p.password = "*****" if p.password.present?
p.user = "*****" if p.user.present?
p.to_s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment