uri 0.12.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.document +5 -0
- data/.rdoc_options +4 -0
- data/{LICENSE.txt → BSDL} +3 -3
- data/COPYING +56 -0
- data/README.md +2 -1
- data/docs/kernel.rb +2 -0
- data/lib/uri/common.rb +299 -148
- data/lib/uri/file.rb +3 -3
- data/lib/uri/ftp.rb +1 -1
- data/lib/uri/generic.rb +29 -37
- data/lib/uri/http.rb +2 -2
- data/lib/uri/rfc2396_parser.rb +16 -9
- data/lib/uri/rfc3986_parser.rb +121 -34
- data/lib/uri/version.rb +1 -1
- data/lib/uri.rb +9 -9
- metadata +12 -13
- data/.github/dependabot.yml +0 -6
- data/.github/workflows/test.yml +0 -21
- data/.gitignore +0 -9
- data/Gemfile +0 -10
- data/Rakefile +0 -17
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/uri.gemspec +0 -31
data/bin/setup
DELETED
data/uri.gemspec
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require_relative "lib/uri/version"
|
3
|
-
rescue LoadError # Fallback to load version file in ruby core repository
|
4
|
-
require_relative "version"
|
5
|
-
end
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = "uri"
|
9
|
-
spec.version = URI::VERSION
|
10
|
-
spec.authors = ["Akira Yamada"]
|
11
|
-
spec.email = ["akira@ruby-lang.org"]
|
12
|
-
|
13
|
-
spec.summary = %q{URI is a module providing classes to handle Uniform Resource Identifiers}
|
14
|
-
spec.description = spec.summary
|
15
|
-
spec.homepage = "https://github.com/ruby/uri"
|
16
|
-
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
17
|
-
|
18
|
-
spec.required_ruby_version = '>= 2.4'
|
19
|
-
|
20
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
21
|
-
spec.metadata["source_code_uri"] = spec.homepage
|
22
|
-
|
23
|
-
# Specify which files should be added to the gem when it is released.
|
24
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
25
|
-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
26
|
-
`git ls-files -z 2>/dev/null`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
27
|
-
end
|
28
|
-
spec.bindir = "exe"
|
29
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
|
-
spec.require_paths = ["lib"]
|
31
|
-
end
|