webmention-cli 1.0.0 → 1.5.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 -3
- data/.ruby-version +1 -1
- data/.simplecov +2 -0
- data/CHANGELOG.md +23 -1
- data/CONTRIBUTING.md +2 -2
- data/Gemfile +12 -0
- data/README.md +3 -3
- data/lib/webmention/cli/commands/endpoint.rb +1 -1
- data/lib/webmention/cli/version.rb +1 -1
- data/webmention-cli.gemspec +10 -23
- metadata +12 -138
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9d31bf3347d905dc8f057cd324300158ec400fdbf9535578c53c15c1459dbcc
|
4
|
+
data.tar.gz: 40d2958c3709997c6d683fa7b666a1cc5a3b73b8f3d0b0eef8490b58ee6aba75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 625dbca65123e9a1abd7669739cbb16a28475e9d5f77f955840255daaa4b56a4d36e34a233587d215f005c9eb6586061ee9c9a9d5ae12dd85c1b4f03b02d677b
|
7
|
+
data.tar.gz: 51470bb35562080af17f8121de97aa451e83a6f35e00952327b25f51bd782d56ccc9e513ac39e8e27c66e6cf70071ea5f4dc6e70432416e812dfcda92dda504a
|
data/.rubocop.yml
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-performance
|
3
|
+
- rubocop-rake
|
3
4
|
- rubocop-rspec
|
4
5
|
|
5
|
-
|
6
|
-
|
6
|
+
AllCops:
|
7
|
+
NewCops: enable
|
7
8
|
|
8
9
|
Layout/LineLength:
|
9
10
|
Enabled: false
|
10
11
|
|
11
12
|
Metrics/BlockLength:
|
12
13
|
Exclude:
|
13
|
-
- webmention-cli.gemspec
|
14
14
|
- spec/**/*.rb
|
15
15
|
|
16
16
|
Naming/RescuedExceptionsVariableName:
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.5.
|
1
|
+
2.5.8
|
data/.simplecov
CHANGED
@@ -2,9 +2,11 @@ require 'simplecov-console'
|
|
2
2
|
|
3
3
|
formatters = [SimpleCov::Formatter::HTMLFormatter]
|
4
4
|
|
5
|
+
# rubocop:disable Style/IfUnlessModifier
|
5
6
|
if RSpec.configuration.files_to_run.length > 1
|
6
7
|
formatters << SimpleCov::Formatter::Console
|
7
8
|
end
|
9
|
+
# rubocop:enable Style/IfUnlessModifier
|
8
10
|
|
9
11
|
SimpleCov.start do
|
10
12
|
formatter SimpleCov::Formatter::MultiFormatter.new(formatters)
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.5.0 / 2020-08-23
|
4
|
+
|
5
|
+
- Update indieweb-endpoints and webmention dependencies (209a75b)
|
6
|
+
|
7
|
+
## 1.4.0 / 2020-08-23
|
8
|
+
|
9
|
+
- Update indieweb-endpoints and webmention dependencies (32bd719)
|
10
|
+
|
11
|
+
## 1.3.0 / 2020-05-26
|
12
|
+
|
13
|
+
- Update webmention dependency (4540771)
|
14
|
+
|
15
|
+
## 1.2.0 / 2020-05-18
|
16
|
+
|
17
|
+
- Update indieweb-endpoints, webmention, and webmention-verification gems (2ad2f78)
|
18
|
+
- Move development dependencies to Gemfile per current Bundler conventions (434f785)
|
19
|
+
- Update development Ruby version to 2.5.8 (1438a62)
|
20
|
+
|
21
|
+
## 1.1.0 / 2020-04-17
|
22
|
+
|
23
|
+
- Update webmention dependency (21695df)
|
24
|
+
|
3
25
|
## 1.0.0 / 2020-02-08
|
4
26
|
|
5
27
|
- Rewrite gem code
|
@@ -10,7 +32,7 @@
|
|
10
32
|
|
11
33
|
## 0.1.1 / 2019-01-03
|
12
34
|
|
13
|
-
- Expand supported Ruby versions to include 2.6 (8930501
|
35
|
+
- Expand supported Ruby versions to include 2.6 (8930501)
|
14
36
|
|
15
37
|
## 0.1.0 / 2018-08-14
|
16
38
|
|
data/CONTRIBUTING.md
CHANGED
@@ -8,9 +8,9 @@ There are a couple ways you can help improve webmention-cli:
|
|
8
8
|
|
9
9
|
## Getting Started
|
10
10
|
|
11
|
-
webmention-cli is developed using Ruby 2.5.
|
11
|
+
webmention-cli is developed using Ruby 2.5.8 and is additionally tested against Ruby 2.6 and 2.7 using [Travis CI](https://travis-ci.com/jgarber623/webmention-cli).
|
12
12
|
|
13
|
-
Before making changes to webmention-cli, you'll want to install Ruby 2.5.
|
13
|
+
Before making changes to webmention-cli, you'll want to install Ruby 2.5.8. 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.5.8 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,15 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in webmention-cli.gemspec
|
4
4
|
gemspec
|
5
|
+
|
6
|
+
gem 'pry-byebug', '~> 3.9'
|
7
|
+
gem 'rake', '~> 13.0'
|
8
|
+
gem 'reek', '~> 6.0'
|
9
|
+
gem 'rspec', '~> 3.10'
|
10
|
+
gem 'rubocop', '~> 1.6'
|
11
|
+
gem 'rubocop-performance', '~> 1.9'
|
12
|
+
gem 'rubocop-rake', '~> 0.5.1'
|
13
|
+
gem 'rubocop-rspec', '~> 2.1'
|
14
|
+
gem 'simplecov', '~> 0.20.0'
|
15
|
+
gem 'simplecov-console', '~> 0.8.0'
|
16
|
+
gem 'webmock', '~> 3.11'
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
[![Gem](https://img.shields.io/gem/v/webmention-cli.svg?style=for-the-badge)](https://rubygems.org/gems/webmention-cli)
|
6
6
|
[![Downloads](https://img.shields.io/gem/dt/webmention-cli.svg?style=for-the-badge)](https://rubygems.org/gems/webmention-cli)
|
7
|
-
[![Build](https://img.shields.io/travis/com/jgarber623/webmention-cli/
|
7
|
+
[![Build](https://img.shields.io/travis/com/jgarber623/webmention-cli/main.svg?style=for-the-badge)](https://travis-ci.com/jgarber623/webmention-cli)
|
8
8
|
[![Dependencies](https://img.shields.io/depfu/jgarber623/webmention-cli.svg?style=for-the-badge)](https://depfu.com/github/jgarber623/webmention-cli)
|
9
9
|
[![Maintainability](https://img.shields.io/codeclimate/maintainability/jgarber623/webmention-cli.svg?style=for-the-badge)](https://codeclimate.com/github/jgarber623/webmention-cli)
|
10
10
|
[![Coverage](https://img.shields.io/codeclimate/c/jgarber623/webmention-cli.svg?style=for-the-badge)](https://codeclimate.com/github/jgarber623/webmention-cli/code)
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
Before installing and using webmention-cli, you'll want to have [Ruby](https://www.ruby-lang.org) 2.5 (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).
|
15
15
|
|
16
|
-
webmention-cli is developed using Ruby 2.5.
|
16
|
+
webmention-cli is developed using Ruby 2.5.8 and is additionally tested against Ruby 2.6 and 2.7 using [Travis CI](https://travis-ci.com/jgarber623/webmention-cli).
|
17
17
|
|
18
18
|
## Installation
|
19
19
|
|
@@ -63,7 +63,7 @@ true
|
|
63
63
|
|
64
64
|
## Contributing
|
65
65
|
|
66
|
-
Interested in helping improve webmention-cli? Awesome! Your help is greatly appreciated. See [CONTRIBUTING.md](https://github.com/jgarber623/webmention-cli/blob/
|
66
|
+
Interested in helping improve webmention-cli? Awesome! Your help is greatly appreciated. See [CONTRIBUTING.md](https://github.com/jgarber623/webmention-cli/blob/main/CONTRIBUTING.md) for details.
|
67
67
|
|
68
68
|
## Acknowledgments
|
69
69
|
|
data/webmention-cli.gemspec
CHANGED
@@ -1,10 +1,7 @@
|
|
1
|
-
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
|
4
|
-
require 'webmention/cli/version'
|
1
|
+
require_relative 'lib/webmention/cli/version'
|
5
2
|
|
6
3
|
Gem::Specification.new do |spec|
|
7
|
-
spec.required_ruby_version =
|
4
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 2.8')
|
8
5
|
|
9
6
|
spec.name = 'webmention-cli'
|
10
7
|
spec.version = Webmention::CLI::VERSION
|
@@ -16,29 +13,19 @@ Gem::Specification.new do |spec|
|
|
16
13
|
spec.homepage = 'https://github.com/jgarber623/webmention-cli'
|
17
14
|
spec.license = 'MIT'
|
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|spec)/}) }
|
18
|
+
end
|
20
19
|
|
21
20
|
spec.bindir = 'exe'
|
22
21
|
spec.executables = ['webmention']
|
23
22
|
spec.require_paths = ['lib']
|
24
23
|
|
25
|
-
spec.metadata = {
|
26
|
-
|
27
|
-
'changelog_uri' => "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
|
28
|
-
}
|
29
|
-
|
30
|
-
spec.add_development_dependency 'rake', '~> 13.0'
|
31
|
-
spec.add_development_dependency 'reek', '~> 5.6'
|
32
|
-
spec.add_development_dependency 'rspec', '~> 3.9'
|
33
|
-
spec.add_development_dependency 'rubocop', '~> 0.79.0'
|
34
|
-
spec.add_development_dependency 'rubocop-performance', '~> 1.5'
|
35
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 1.37'
|
36
|
-
spec.add_development_dependency 'simplecov', '~> 0.18.0'
|
37
|
-
spec.add_development_dependency 'simplecov-console', '~> 0.6.0'
|
38
|
-
spec.add_development_dependency 'webmock', '~> 3.8'
|
24
|
+
spec.metadata['bug_tracker_uri'] = "#{spec.homepage}/issues"
|
25
|
+
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
|
39
26
|
|
40
|
-
spec.add_runtime_dependency 'indieweb-endpoints', '~>
|
27
|
+
spec.add_runtime_dependency 'indieweb-endpoints', '~> 5.0'
|
41
28
|
spec.add_runtime_dependency 'thor', '~> 1.0'
|
42
|
-
spec.add_runtime_dependency 'webmention', '~>
|
43
|
-
spec.add_runtime_dependency 'webmention-verification', '~>
|
29
|
+
spec.add_runtime_dependency 'webmention', '~> 5.0'
|
30
|
+
spec.add_runtime_dependency 'webmention-verification', '~> 4.0'
|
44
31
|
end
|
metadata
CHANGED
@@ -1,155 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webmention-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Garber
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rake
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '13.0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '13.0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: reek
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '5.6'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '5.6'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '3.9'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '3.9'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rubocop
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.79.0
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 0.79.0
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rubocop-performance
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.5'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.5'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rubocop-rspec
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.37'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.37'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: simplecov
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 0.18.0
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 0.18.0
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: simplecov-console
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 0.6.0
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 0.6.0
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: webmock
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '3.8'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '3.8'
|
139
13
|
- !ruby/object:Gem::Dependency
|
140
14
|
name: indieweb-endpoints
|
141
15
|
requirement: !ruby/object:Gem::Requirement
|
142
16
|
requirements:
|
143
17
|
- - "~>"
|
144
18
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
19
|
+
version: '5.0'
|
146
20
|
type: :runtime
|
147
21
|
prerelease: false
|
148
22
|
version_requirements: !ruby/object:Gem::Requirement
|
149
23
|
requirements:
|
150
24
|
- - "~>"
|
151
25
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
26
|
+
version: '5.0'
|
153
27
|
- !ruby/object:Gem::Dependency
|
154
28
|
name: thor
|
155
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,28 +44,28 @@ dependencies:
|
|
170
44
|
requirements:
|
171
45
|
- - "~>"
|
172
46
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
47
|
+
version: '5.0'
|
174
48
|
type: :runtime
|
175
49
|
prerelease: false
|
176
50
|
version_requirements: !ruby/object:Gem::Requirement
|
177
51
|
requirements:
|
178
52
|
- - "~>"
|
179
53
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
54
|
+
version: '5.0'
|
181
55
|
- !ruby/object:Gem::Dependency
|
182
56
|
name: webmention-verification
|
183
57
|
requirement: !ruby/object:Gem::Requirement
|
184
58
|
requirements:
|
185
59
|
- - "~>"
|
186
60
|
- !ruby/object:Gem::Version
|
187
|
-
version: '
|
61
|
+
version: '4.0'
|
188
62
|
type: :runtime
|
189
63
|
prerelease: false
|
190
64
|
version_requirements: !ruby/object:Gem::Requirement
|
191
65
|
requirements:
|
192
66
|
- - "~>"
|
193
67
|
- !ruby/object:Gem::Version
|
194
|
-
version: '
|
68
|
+
version: '4.0'
|
195
69
|
description: A command-line interface for Webmention.
|
196
70
|
email:
|
197
71
|
- jason@sixtwothree.org
|
@@ -229,8 +103,8 @@ licenses:
|
|
229
103
|
- MIT
|
230
104
|
metadata:
|
231
105
|
bug_tracker_uri: https://github.com/jgarber623/webmention-cli/issues
|
232
|
-
changelog_uri: https://github.com/jgarber623/webmention-cli/blob/v1.
|
233
|
-
post_install_message:
|
106
|
+
changelog_uri: https://github.com/jgarber623/webmention-cli/blob/v1.5.0/CHANGELOG.md
|
107
|
+
post_install_message:
|
234
108
|
rdoc_options: []
|
235
109
|
require_paths:
|
236
110
|
- lib
|
@@ -249,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
249
123
|
version: '0'
|
250
124
|
requirements: []
|
251
125
|
rubygems_version: 3.1.2
|
252
|
-
signing_key:
|
126
|
+
signing_key:
|
253
127
|
specification_version: 4
|
254
128
|
summary: A command-line interface for Webmention.
|
255
129
|
test_files: []
|