webmention-endpoint 2.0.0 → 2.0.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
  SHA1:
3
- metadata.gz: f128c7d8a768bf568687aada16dbe1e9a16cccd8
4
- data.tar.gz: d0098d15f6ff9f5602ff4942101faf3770c536ee
3
+ metadata.gz: 5a479a1eb2da76322e169d33dd345ed1f7d42afc
4
+ data.tar.gz: 6b9544863198ff9f1637714c21100ba6677dfc7f
5
5
  SHA512:
6
- metadata.gz: 50b40491e45e6c71198ff81c4b57acbb89e8338c1aee7d474b91c8dddfed996e6d060ad32db5c860c4f7e46abd740ad82cec3ee476456158fbcf47154bdb69c3
7
- data.tar.gz: 0c283b3de0f2f72d0092214b2e9da15c566581209c208fb9fe6ae55c81dde5772336383fc5ebf9d83b7256dca1dbfd0f0969bf4e8a4475ec1b7450c8aa17677b
6
+ metadata.gz: 21b169d719ef4708f02ccc61ec41331b9450a2f59569dfc60587fd3cf2907c0b7e85c46490c80ee2d8407e534efc5deb609b095bb7124d5fa59fbab89b98a50f
7
+ data.tar.gz: 17f552381e53ab3a3c63e86fd18ca3646843e3c2aa09dde66f0a97130db2a0fe08794a33de7a14f94376c88a3100ddc5fd264bc487d4c2643765159a1ed34c15
@@ -3,6 +3,8 @@ rvm:
3
3
  - 2.4.4
4
4
  - 2.5.1
5
5
  cache: bundler
6
+ before_install:
7
+ - gem install bundler
6
8
  before_script:
