absolutely 2.1.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7795781f33ec7faa95aaf0613898d77b0b154bd32afd497a98e35bd2911557ac
4
- data.tar.gz: aeccbc8532f4eb04ecc9ca3cf55f00a674de774bc6d4a19c00cf278f5d79d973
3
+ metadata.gz: e85663b997a813d8f8680809466945d0c729870a2b0a9bd4b75fc99e95967a36
4
+ data.tar.gz: 38a549966120f07d4e8b94662e63d299de7239b7c64050f6a37b37f92a465da2
5
5
  SHA512:
6
- metadata.gz: 560912d16ae79115377345d95351304f019c501da26891e327fa7472e681aedd57441129865b9e851c25c2a1337bb6746b573fa035109437746e2bb4d6fdb00a
7
- data.tar.gz: c65f10379621cc39973d34b39d58b76fc036d07fbc3aac346ac1d5b3d64732d2fe93c41e8b8a976e962d1f26d52b49d1e4569319cd47cafad45850b3f50e8836
6
+ metadata.gz: 44829bf2dd3b9cf289188fbf7e01a5ae97375289fc3cf62d148846af424fe18947f1e715039464483cc4f6100affc29f418ce70a3232ace3c7faf8f5260eb398
7
+ data.tar.gz: 76a06f5464f50388af6ed65290f124da3c6c13aa2c8f07d39a11d460753751c719e82ca22afddf08bd077bf03d1b9190bb6c9c533d1c0bfbc1d2b470d900218b
data/.reek.yml CHANGED
@@ -1,9 +1,6 @@
1
1
  detectors:
2
2
  IrresponsibleModule:
3
3
  enabled: false
4
- TooManyStatements:
5
- exclude:
6
- - Absolutely::URI#set_instance_vars
7
4
 
8
5
  exclude_paths:
9
6
  - vendor/
@@ -2,23 +2,19 @@ require:
2
2
  - rubocop-performance
3
3
  - rubocop-rspec
4
4
 
5
- Layout/AlignHash:
6
- EnforcedColonStyle: table
7
- EnforcedHashRocketStyle: table
5
+ AllCops:
6
+ NewCops: enable
7
+
8
+ Layout/LineLength:
9
+ Enabled: false
8
10
 
9
11
  Metrics/BlockLength:
10
12
  Exclude:
11
13
  - spec/**/*.rb
12
14
 
13
- Metrics/LineLength:
14
- Enabled: false
15
-
16
15
  Naming/RescuedExceptionsVariableName:
17
16
  PreferredName: exception
18
17
 
19
- Style/Alias:
20
- EnforcedStyle: prefer_alias_method
21
-
22
18
  Style/Documentation:
23
19
  Enabled: false
24
20
 
@@ -1 +1 @@
1
- 2.4.6
1
+ 2.5.8
data/.simplecov CHANGED
@@ -2,9 +2,11 @@ require 'simplecov-console'
2
2
 
3
3
  formatters = [SimpleCov::Formatter::HTMLFormatter]
4
4
 
5
+ # rubocop:disable Style/IfUnlessModifier
5
6
  if RSpec.configuration.files_to_run.length > 1
6
7
  formatters << SimpleCov::Formatter::Console
7
8
  end
9
+ # rubocop:enable Style/IfUnlessModifier
8
10
 
9
11
  SimpleCov.start do
10
12
  formatter SimpleCov::Formatter::MultiFormatter.new(formatters)
@@ -1,13 +1,10 @@
1
+ dist: bionic
1
2
  language: ruby
2
3
  rvm:
3
- - 2.4.6
4
- - 2.5.5
5
- - 2.6.3
6
- cache:
7
- - bundler
8
- before_install:
9
- - gem update --system
10
- - gem install bundler
4
+ - 2.5
5
+ - 2.6
6
+ - 2.7
7
+ cache: bundler
11
8
  before_script:
