webmention 1.0.2 → 2.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: 4c757e8796a5d3c616772cf36055776e3b4b8d4d8767a22ddbec3866a2073936
4
- data.tar.gz: d748c185ee8d1f8535101b24e8e0b271ef48b52539b2b2dfe9128c9478b9916a
3
+ metadata.gz: b40b0711592d5a14c2d9dc53b638e697ce1278ed3d3a851e559d6eb51752c7d4
4
+ data.tar.gz: 8a5a3f9508a6f071cdcdb7fe5126909678538b20c1bf043110e0e06ea56e75d1
5
5
  SHA512:
6
- metadata.gz: b1ae7e46c6c7587b0ba9ce065e5d28910a1c5b95039b4203052bd29a413b90587b88b4e04fe798f508462205549a62a2c3ee4dbfe914154ad5286a680ff20347
7
- data.tar.gz: 4e3392411bdb28f2bad6af894ca9a88d2cfa8d29d5d2076793682cc815fe290a763b04e9bddc79d31a6d6a3a6461e7ac6a603d6dc8ab97b671616733b6ac4e59
6
+ metadata.gz: 8eb087999adce5389f37333598e1edaee18e96e748b9b11eee41f5bbb1ecc6cb511e0951eeba831df62d210972e296d0d5090adf6e25a3666eb182b503454d7e
7
+ data.tar.gz: ccb4e243d5c050d6e912a47a4a1fa0ee02594211192e81737011db1ded8a88eac4bfd11f32749ffba7dea1b08a50d326ed446d0688bb1ce406095bbbc1f57a58
@@ -1,18 +1,18 @@
1
1
  require:
2
2
  - rubocop-performance
3
3
 
4
- Layout/AlignHash:
4
+ Layout/HashAlignment:
5
5
  EnforcedColonStyle: table
6
6
  EnforcedHashRocketStyle: table
7
7
 
8
+ Layout/LineLength:
9
+ Enabled: false
10
+
8
11
  Metrics/BlockLength:
9
12
  Exclude:
10
13
  - webmention.gemspec
11
14
  - test/**/*
12
15
 
13
- Metrics/LineLength:
14
- Enabled: false
15
-
16
16
  Naming/RescuedExceptionsVariableName:
17
17
  PreferredName: exception
18
18
 
@@ -1 +1 @@
1
- 2.4.7
1
+ 2.4.9
@@ -1,13 +1,11 @@
1
+ dist: bionic
1
2
  language: ruby
2
3
  rvm:
3
4
  - 2.4
4
5
  - 2.5
5
6
  - 2.6
6
- cache:
7
- - bundler
8
- before_install:
9
- - gem update --system
10
- - gem update bundler
7
+ - 2.7
8
+ cache: bundler
11
9
  before_script:
12
10
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
13
11
  - chmod +x ./cc-test-reporter
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0 / 2020-01-25
4
+
5
+ - Add Ruby 2.7 to list of supported Ruby versions (c67ed14)
6
+ - Update absolutely, addressable, http, and indieweb-endpoints version constaints (986d326 and 6ba054f)
7
+ - Update development dependencies (74ac982)
8
+ - Update project Ruby version to 2.4.9 and update documentation (fd61ddf)
9
+
3
10
  ## 1.0.2 / 2019-08-31
4
11
 
5
12
  - Update Addressable and WebMock gems (0b98981)
@@ -8,9 +8,9 @@ There are a couple ways you can help improve webmention-client-ruby:
8
8
 
9
9
  ## Getting Started
10
10
 
11
- webmention-client-ruby is developed using Ruby 2.4.7 and is additionally tested against Ruby 2.5 and 2.6 using [Travis CI](https://travis-ci.org/indieweb/webmention-client-ruby).
11
+ webmention-client-ruby is developed using Ruby 2.4.9 and is additionally tested against Ruby 2.5, 2.6, and 2.7 using [Travis CI](https://travis-ci.org/indieweb/webmention-client-ruby).
12
12
 
13
- Before making changes to webmention-client-ruby, you'll want to install Ruby 2.4.7. 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.7 using your method of choice, install the project's gems by running:
13
+ Before making changes to webmention-client-ruby, you'll want to install Ruby 2.4.9. 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.9 using your method of choice, install the project's gems by running:
14
14
 
15
15
  ```sh
16
16
  bundle install
data/README.md CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  Before installing and using webmention-client-ruby, 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).
20
20
 
21
- webmention-client-ruby is developed using Ruby 2.4.7 and is additionally tested against Ruby 2.5 and 2.6 using [Travis CI](https://travis-ci.org/indieweb/webmention-client-ruby).
21
+ webmention-client-ruby is developed using Ruby 2.4.9 and is additionally tested against Ruby 2.5, 2.6, and 2.7 using [Travis CI](https://travis-ci.org/indieweb/webmention-client-ruby).
22
22
 
23
23
  ## Installation
24
24
 
@@ -2,7 +2,7 @@ module Webmention
2
2
  class HttpRequest
3
3
  # Defaults derived from Webmention specification examples
4
4
  # https://www.w3.org/TR/webmention/#limits-on-get-requests
5
- # rubocop:disable Layout/AlignHash
5
+ # rubocop:disable Layout/HashAlignment
6
6
  HTTP_CLIENT_OPTS = {
7
7
  follow: {
8
8
  max_hops: 20
@@ -16,7 +16,7 @@ module Webmention
16
16
  read_timeout: 5
17
17
  }
18
18
  }.freeze
19
- # rubocop:enable Layout/AlignHash
19
+ # rubocop:enable Layout/HashAlignment
20
20
 
21
21
  class << self
22
22
  def get(uri)
@@ -1,3 +1,3 @@
1
1
  module Webmention
2
- VERSION = '1.0.2'.freeze
2
+ VERSION = '2.0.0'.freeze
3
3
  end
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'webmention/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.required_ruby_version = ['>= 2.4', '< 2.7']
7
+ spec.required_ruby_version = ['>= 2.4', '< 2.8']
8
8
 
9
9
  spec.name = 'webmention'
10
10
  spec.version = Webmention::VERSION
@@ -25,19 +25,19 @@ Gem::Specification.new do |spec|
25
25
  'changelog_uri' => "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
26
26
  }
27
27
 
28
- spec.add_development_dependency 'minitest', '~> 5.11'
29
- spec.add_development_dependency 'minitest-reporters', '~> 1.3'
30
- spec.add_development_dependency 'rake', '~> 12.3'
31
- spec.add_development_dependency 'reek', '~> 5.4'
32
- spec.add_development_dependency 'rubocop', '~> 0.74.0'
33
- spec.add_development_dependency 'rubocop-performance', '~> 1.4'
34
- spec.add_development_dependency 'simplecov', '~> 0.17.0'
35
- spec.add_development_dependency 'simplecov-console', '~> 0.5.0'
36
- spec.add_development_dependency 'webmock', '~> 3.7'
37
-
38
- spec.add_runtime_dependency 'absolutely', '~> 3.0'
28
+ spec.add_development_dependency 'minitest', '~> 5.14'
29
+ spec.add_development_dependency 'minitest-reporters', '~> 1.4'
30
+ spec.add_development_dependency 'rake', '~> 13.0'
31
+ spec.add_development_dependency 'reek', '~> 5.6'
32
+ spec.add_development_dependency 'rubocop', '~> 0.79.0'
33
+ spec.add_development_dependency 'rubocop-performance', '~> 1.5'
34
+ spec.add_development_dependency 'simplecov', '~> 0.17.1'
35
+ spec.add_development_dependency 'simplecov-console', '~> 0.6.0'
36
+ spec.add_development_dependency 'webmock', '~> 3.8'
37
+
38
+ spec.add_runtime_dependency 'absolutely', '~> 3.1'
39
39
  spec.add_runtime_dependency 'addressable', '~> 2.7'
40
- spec.add_runtime_dependency 'http', '~> 5.0.0.pre'
41
- spec.add_runtime_dependency 'indieweb-endpoints', '~> 1.0'
40
+ spec.add_runtime_dependency 'http', '~> 4.3'
41
+ spec.add_runtime_dependency 'indieweb-endpoints', '~> 2.0'
42
42
  spec.add_runtime_dependency 'nokogiri', '~> 1.10'
43
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webmention
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Parecki
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-08-31 00:00:00.000000000 Z
12
+ date: 2020-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -17,140 +17,140 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '5.11'
20
+ version: '5.14'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '5.11'
27
+ version: '5.14'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: minitest-reporters
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '1.3'
34
+ version: '1.4'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '1.3'
41
+ version: '1.4'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '12.3'
48
+ version: '13.0'
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '12.3'
55
+ version: '13.0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: reek
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '5.4'
62
+ version: '5.6'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '5.4'
69
+ version: '5.6'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rubocop
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: 0.74.0
76
+ version: 0.79.0
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: 0.74.0
83
+ version: 0.79.0
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rubocop-performance
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '1.4'
90
+ version: '1.5'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '1.4'
97
+ version: '1.5'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: simplecov
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: 0.17.0
104
+ version: 0.17.1
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: 0.17.0
111
+ version: 0.17.1
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: simplecov-console
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: 0.5.0
118
+ version: 0.6.0
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - "~>"
124
124
  - !ruby/object:Gem::Version
125
- version: 0.5.0
125
+ version: 0.6.0
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: webmock
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - "~>"
131
131
  - !ruby/object:Gem::Version
132
- version: '3.7'
132
+ version: '3.8'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '3.7'
139
+ version: '3.8'
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: absolutely
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '3.0'
146
+ version: '3.1'
147
147
  type: :runtime
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: '3.0'
153
+ version: '3.1'
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: addressable
156
156
  requirement: !ruby/object:Gem::Requirement
@@ -171,28 +171,28 @@ dependencies:
171
171
  requirements:
172
172
  - - "~>"
173
173
  - !ruby/object:Gem::Version
174
- version: 5.0.0.pre
174
+ version: '4.3'
175
175
  type: :runtime
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
179
  - - "~>"
180
180
  - !ruby/object:Gem::Version
181
- version: 5.0.0.pre
181
+ version: '4.3'
182
182
  - !ruby/object:Gem::Dependency
183
183
  name: indieweb-endpoints
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
186
  - - "~>"
187
187
  - !ruby/object:Gem::Version
188
- version: '1.0'
188
+ version: '2.0'
189
189
  type: :runtime
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - "~>"
194
194
  - !ruby/object:Gem::Version
195
- version: '1.0'
195
+ version: '2.0'
196
196
  - !ruby/object:Gem::Dependency
197
197
  name: nokogiri
198
198
  requirement: !ruby/object:Gem::Requirement
@@ -242,7 +242,7 @@ licenses:
242
242
  - Apache-2.0
243
243
  metadata:
244
244
  bug_tracker_uri: https://github.com/indieweb/webmention-client-ruby/issues
245
- changelog_uri: https://github.com/indieweb/webmention-client-ruby/blob/v1.0.2/CHANGELOG.md
245
+ changelog_uri: https://github.com/indieweb/webmention-client-ruby/blob/v2.0.0/CHANGELOG.md
246
246
  post_install_message:
247
247
  rdoc_options: []
248
248
  require_paths:
@@ -254,7 +254,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
254
254
  version: '2.4'
255
255
  - - "<"
256
256
  - !ruby/object:Gem::Version
257
- version: '2.7'
257
+ version: '2.8'
258
258
  required_rubygems_version: !ruby/object:Gem::Requirement
259
259
  requirements:
260
260
  - - ">="