link-header-parser 5.0.1 → 5.1.1

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: c9b629542a562a00905799bef5712836047d11c01164ebd1fa51f9d710741edb
4
- data.tar.gz: 470f3e29a6da3ac405fbf16dddc99a394734d5743717ea53633e8845387dc7ba
3
+ metadata.gz: a576e388888b964a07fa22c8534fdf8020238ff733e96a611f947f469305f31f
4
+ data.tar.gz: c5c874503c7341a8a3a8654f236390d66adfafba6f1a74ec39b4399aec47582a
5
5
  SHA512:
6
- metadata.gz: 779b4826009b1bd94856a17a2789c9cf54f440429543fde806d94ad47ba92c4fec80d981e5d8e60538f94f95ffa5a8e756bd4caff4a46ea6b5b1216ebd1edbfe
7
- data.tar.gz: 489bec068d9c42302bc233339aa37d602ce189ad09e27d8fb2593eeb1cba0e84f4c1b0de8ecbac12b3902bbdc577640c38f5af437b04559c33a5fb930e886c3f
6
+ metadata.gz: cc06ba47889f30fcebb6232aa4e0138b9b679759a7f7e3e9720f492be487d42b42dae801ec00d13fd868a3542ee19c387718f51d3eac3583d3678d92ea00b4ce
7
+ data.tar.gz: 12e378f1aa1877ae5a3979029fdf55b79ba7722ba3854c431dd416c0ec2c108ea62b937477439912036b7b84d948318bb5fe2f2b843b9db0ca69983c6cb535f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.1.1 / 2024-01-01
4
+
5
+ - RuboCop: Style/WordArray (7b5964f)
6
+ - RuboCop: Style/StringLiteralsInInterpolation (152a44c)
7
+ - Add source_code_uri to metadata (207db81)
8
+
9
+ ## 5.1.0 / 2023-12-12
10
+
11
+ - Remove upper Ruby version constraint (#52) (f34716e)
12
+
3
13
  ## 5.0.1 / 2023-12-08
4
14
 
5
15
  - Refactor test suite (7a9a446)
@@ -48,7 +48,7 @@ module LinkHeaderParser
48
48
 
49
49
  # @return [String]
50
50
  def inspect
51
- "#<#{self.class.name}:#{format('%#0x', object_id)} " \
51
+ "#<#{self.class.name}:#{format("%#0x", object_id)} " \
52
52
  "target_uri: #{target_uri.inspect}, " \
53
53
  "relation_types: #{relation_types.inspect}>"
54
54
  end
@@ -19,7 +19,7 @@ module LinkHeaderParser
19
19
 
20
20
  # @return [String]
21
21
  def inspect
22
- "#<#{self.class.name}:#{format('%#0x', object_id)} " \
22
+ "#<#{self.class.name}:#{format("%#0x", object_id)} " \
23
23
  "name: #{name.inspect}, " \
24
24
  "value: #{value.inspect}>"
25
25
  end
@@ -39,7 +39,7 @@ module LinkHeaderParser
39
39
 
40
40
  # @return [String]
41
41
  def inspect
42
- "#<#{self.class.name}:#{format('%#0x', object_id)} " \
42
+ "#<#{self.class.name}:#{format("%#0x", object_id)} " \
43
43
  "headers: #{headers.inspect}, " \
44
44
  "relation_types: #{relation_types.inspect}>"
45
45
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LinkHeaderParser
4
- VERSION = "5.0.1"
4
+ VERSION = "5.1.1"
5
5
  end
@@ -3,7 +3,7 @@
3
3
  require_relative "lib/link_header_parser/version"
4
4
 
5
5
  Gem::Specification.new do |spec|
6
- spec.required_ruby_version = ">= 2.7", "< 4"
6
+ spec.required_ruby_version = ">= 2.7"
7
7
 
8
8
  spec.name = "link-header-parser"
9
9
  spec.version = LinkHeaderParser::VERSION
@@ -16,14 +16,15 @@ Gem::Specification.new do |spec|
16
16
  spec.license = "MIT"
17
17
 
18
18
  spec.files = Dir["lib/**/*"].reject { |f| File.directory?(f) }
19
- spec.files += %w[LICENSE CHANGELOG.md README.md]
20
- spec.files += %w[link-header-parser.gemspec]
19
+ spec.files += ["LICENSE", "CHANGELOG.md", "README.md"]
20
+ spec.files += ["link-header-parser.gemspec"]
21
21
 
22
22
  spec.require_paths = ["lib"]
23
23
 
24
24
  spec.metadata = {
25
25
  "bug_tracker_uri" => "#{spec.homepage}/issues",
26
26
  "changelog_uri" => "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md",
27
- "rubygems_mfa_required" => "true"
27
+ "rubygems_mfa_required" => "true",
28
+ "source_code_uri" => "#{spec.homepage}/tree/v#{spec.version}"
28
29
  }
29
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: link-header-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Garber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-09 00:00:00.000000000 Z
11
+ date: 2024-01-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Parse HTTP Link headers.
14
14
  email:
@@ -31,8 +31,9 @@ licenses:
31
31
  - MIT
32
32
  metadata:
33
33
  bug_tracker_uri: https://github.com/jgarber623/link-header-parser-ruby/issues
34
- changelog_uri: https://github.com/jgarber623/link-header-parser-ruby/blob/v5.0.1/CHANGELOG.md
34
+ changelog_uri: https://github.com/jgarber623/link-header-parser-ruby/blob/v5.1.1/CHANGELOG.md
35
35
  rubygems_mfa_required: 'true'
36
+ source_code_uri: https://github.com/jgarber623/link-header-parser-ruby/tree/v5.1.1
36
37
  post_install_message:
37
38
  rdoc_options: []
38
39
  require_paths:
@@ -42,9 +43,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
42
43
  - - ">="
43
44
  - !ruby/object:Gem::Version
44
45
  version: '2.7'
45
- - - "<"
46
- - !ruby/object:Gem::Version
47
- version: '4'
48
46
  required_rubygems_version: !ruby/object:Gem::Requirement
49
47
  requirements:
50
48
  - - ">="