12
9
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
13
10
  - chmod +x ./cc-test-reporter
@@ -1,32 +1,58 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.0.0 / 2020-08-23
4
+
5
+ - **Breaking change:** Update minimum supported Ruby version to 2.5 (866cec3)
6
+ - Update project Ruby version to 2.5.8 (231653b)
7
+
8
+ ## 4.0.0 / 2020-05-13
9
+
10
+ - **Breaking Change:** Remove alias from `to_absolute_uri` to `to_abs` (b4df234)
11
+ - Improve inline documentation and refactor gem code (bb0456e)
12
+ - Move development dependencies to Gemfile per current Bundler convention (3c2f579)
13
+ - Update development Ruby version to 2.4.10 (6c79003)
14
+
15
+ ## 3.1.0 / 2020-01-20
16
+
17
+ - Expand supported Ruby versions to include 2.7 (e0273b5)
18
+
19
+ ## 3.0.1 / 2019-08-31
20
+
21
+ - Update Addressable gem (b257f75)
22
+ - Update project Ruby version to 2.4.9 (a14d29b)
23
+ - Update development dependencies
24
+
25
+ ## 3.0.0 / 2019-05-28
26
+
27
+ - Return normalized `relative_uri` in `to_abs` when `relative_uri` is an absolute URL (81261e9)
28
+
3
29
  ## 2.1.0 / 2019-05-01
4
30
 
