absolutely 4.0.0 → 5.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5371bb5e8e56ff6966a5b629cbb908693030acc7c6c2e091a5e378a42fe3c161
4
- data.tar.gz: 06ddd29f3b17b975f6d6e5f0456a0d6b4f17e5aa6fe21ce24eaac19623007d00
3
+ metadata.gz: e85663b997a813d8f8680809466945d0c729870a2b0a9bd4b75fc99e95967a36
4
+ data.tar.gz: 38a549966120f07d4e8b94662e63d299de7239b7c64050f6a37b37f92a465da2
5
5
  SHA512:
6
- metadata.gz: 26db5cebaef7246e5390bafbe7006a125ad932dfe402a4cd24ee527625da111b34a4c012d412e31284c3c9ceeceacec32cc60056296c0fb5073e2e912f51425d
7
- data.tar.gz: 5ab65c11499651640bd49d259082dc8307b2626c07b47271252d490e910113f5acab0de21067031d6eaea3cce0d938d38192fdea4a8f0e69bb2ee73adb656bb8
6
+ metadata.gz: 44829bf2dd3b9cf289188fbf7e01a5ae97375289fc3cf62d148846af424fe18947f1e715039464483cc4f6100affc29f418ce70a3232ace3c7faf8f5260eb398
7
+ data.tar.gz: 76a06f5464f50388af6ed65290f124da3c6c13aa2c8f07d39a11d460753751c719e82ca22afddf08bd077bf03d1b9190bb6c9c533d1c0bfbc1d2b470d900218b
@@ -1 +1 @@
1
- 2.4.10
1
+ 2.5.8
@@ -1,7 +1,6 @@
1
1
  dist: bionic
2
2
  language: ruby
3
3
  rvm:
4
- - 2.4
5
4
  - 2.5
6
5
  - 2.6
7
6
  - 2.7
@@ -1,5 +1,10 @@
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
+
3
8
  ## 4.0.0 / 2020-05-13
4
9
 
5
10
  - **Breaking Change:** Remove alias from `to_absolute_uri` to `to_abs` (b4df234)
@@ -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.10 and is additionally tested against Ruby 2.5, 2.6, and 2.7 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.10. 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.10 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
@@ -7,8 +7,8 @@ gem 'pry-byebug', '~> 3.9'
7
7
  gem 'rake', '~> 13.0'
8
8
  gem 'reek', '~> 6.0'
9
9
  gem 'rspec', '~> 3.9'
10
- gem 'rubocop', '~> 0.83.0'
11
- gem 'rubocop-performance', '~> 1.5'
12
- gem 'rubocop-rspec', '~> 1.39'
13
- gem 'simplecov', '~> 0.18.5'
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
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.10 and is additionally tested against Ruby 2.5, 2.6, and 2.7 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
 
@@ -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
 
@@ -1,7 +1,7 @@
1
1
  require_relative 'lib/absolutely/version'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
- spec.required_ruby_version = Gem::Requirement.new('>= 2.4', '< 2.8')
4
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 2.8')
5
5
 
6
6
  spec.name = 'absolutely'
7
7
  spec.version = Absolutely::VERSION
@@ -9,8 +9,8 @@ module Absolutely
9
9
  class << self
10
10
  # Convert a relative path to an absolute URI.
11
11
  #
12
- # @param base [String]
13
- # @param relative [String]
12
+ # @param base [String] an absolute URI used to resolve relative path
13
+ # @param relative [String] a relative path
14
14
  # @return [String]
15
15
  #
16
16
  # @example
@@ -22,10 +22,11 @@ module Absolutely
22
22
 
23
23
  # Create an Absolutely::URI from a base URI and a relative path.
24
24
  #
25
- # @param base [String]
26
- # @param relative [String]
25
+ # @param base [String] an absolute URI used to resolve relative path
26
+ # @param relative [String] a relative path
27
27
  # @return [Absolutely::URI]
28
28
  #
29
+ # @example
29
30
  # uri = Absolutely.uri(base: 'https://example.com', relative: '/foo')
30
31
  # puts uri.to_abs
31
32
  # #=> "https://example.com/foo"
@@ -4,8 +4,8 @@ module Absolutely
4
4
 
5
5
  # Create an Absolutely::URI from a base URI and a relative path.
6
6
  #
7
- # @param base [String]
8
- # @param relative [String]
7
+ # @param base [String] an absolute URI used to resolve relative path
8
+ # @param relative [String] a relative path
9
9
  # @raise [Absolutely::ArgumentError]
10
10
  # @raise [Absolutely::InvalidURIError]
11
11
  #
@@ -1,3 +1,3 @@
1
1
  module Absolutely
2
- VERSION = '4.0.0'.freeze
2
+ VERSION = '5.0.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: absolutely
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.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: 2020-05-13 00:00:00.000000000 Z
11
+ date: 2020-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -56,7 +56,7 @@ licenses:
56
56
  - MIT
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/jgarber623/absolutely/issues
59
- changelog_uri: https://github.com/jgarber623/absolutely/blob/v4.0.0/CHANGELOG.md
59
+ changelog_uri: https://github.com/jgarber623/absolutely/blob/v5.0.0/CHANGELOG.md
60
60
  post_install_message:
61
61
  rdoc_options: []
62
62
  require_paths:
@@ -65,7 +65,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '2.4'
68
+ version: '2.5'
69
69
  - - "<"
70
70
  - !ruby/object:Gem::Version
71
71
  version: '2.8'
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.1.3
78
+ rubygems_version: 3.1.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Convert relative paths to absolute URIs.