7
9
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
8
10
  - chmod +x ./cc-test-reporter
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.1 / 2018-11-11
4
+
5
+ - Freeze mutable objects assigned to constants ([018f735](https://github.com/jgarber623/webmention-endpoint-ruby/commit/018f735)).
6
+ - Liberalizes dependency constraints ([1db66fb](https://github.com/jgarber623/webmention-endpoint-ruby/commit/1db66fb)).
7
+
3
8
  ## 2.0.0 / 2018-08-18
4
9
 
5
10
  - Renames `Webmention::Endpoint::Response` class to `Webmention::Endpoint::Request` ([db485f3](https://github.com/jgarber623/webmention-endpoint-ruby/commit/db485f3)).
@@ -7,11 +7,11 @@ module Webmention
7
7
 
8
8
  # Liberal pattern matching a string of text between angle brackets
9
9
  # https://tools.ietf.org/html/rfc5988#section-5.1
10
- REGEXP_TARGET_URI_PATTERN = /^<(.*)>;/
10
+ REGEXP_TARGET_URI_PATTERN = /^<(.*)>;/.freeze
11
11
 
12
12
  # Ultra-orthodox pattern matching Link header `rel` parameter including a `webmention` value
13
13
  # https://www.w3.org/TR/webmention/#sender-discovers-receiver-webmention-endpoint-p-1
14
- REGEXP_WEBMENTION_REL_PATTERN = /(?:;|\s)rel="?(?:#{REGEXP_REG_REL_TYPE_PATTERN}+\s)?webmention(?:\s#{REGEXP_REG_REL_TYPE_PATTERN})?"?/
14
+ REGEXP_WEBMENTION_REL_PATTERN = /(?:;|\s)rel="?(?:#{REGEXP_REG_REL_TYPE_PATTERN}+\s)?webmention(?:\s#{REGEXP_REG_REL_TYPE_PATTERN})?"?/.freeze
15
15
 
16
16
  def initialize(url)
17
17
  raise ArgumentError, "url must be a String (given #{url.class.name})" unless url.is_a?(String)
@@ -1,5 +1,5 @@
1
1
  module Webmention
2
2
  module Endpoint
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '2.0.1'.freeze
4
4
  end
5
5
  end
@@ -20,16 +20,16 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.require_paths = ['lib']
22
22
 
23
- spec.add_development_dependency 'bundler', '~> 1.16', '>= 1.16.2'
24
- spec.add_development_dependency 'rake', '~> 12.3', '>= 12.3.1'
25
- spec.add_development_dependency 'rspec', '~> 3.7'
26
- spec.add_development_dependency 'rubocop', '~> 0.58.1'
27
- spec.add_development_dependency 'rubocop-rspec', '~> 1.27'
23
+ spec.add_development_dependency 'bundler', '~> 1.17'
24
+ spec.add_development_dependency 'rake', '~> 12.3'
25
+ spec.add_development_dependency 'rspec', '~> 3.8'
26
+ spec.add_development_dependency 'rubocop', '~> 0.60.0'
27
+ spec.add_development_dependency 'rubocop-rspec', '~> 1.30'
28
28
  spec.add_development_dependency 'simplecov', '~> 0.16.1'
29
29
  spec.add_development_dependency 'simplecov-console', '~> 0.4.2'
30
30
 
31
31
  spec.add_runtime_dependency 'absolutely', '~> 1.1'
32
- spec.add_runtime_dependency 'addressable', '~> 2.5', '>= 2.5.2'
33
- spec.add_runtime_dependency 'http', '~> 3.3'
34
- spec.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.4'
32
+ spec.add_runtime_dependency 'addressable', '~> 2.5'
33
+ spec.add_runtime_dependency 'http', '~> 4.0'
34
+ spec.add_runtime_dependency 'nokogiri', '~> 1.8'
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webmention-endpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.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: 2018-08-18 00:00:00.000000000 Z
11
+ date: 2018-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 1.16.2
19
+ version: '1.17'
23
20
  type: :development
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '1.16'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 1.16.2
26
+ version: '1.17'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: rake
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -37,9 +31,6 @@ dependencies:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
33
  version: '12.3'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 12.3.1
43
34
  type: :development
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
@@ -47,51 +38,48 @@ dependencies:
47
38
  - - "~>"
48
39
  - !ruby/object:Gem::Version
49
40
  version: '12.3'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 12.3.1
53
41
  - !ruby/object:Gem::Dependency
54
42
  name: rspec
55
43
  requirement: !ruby/object:Gem::Requirement
56
44
  requirements:
57
45
  - - "~>"
58
46
  - !ruby/object:Gem::Version
59
- version: '3.7'
47
+ version: '3.8'
60
48
  type: :development
61
49
  prerelease: false
62
50
  version_requirements: !ruby/object:Gem::Requirement
63
51
  requirements:
64
52
  - - "~>"
65
53
  - !ruby/object:Gem::Version
66
- version: '3.7'
54
+ version: '3.8'
67
55
  - !ruby/object:Gem::Dependency
68
56
  name: rubocop
69
57
  requirement: !ruby/object:Gem::Requirement
70
58
  requirements:
71
59
  - - "~>"
72
60
  - !ruby/object:Gem::Version
73
- version: 0.58.1
61
+ version: 0.60.0
74
62
  type: :development
75
63
  prerelease: false
76
64
  version_requirements: !ruby/object:Gem::Requirement
77
65
  requirements:
78
66
  - - "~>"
79
67
  - !ruby/object:Gem::Version
80
- version: 0.58.1
68
+ version: 0.60.0
81
69
  - !ruby/object:Gem::Dependency
82
70
  name: rubocop-rspec
83
71
  requirement: !ruby/object:Gem::Requirement
84
72
  requirements:
85
73
  - - "~>"
86
74
  - !ruby/object:Gem::Version
87
- version: '1.27'
75
+ version: '1.30'
88
76
  type: :development
89
77
  prerelease: false
90
78
  version_requirements: !ruby/object:Gem::Requirement
91
79
  requirements:
92
80
  - - "~>"
93
81
  - !ruby/object:Gem::Version
94
- version: '1.27'
82
+ version: '1.30'
95
83
  - !ruby/object:Gem::Dependency
96
84
  name: simplecov
97
85
  requirement: !ruby/object:Gem::Requirement
@@ -141,9 +129,6 @@ dependencies:
141
129
  - - "~>"
142
130
  - !ruby/object:Gem::Version
143
131
  version: '2.5'
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- version: 2.5.2
147
132
  type: :runtime
148
133
  prerelease: false
149
134
  version_requirements: !ruby/object:Gem::Requirement
@@ -151,23 +136,20 @@ dependencies:
151
136
  - - "~>"
152
137
  - !ruby/object:Gem::Version
153
138
  version: '2.5'
154
- - - ">="
155
- - !ruby/object:Gem::Version
156
- version: 2.5.2
157
139
  - !ruby/object:Gem::Dependency
158
140
  name: http
159
141
  requirement: !ruby/object:Gem::Requirement
160
142
  requirements:
161
143
  - - "~>"
162
144
  - !ruby/object:Gem::Version
163
- version: '3.3'
145
+ version: '4.0'
164
146
  type: :runtime
165
147
  prerelease: false
166
148
  version_requirements: !ruby/object:Gem::Requirement
167
149
  requirements:
168
150
  - - "~>"
169
151
  - !ruby/object:Gem::Version
170
- version: '3.3'
152
+ version: '4.0'
171
153
  - !ruby/object:Gem::Dependency
172
154
  name: nokogiri
173
155
  requirement: !ruby/object:Gem::Requirement
@@ -175,9 +157,6 @@ dependencies:
175
157
  - - "~>"
176
158
  - !ruby/object:Gem::Version
177
159
  version: '1.8'
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: 1.8.4
181
160
  type: :runtime
182
161
  prerelease: false
183
162
  version_requirements: !ruby/object:Gem::Requirement
@@ -185,9 +164,6 @@ dependencies:
185
164
  - - "~>"
186
165
  - !ruby/object:Gem::Version
187
166
  version: '1.8'
188
- - - ">="
189
- - !ruby/object:Gem::Version
190
- version: 1.8.4
191
167
  description: Discover a URL’s Webmention endpoint.
192
168
  email:
193
169
  - jason@sixtwothree.org