5
- - Rename `to_absolute_uri` method to `to_abs` ([d14e33f](https://github.com/jgarber623/absolutely/commit/d14e33f)).
6
- - Add `inspect` instance method to `Absolutely::URI` ([e4e7e5a](https://github.com/jgarber623/absolutely/commit/e4e7e5a)).
31
+ - Rename `to_absolute_uri` method to `to_abs` (d14e33f)
32
+ - Add `inspect` instance method to `Absolutely::URI` (e4e7e5a)
7
33
 
8
34
  ## 2.0.0 / 2019-04-25
9
35
 
10
- - The `URI` class' `base` and `relative` methods are now read-only ([7879f78](https://github.com/jgarber623/absolutely/commit/7879f78)).
11
- - Add Reek and configuration ([fb60f9c](https://github.com/jgarber623/absolutely/commit/fb60f9c)).
36
+ - The `URI` class' `base` and `relative` methods are now read-only (7879f78)
37
+ - Add Reek and configuration (fb60f9c)
12
38
 
13
39
  ## 1.1.2 / 2019-01-03
14
40
 
15
- - Expand supported Ruby versions to include 2.6 ([866d58a](https://github.com/jgarber623/absolutely/commit/866d58a)).
41
+ - Expand supported Ruby versions to include 2.6 (866d58a)
16
42
 
17
43
  ## 1.1.1 / 2018-11-11
18
44
 
19
- - Liberalizes dependency constraints ([e0bc056](https://github.com/jgarber623/absolutely/commit/e0bc056)).
45
+ - Liberalizes dependency constraints (e0bc056)
20
46
 
21
47
  ## 1.1.0 / 2018-07-05
22
48
 
23
- - Sets `base` URI's path to `/` if empty to conform with browser behavior ([b0f657a](https://github.com/jgarber623/absolutely/commit/b0f657a)).
24
- - Adds new tests from the [indieweb/php-mf2 URL test suite](https://github.com/indieweb/php-mf2/blob/master/tests/Mf2/URLTest.php) ([0b6417b](https://github.com/jgarber623/absolutely/commit/0b6417b)).
49
+ - Sets `base` URI's path to `/` if empty to conform with browser behavior (b0f657a)
50
+ - Adds new tests from the [indieweb/php-mf2 URL test suite](https://github.com/indieweb/php-mf2/blob/master/tests/Mf2/URLTest.php) (0b6417b)
25
51
 
26
52
  ## 1.0.0 / 2018-07-05
27
53
 
28
- - **Breaking Change:** Return value passed as `relative` if `relative` is to determined to be an absolute URI, regardless of the value passed as `base` ([e3996eb](https://github.com/jgarber623/absolutely/commit/e3996eb)).
29
- - Updates documentation to demonstrate new `relative` parameter behavior.
54
+ - **Breaking Change:** Return value passed as `relative` if `relative` is to determined to be an absolute URI, regardless of the value passed as `base` (e3996eb)
55
+ - Updates documentation to demonstrate new `relative` parameter behavior
30
56
 
31
57
  ## 0.1.0 / 2018-07-04
32
58
 
@@ -8,9 +8,9 @@ There are a couple ways you can help improve Absolutely:
8
8
 
9
9
  ## Getting Started
10
10
 
11
- Absolutely is developed using Ruby 2.4.6 and is additionally tested against Ruby 2.5.5 and 2.6.3 using [Travis CI](https://travis-ci.com/jgarber623/absolutely).
11
+ Absolutely is developed using Ruby 2.5.8 and is additionally tested against Ruby 2.6 and 2.7 using [Travis CI](https://travis-ci.com/jgarber623/absolutely).
12
12
 
13
- Before making changes to Absolutely, you'll want to install Ruby 2.4.6. It's recommended that you use a Ruby version managment tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm). Once you've installed Ruby 2.4.6 using your method of choice, install the project's gems by running:
13
+ Before making changes to Absolutely, you'll want to install Ruby 2.5.8. It's recommended that you use a Ruby version managment tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm). Once you've installed Ruby 2.5.8 using your method of choice, install the project's gems by running:
14
14
 
15
15
  ```sh
16
16
  bundle install
data/Gemfile CHANGED
@@ -2,3 +2,13 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in absolutely.gemspec
4
4
  gemspec
5
+
6
+ gem 'pry-byebug', '~> 3.9'
7
+ gem 'rake', '~> 13.0'
8
+ gem 'reek', '~> 6.0'
9
+ gem 'rspec', '~> 3.9'
10
+ gem 'rubocop', '~> 0.89.1'
11
+ gem 'rubocop-performance', '~> 1.7'
12
+ gem 'rubocop-rspec', '~> 1.43'
13
+ gem 'simplecov', '~> 0.19.0'
14
+ gem 'simplecov-console', '~> 0.7.2'
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![Gem](https://img.shields.io/gem/v/absolutely.svg?style=for-the-badge)](https://rubygems.org/gems/absolutely)
6
6
  [![Downloads](https://img.shields.io/gem/dt/absolutely.svg?style=for-the-badge)](https://rubygems.org/gems/absolutely)
7
- [![Build](https://img.shields.io/travis/com/jgarber623/absolutely/master.svg?style=for-the-badge)](https://travis-ci.com/jgarber623/absolutely)
7
+ [![Build](https://img.shields.io/travis/com/jgarber623/absolutely/main.svg?style=for-the-badge)](https://travis-ci.com/jgarber623/absolutely)
8
8
  [![Dependencies](https://img.shields.io/depfu/jgarber623/absolutely.svg?style=for-the-badge)](https://depfu.com/github/jgarber623/absolutely)
9
9
  [![Maintainability](https://img.shields.io/codeclimate/maintainability/jgarber623/absolutely.svg?style=for-the-badge)](https://codeclimate.com/github/jgarber623/absolutely)
10
10
  [![Coverage](https://img.shields.io/codeclimate/c/jgarber623/absolutely.svg?style=for-the-badge)](https://codeclimate.com/github/jgarber623/absolutely/code)
@@ -12,13 +12,13 @@
12
12
  ## Key Features
13
13
 
14
14
  - Uses the [Addressable](https://github.com/sporkmonger/addressable) Ruby gem for improved URI parsing.
15
- - Supports Ruby 2.4 and newer.
15
+ - Supports Ruby 2.5 and newer.
16
16
 
17
17
  ## Getting Started
18
18
 
19
- Before installing and using Absolutely, you'll want to have [Ruby](https://www.ruby-lang.org) 2.4 (or newer) installed. It's recommended that you use a Ruby version managment tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm).
19
+ Before installing and using Absolutely, you'll want to have [Ruby](https://www.ruby-lang.org) 2.5 (or newer) installed. It's recommended that you use a Ruby version managment tool like [rbenv](https://github.com/rbenv/rbenv), [chruby](https://github.com/postmodern/chruby), or [rvm](https://github.com/rvm/rvm).
20
20
 
21
- Absolutely is developed using Ruby 2.4.6 and is additionally tested against Ruby 2.5.5 and 2.6.3 using [Travis CI](https://travis-ci.com/jgarber623/absolutely).
21
+ Absolutely is developed using Ruby 2.5.8 and is additionally tested against Ruby 2.6 and 2.7 using [Travis CI](https://travis-ci.com/jgarber623/absolutely).
22
22
 
23
23
  ## Installation
24
24
 
@@ -67,7 +67,7 @@ Note that if the value passed as `relative` is determined to be an absolute URI,
67
67
  ```ruby
68
68
  require 'absolutely'
69
69
 
70
- uri = Absolute.to_abs(base: 'https://example.com', relative: 'https://example.com/foo')
70
+ uri = Absolutely.to_abs(base: 'https://example.com', relative: 'https://example.com/foo')
71
71
 
72
72
  puts uri # => 'https://example.com/foo'
73
73
  ```
@@ -96,7 +96,7 @@ For convenience, the `base_uri` and `relative_uri` methods return instances of t
96
96
 
97
97
  ## Contributing
98
98
 
99
- Interested in helping improve Absolutely? Awesome! Your help is greatly appreciated. See [CONTRIBUTING.md](https://github.com/jgarber623/absolutely/blob/master/CONTRIBUTING.md) for details.
99
+ Interested in helping improve Absolutely? Awesome! Your help is greatly appreciated. See [CONTRIBUTING.md](https://github.com/jgarber623/absolutely/blob/main/CONTRIBUTING.md) for details.
100
100
 
101
101
  ## Acknowledgments
102
102
 
data/Rakefile CHANGED
@@ -6,6 +6,7 @@ require 'rubocop/rake_task'
6
6
 
7
7
  Reek::Rake::Task.new do |task|
8
8
  task.fail_on_error = false
9
+ task.source_files = FileList['**/*.rb'].exclude('vendor/**/*.rb')
9
10
  end
10
11
 
11
12
  RSpec::Core::RakeTask.new
@@ -1,10 +1,7 @@
1
- lib = File.expand_path('lib', __dir__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
-
4
- require 'absolutely/version'
1
+ require_relative 'lib/absolutely/version'
5
2
 
6
3
  Gem::Specification.new do |spec|
7
- spec.required_ruby_version = ['>= 2.4', '< 2.7']
4
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 2.8')
8
5
 
9
6
  spec.name = 'absolutely'
10
7
  spec.version = Absolutely::VERSION
@@ -16,23 +13,14 @@ Gem::Specification.new do |spec|
16
13
  spec.homepage = 'https://github.com/jgarber623/absolutely'
17
14
  spec.license = 'MIT'
18
15
 
19
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|spec)/}) }
16
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
17
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|spec)/}) }
18
+ end
20
19
 
21
20
  spec.require_paths = ['lib']
22
21
 
23
- spec.metadata = {
24
- 'bug_tracker_uri' => "#{spec.homepage}/issues",
25
- 'changelog_uri' => "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
26
- }
27
-
28
- spec.add_development_dependency 'rake', '~> 12.3'
29
- spec.add_development_dependency 'reek', '~> 5.4'
30
- spec.add_development_dependency 'rspec', '~> 3.8'
31
- spec.add_development_dependency 'rubocop', '~> 0.68.1'
32
- spec.add_development_dependency 'rubocop-performance', '~> 1.1'
33
- spec.add_development_dependency 'rubocop-rspec', '~> 1.32'
34
- spec.add_development_dependency 'simplecov', '~> 0.16.1'
35
- spec.add_development_dependency 'simplecov-console', '~> 0.4.2'
22
+ spec.metadata['bug_tracker_uri'] = "#{spec.homepage}/issues"
23
+ spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
36
24
 
37
- spec.add_runtime_dependency 'addressable', '~> 2.6'
25
+ spec.add_runtime_dependency 'addressable', '~> 2.7'
38
26
  end
@@ -7,11 +7,29 @@ require 'absolutely/uri'
7
7
 
8
8
  module Absolutely
9
9
  class << self
10
+ # Convert a relative path to an absolute URI.
11
+ #
12
+ # @param base [String] an absolute URI used to resolve relative path
13
+ # @param relative [String] a relative path
14
+ # @return [String]
15
+ #
16
+ # @example
17
+ # Absolutely.to_abs(base: 'https://example.com', relative: '/foo')
18
+ # #=> "https://example.com/foo"
10
19
  def to_abs(base:, relative:)
11
20
  uri(base: base, relative: relative).to_abs
12
21
  end
13
- alias_method :to_absolute_uri, :to_abs
14
22
 
23
+ # Create an Absolutely::URI from a base URI and a relative path.
24
+ #
25
+ # @param base [String] an absolute URI used to resolve relative path
26
+ # @param relative [String] a relative path
27
+ # @return [Absolutely::URI]
28
+ #
29
+ # @example
30
+ # uri = Absolutely.uri(base: 'https://example.com', relative: '/foo')
31
+ # puts uri.to_abs
32
+ # #=> "https://example.com/foo"
15
33
  def uri(base:, relative:)
16
34
  URI.new(base: base, relative: relative)
17
35
  end
@@ -1,39 +1,57 @@
1
1
  module Absolutely
2
2
  class URI
3
- attr_reader :base, :base_uri, :relative, :relative_uri
4
-
3
+ attr_reader :base, :relative
4
+
5
+ # Create an Absolutely::URI from a base URI and a relative path.
6
+ #
7
+ # @param base [String] an absolute URI used to resolve relative path
8
+ # @param relative [String] a relative path
9
+ # @raise [Absolutely::ArgumentError]
10
+ # @raise [Absolutely::InvalidURIError]
11
+ #
12
+ # @example
13
+ # uri = Absolutely::URI.new(base: 'https://example.com', relative: '/foo')
14
+ # puts uri.to_abs
15
+ # #=> "https://example.com/foo"
5
16
  def initialize(base:, relative:)
6
17
  raise ArgumentError, "base must be a String (given #{base.class.name})" unless base.is_a?(String)
7
18
  raise ArgumentError, "relative must be a String (given #{relative.class.name})" unless relative.is_a?(String)
8
19
 
9
- set_instance_vars(base, relative)
20
+ @base = base
21
+ @relative = relative
22
+
23
+ base_uri
24
+ relative_uri
10
25
 
11
26
  raise ArgumentError, 'base must be an absolute URL (e.g. https://example.com)' unless base_uri.absolute?
27
+ rescue Addressable::URI::InvalidURIError => exception
28
+ raise InvalidURIError, exception
29
+ end
30
+
31
+ # @return [Addressable::URI]
32
+ def base_uri
33
+ @base_uri ||= Addressable::URI.parse(base)
12
34
  end
13
35
 
36
+ # @return [String]
14
37
  def inspect
15
- format("#<#{self.class.name}:%#0x>", object_id)
38
+ format("#<#{self.class.name}:%#0x base: #{base.inspect}, relative: #{relative.inspect}>", object_id)
39
+ end
40
+
41
+ # @return [Addressable::URI]
42
+ def relative_uri
43
+ @relative_uri ||= Addressable::URI.parse(relative)
16
44
  end
17
45
 
46
+ # Convert a relative path to an absolute URI.
47
+ #
48
+ # @return [String]
18
49
  def to_abs
19
- return relative_uri.to_s if relative_uri.absolute?
50
+ return relative_uri.normalize.to_s if relative_uri.absolute?
20
51
 
21
52
  base_uri.path = base_uri.normalized_path
22
53
 
23
54
  (base_uri + relative_uri).to_s
24
55
  end
25
- alias_method :to_absolute_uri, :to_abs
26
-
27
- private
28
-
29
- def set_instance_vars(base, relative)
30
- @base = base
31
- @relative = relative
32
-
33
- @base_uri = Addressable::URI.parse(base)
34
- @relative_uri = Addressable::URI.parse(relative)
35
- rescue Addressable::URI::InvalidURIError => exception
36
- raise InvalidURIError, exception
37
- end
38
56
  end
39
57
  end
@@ -1,3 +1,3 @@
1
1
  module Absolutely
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '5.0.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,141 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: absolutely
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Garber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-02 00:00:00.000000000 Z
11
+ date: 2020-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rake
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '12.3'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '12.3'
27
- - !ruby/object:Gem::Dependency
28
- name: reek
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '5.4'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '5.4'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '3.8'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3.8'
55
- - !ruby/object:Gem::Dependency
56
- name: rubocop
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 0.68.1
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 0.68.1
69
- - !ruby/object:Gem::Dependency
70
- name: rubocop-performance
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1.1'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '1.1'
83
- - !ruby/object:Gem::Dependency
84
- name: rubocop-rspec
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '1.32'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '1.32'
97
- - !ruby/object:Gem::Dependency
98
- name: simplecov
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: 0.16.1
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: 0.16.1
111
- - !ruby/object:Gem::Dependency
112
- name: simplecov-console
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: 0.4.2
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: 0.4.2
125
13
  - !ruby/object:Gem::Dependency
126
14
  name: addressable
127
15
  requirement: !ruby/object:Gem::Requirement
128
16
  requirements:
129
17
  - - "~>"
130
18
  - !ruby/object:Gem::Version
131
- version: '2.6'
19
+ version: '2.7'
132
20
  type: :runtime
133
21
  prerelease: false
134
22
  version_requirements: !ruby/object:Gem::Requirement
135
23
  requirements:
136
24
  - - "~>"
137
25
  - !ruby/object:Gem::Version
138
- version: '2.6'
26
+ version: '2.7'
139
27
  description: Convert relative paths to absolute URIs.
140
28
  email:
141
29
  - jason@sixtwothree.org
@@ -168,7 +56,7 @@ licenses:
168
56
  - MIT
169
57
  metadata:
170
58
  bug_tracker_uri: https://github.com/jgarber623/absolutely/issues
171
- changelog_uri: https://github.com/jgarber623/absolutely/blob/v2.1.0/CHANGELOG.md
59
+ changelog_uri: https://github.com/jgarber623/absolutely/blob/v5.0.0/CHANGELOG.md
172
60
  post_install_message:
173
61
  rdoc_options: []
174
62
  require_paths:
@@ -177,17 +65,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
65
  requirements:
178
66
  - - ">="
179
67
  - !ruby/object:Gem::Version
180
- version: '2.4'
68
+ version: '2.5'
181
69
  - - "<"
182
70
  - !ruby/object:Gem::Version
183
- version: '2.7'
71
+ version: '2.8'
184
72
  required_rubygems_version: !ruby/object:Gem::Requirement
185
73
  requirements:
186
74
  - - ">="
187
75
  - !ruby/object:Gem::Version
188
76
  version: '0'
189
77
  requirements: []
190
- rubygems_version: 3.0.3
78
+ rubygems_version: 3.1.2
191
79
  signing_key:
192
80
  specification_version: 4
193
81
  summary: Convert relative paths to absolute URIs.