http_header_link 0.1.2 → 0.2.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: e867bd978028405d356dd834248d7f7fcadf78e7caf6e668da2b6ed517e71624
4
- data.tar.gz: dd1f43402be3a14f5275093737118018913af44f3ab30b0695aa0e71aecb23c1
3
+ metadata.gz: 0e7adb5fdc401920afaa81136fc0624c8130cc4fc44eeb119f89bdd3d0b7205d
4
+ data.tar.gz: 4630c33f81357358d08049a94cd822880d0c6dcca5da9ba190bb7ebc50008564
5
5
  SHA512:
6
- metadata.gz: 68ac72d5939c710c984de4c0e69f57aa3102203856bb83eb31bbb69f17fca489c651ce35a85fef9b54dd1a05ee49e8b283d2e562c06939096f95a6a66f2143ae
7
- data.tar.gz: d0566b0c8d4c758414abf355a424d290ed575637d259f3e0a36b98f9ed4e5243886033af113498818ead2334e1d2f76d14376394e0bdd9924e4b8c3727194365
6
+ metadata.gz: 1b2840a4b9718ecb02ed0acac9b9834e428e63cd319864fa553351c5f22e515212de132d8098a21b5c2df8f9e3af46a86c6ae159398b0bcbbd94f30bdd4672e1
7
+ data.tar.gz: 3bd6ce1323db73645f18067b661cbc1c97f1908cca658dca22b371dc40a19b542c5b1e9711f57370ebb8c9a67f1e6d815fc7eb0ae4ad777f5ae2b2b77f6750b3
data/.travis.yml CHANGED
@@ -3,6 +3,7 @@ language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
5
  - 2.7.0
6
- before_install: gem install bundler -v 2.1.4
6
+ - 3.0.0
7
+ before_install: gem install bundler
7
8
  script:
8
9
  - bundle exec rspec
data/README.md CHANGED
@@ -7,7 +7,7 @@ The library handling the Link header, written in Ruby.
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'http_header_link', git: 'git@github.com:sainu/http_header_link.git', branch: 'master'
10
+ gem 'http_header_link'
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -8,12 +8,12 @@ Gem::Specification.new do |spec|
8
8
 
9
9
  spec.summary = %q{The library handling the Link header, written in Ruby.}
10
10
  spec.description = %q{The library handling the Link header, written in Ruby.}
11
- spec.homepage = "https://github.com/sainuio/http_header_link/"
11
+ spec.homepage = "https://github.com/sainu/http_header_link/"
12
12
  spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
13
13
 
14
14
  spec.metadata["homepage_uri"] = spec.homepage
15
- spec.metadata["source_code_uri"] = "https://github.com/sainuio/http_header_link/"
16
- spec.metadata["changelog_uri"] = "https://github.com/sainuio/http_header_link/blob/master/CHANGELOG.md"
15
+ spec.metadata["source_code_uri"] = "https://github.com/sainu/http_header_link/"
16
+ spec.metadata["changelog_uri"] = "https://github.com/sainu/http_header_link/tags"
17
17
 
18
18
  # Specify which files should be added to the gem when it is released.
19
19
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -49,7 +49,7 @@ module HttpHeaderLink
49
49
  # @option options [String] :media
50
50
  # @option options [String] :type
51
51
  def add_link(url, **options)
52
- links << Link.new(url, options)
52
+ links << Link.new(url, **options)
53
53
  end
54
54
 
55
55
  # @return [Boolean]
@@ -1,3 +1,3 @@
1
1
  module HttpHeaderLink
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_header_link
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sainu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-18 00:00:00.000000000 Z
11
+ date: 2022-07-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The library handling the Link header, written in Ruby.
14
14
  email:
@@ -30,12 +30,12 @@ files:
30
30
  - lib/http_header_link/link.rb
31
31
  - lib/http_header_link/link_header.rb
32
32
  - lib/http_header_link/version.rb
33
- homepage: https://github.com/sainuio/http_header_link/
33
+ homepage: https://github.com/sainu/http_header_link/
34
34
  licenses: []
35
35
  metadata:
36
- homepage_uri: https://github.com/sainuio/http_header_link/
37
- source_code_uri: https://github.com/sainuio/http_header_link/
38
- changelog_uri: https://github.com/sainuio/http_header_link/blob/master/CHANGELOG.md
36
+ homepage_uri: https://github.com/sainu/http_header_link/
37
+ source_code_uri: https://github.com/sainu/http_header_link/
38
+ changelog_uri: https://github.com/sainu/http_header_link/tags
39
39
  post_install_message:
40
40
  rdoc_options: []
41
41
  require_paths: