webmention 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -6
- data/.ruby-version +1 -1
- data/.simplecov +6 -4
- data/CHANGELOG.md +7 -0
- data/CONTRIBUTING.md +2 -2
- data/Gemfile +11 -0
- data/README.md +1 -1
- data/lib/webmention/version.rb +1 -1
- data/webmention.gemspec +9 -22
- metadata +8 -134
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7e2e981cfe2dea4eec4e8e38fb9d948e14dd9b50c52f7455ca3583fbf4969aa
|
4
|
+
data.tar.gz: 1f9f50af537f60c4fa705690d7553563c54a74ff09c4d653b2a1ab6940b71d47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a45c8cfe715e165a81927e37af2ad020562a6af4c33ad59d15bed148e8a219623ac459dafb70c6ceae4c2cbb56f7e62406790ff1db7a89e8f34400cb6e3ee18
|
7
|
+
data.tar.gz: db933998d46aac3dfdfd28202de070438062e8e7c2f3c18b03a160c97f242c6b926bf24fb81a4804f68360736b60c196825ecc2547fc11751527c5fdb0de0959
|
data/.rubocop.yml
CHANGED
@@ -1,16 +1,17 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-performance
|
3
3
|
|
4
|
+
AllCops:
|
5
|
+
NewCops: enable
|
6
|
+
|
4
7
|
Layout/HashAlignment:
|
5
8
|
EnforcedColonStyle: table
|
6
|
-
EnforcedHashRocketStyle: table
|
7
9
|
|
8
10
|
Layout/LineLength:
|
9
11
|
Enabled: false
|
10
12
|
|
11
13
|
Metrics/BlockLength:
|
12
14
|
Exclude:
|
13
|
-
- webmention.gemspec
|
14
15
|
- test/**/*
|
15
16
|
|
16
17
|
Naming/RescuedExceptionsVariableName:
|
@@ -22,9 +23,5 @@ Style/Documentation:
|
|
22
23
|
Style/FrozenStringLiteralComment:
|
23
24
|
Enabled: false
|
24
25
|
|
25
|
-
Style/SingleLineMethods:
|
26
|
-
Exclude:
|
27
|
-
- test/**/*
|
28
|
-
|
29
26
|
Style/SymbolArray:
|
30
27
|
Enabled: false
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.4.
|
1
|
+
2.4.10
|
data/.simplecov
CHANGED
@@ -3,8 +3,10 @@ require 'simplecov-console'
|
|
3
3
|
SimpleCov.start do
|
4
4
|
add_filter '/test/'
|
5
5
|
|
6
|
-
formatter SimpleCov::Formatter::MultiFormatter.new(
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
formatter SimpleCov::Formatter::MultiFormatter.new(
|
7
|
+
[
|
8
|
+
SimpleCov::Formatter::Console,
|
9
|
+
SimpleCov::Formatter::HTMLFormatter
|
10
|
+
]
|
11
|
+
)
|
10
12
|
end
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 2.2.0 / 2020-05-18
|
4
|
+
|
5
|
+
- Update absolutely and indieweb-endpoints gems (350d2ed)
|
6
|
+
- Add pry-byebug and `bin/console` script (d2c5e03)
|
7
|
+
- Move development dependencies to Gemfile per current Bundler conventions (3a2fc21)
|
8
|
+
- Update development Ruby version to 2.4.10 (4c7d1f7)
|
9
|
+
|
3
10
|
## 2.1.0 / 2020-04-06
|
4
11
|
|
5
12
|
- Refactor `BaseParser` class and remove `Registerable` module (b706229)
|
data/CONTRIBUTING.md
CHANGED
@@ -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.
|
11
|
+
webmention-client-ruby 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.org/indieweb/webmention-client-ruby).
|
12
12
|
|
13
|
-
Before making changes to webmention-client-ruby, you'll want to install Ruby 2.4.
|
13
|
+
Before making changes to webmention-client-ruby, 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:
|
14
14
|
|
15
15
|
```sh
|
16
16
|
bundle install
|
data/Gemfile
CHANGED
@@ -2,3 +2,14 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
# Specify gem's dependencies in webmention.gemspec
|
4
4
|
gemspec
|
5
|
+
|
6
|
+
gem 'minitest', '~> 5.14'
|
7
|
+
gem 'minitest-reporters', '~> 1.4'
|
8
|
+
gem 'pry-byebug', '~> 3.9'
|
9
|
+
gem 'rake', '~> 13.0'
|
10
|
+
gem 'reek', '~> 6.0'
|
11
|
+
gem 'rubocop', '~> 0.83.0'
|
12
|
+
gem 'rubocop-performance', '~> 1.5'
|
13
|
+
gem 'simplecov', '~> 0.18.5'
|
14
|
+
gem 'simplecov-console', '~> 0.7.2'
|
15
|
+
gem 'webmock', '~> 3.8'
|
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.
|
21
|
+
webmention-client-ruby 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.org/indieweb/webmention-client-ruby).
|
22
22
|
|
23
23
|
## Installation
|
24
24
|
|
data/lib/webmention/version.rb
CHANGED
data/webmention.gemspec
CHANGED
@@ -1,10 +1,7 @@
|
|
1
|
-
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
|
4
|
-
require 'webmention/version'
|
1
|
+
require_relative 'lib/webmention/version'
|
5
2
|
|
6
3
|
Gem::Specification.new do |spec|
|
7
|
-
spec.required_ruby_version =
|
4
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.4', '< 2.8')
|
8
5
|
|
9
6
|
spec.name = 'webmention'
|
10
7
|
spec.version = Webmention::VERSION
|
@@ -16,28 +13,18 @@ Gem::Specification.new do |spec|
|
|
16
13
|
spec.homepage = 'https://github.com/indieweb/webmention-client-ruby'
|
17
14
|
spec.license = 'Apache-2.0'
|
18
15
|
|
19
|
-
spec.files =
|
16
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
17
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|test)/}) }
|
18
|
+
end
|
20
19
|
|
21
20
|
spec.require_paths = ['lib']
|
22
21
|
|
23
|
-
spec.metadata = {
|
24
|
-
|
25
|
-
'changelog_uri' => "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
|
26
|
-
}
|
27
|
-
|
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', '~> 6.0'
|
32
|
-
spec.add_development_dependency 'rubocop', '~> 0.81.0'
|
33
|
-
spec.add_development_dependency 'rubocop-performance', '~> 1.5'
|
34
|
-
spec.add_development_dependency 'simplecov', '~> 0.18.5'
|
35
|
-
spec.add_development_dependency 'simplecov-console', '~> 0.7.2'
|
36
|
-
spec.add_development_dependency 'webmock', '~> 3.8'
|
22
|
+
spec.metadata['bug_tracker_uri'] = "#{spec.homepage}/issues"
|
23
|
+
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
|
37
24
|
|
38
|
-
spec.add_runtime_dependency 'absolutely', '~>
|
25
|
+
spec.add_runtime_dependency 'absolutely', '~> 4.0'
|
39
26
|
spec.add_runtime_dependency 'addressable', '~> 2.7'
|
40
27
|
spec.add_runtime_dependency 'http', '~> 4.4'
|
41
|
-
spec.add_runtime_dependency 'indieweb-endpoints', '~>
|
28
|
+
spec.add_runtime_dependency 'indieweb-endpoints', '~> 3.0'
|
42
29
|
spec.add_runtime_dependency 'nokogiri', '~> 1.10'
|
43
30
|
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: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Parecki
|
@@ -9,148 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-05-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: minitest
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - "~>"
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: '5.14'
|
21
|
-
type: :development
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - "~>"
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: '5.14'
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: minitest-reporters
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - "~>"
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '1.4'
|
35
|
-
type: :development
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - "~>"
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '1.4'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: rake
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - "~>"
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '13.0'
|
49
|
-
type: :development
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - "~>"
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '13.0'
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: reek
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '6.0'
|
63
|
-
type: :development
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '6.0'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: rubocop
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - "~>"
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 0.81.0
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: 0.81.0
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: rubocop-performance
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - "~>"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '1.5'
|
91
|
-
type: :development
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - "~>"
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '1.5'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: simplecov
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - "~>"
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 0.18.5
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - "~>"
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: 0.18.5
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: simplecov-console
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - "~>"
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: 0.7.2
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - "~>"
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: 0.7.2
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: webmock
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - "~>"
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '3.8'
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '3.8'
|
140
14
|
- !ruby/object:Gem::Dependency
|
141
15
|
name: absolutely
|
142
16
|
requirement: !ruby/object:Gem::Requirement
|
143
17
|
requirements:
|
144
18
|
- - "~>"
|
145
19
|
- !ruby/object:Gem::Version
|
146
|
-
version: '
|
20
|
+
version: '4.0'
|
147
21
|
type: :runtime
|
148
22
|
prerelease: false
|
149
23
|
version_requirements: !ruby/object:Gem::Requirement
|
150
24
|
requirements:
|
151
25
|
- - "~>"
|
152
26
|
- !ruby/object:Gem::Version
|
153
|
-
version: '
|
27
|
+
version: '4.0'
|
154
28
|
- !ruby/object:Gem::Dependency
|
155
29
|
name: addressable
|
156
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,14 +59,14 @@ dependencies:
|
|
185
59
|
requirements:
|
186
60
|
- - "~>"
|
187
61
|
- !ruby/object:Gem::Version
|
188
|
-
version: '
|
62
|
+
version: '3.0'
|
189
63
|
type: :runtime
|
190
64
|
prerelease: false
|
191
65
|
version_requirements: !ruby/object:Gem::Requirement
|
192
66
|
requirements:
|
193
67
|
- - "~>"
|
194
68
|
- !ruby/object:Gem::Version
|
195
|
-
version: '
|
69
|
+
version: '3.0'
|
196
70
|
- !ruby/object:Gem::Dependency
|
197
71
|
name: nokogiri
|
198
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -243,7 +117,7 @@ licenses:
|
|
243
117
|
- Apache-2.0
|
244
118
|
metadata:
|
245
119
|
bug_tracker_uri: https://github.com/indieweb/webmention-client-ruby/issues
|
246
|
-
changelog_uri: https://github.com/indieweb/webmention-client-ruby/blob/v2.
|
120
|
+
changelog_uri: https://github.com/indieweb/webmention-client-ruby/blob/v2.2.0/CHANGELOG.md
|
247
121
|
post_install_message:
|
248
122
|
rdoc_options: []
|
249
123
|
require_paths:
|
@@ -262,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
136
|
- !ruby/object:Gem::Version
|
263
137
|
version: '0'
|
264
138
|
requirements: []
|
265
|
-
rubygems_version: 3.1.
|
139
|
+
rubygems_version: 3.1.3
|
266
140
|
signing_key:
|
267
141
|
specification_version: 4
|
268
142
|
summary: Webmention notification client
|