webmention-cli 1.1.0 → 1.2.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: ff97d50da8788278a62272d4175ba197d6ea029e9da214352d599149eedba62d
4
- data.tar.gz: a52c2221e30c21074aa89e8a3c18269fdc37996c71f13bf52d89cbf1f660cdfa
3
+ metadata.gz: e6e287f5f491191ac916d82b975a8bedd241d9485ab33146f2c1b5dcedb42671
4
+ data.tar.gz: c28b9e654cd0bd7b13ae6b555757df88c0c41a0694be5d33602473779d87fc25
5
5
  SHA512:
6
- metadata.gz: 6cbf1e1f906d9c2210d9dad2c30523b59f4077242f0b6bfd0a74768ee3742fc586102850a470b192002c6b28523cf3261b9e6dab5554b55dbde3bde5383c54d6
7
- data.tar.gz: 5a19d91d28678ba0c5b0c36896484c222c495d59b3081df83cb2c5677b68e56794164997f8ee62015310810df71ae4af1c75a3ef65d56ca7cf114e3f9d3ff049
6
+ metadata.gz: 30b6de8c3d274ba5d4d1058a6cef8af94126c5c8c989a29dbd259fc073827603a557a8913c7e8dd44bc71e5fa49f6375b2e652738e98984c256bf1da2f981af4
7
+ data.tar.gz: ee8352a97a8f6725a3d8e61efada3a9f8b244b6540c44be508be74937856718ec2495e63d6d398c6942cf60ef6b917a8e03722240d22901334e744c3c6260bbc
@@ -2,15 +2,14 @@ require:
2
2
  - rubocop-performance
3
3
  - rubocop-rspec
4
4
 
5
- Layout/HashAlignment:
6
- EnforcedHashRocketStyle: table
5
+ AllCops:
6
+ NewCops: enable
7
7
 
8
8
  Layout/LineLength:
9
9
  Enabled: false
10
10
 
11
11
  Metrics/BlockLength:
12
12
  Exclude:
13
- - webmention-cli.gemspec
14
13
  - spec/**/*.rb
15
14
 
16
15
  Naming/RescuedExceptionsVariableName:
@@ -1 +1 @@
1
- 2.5.7
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)
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.0 / 2020-05/18
4
+
5
+ - Update indieweb-endpoints, webmention, and webmention-verification gems (2ad2f78)
6
+ - Move development dependencies to Gemfile per current Bundler conventions (434f785)
7
+ - Update development Ruby version to 2.5.8 (1438a62)
8
+
3
9
  ## 1.1.0 / 2020-04-17
4
10
 
5
11
  - Update webmention dependency (21695df)
@@ -14,7 +20,7 @@
14
20
 
15
21
  ## 0.1.1 / 2019-01-03
16
22
 
17
- - Expand supported Ruby versions to include 2.6 (8930501
23
+ - Expand supported Ruby versions to include 2.6 (8930501)
18
24
 
19
25
  ## 0.1.0 / 2018-08-14
20
26
 
@@ -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.7 and is additionally tested against Ruby 2.6 and 2.7 using [Travis CI](https://travis-ci.com/jgarber623/webmention-cli).
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.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.5.7 using your method of choice, install the project's gems by running:
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,14 @@ 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.9'
10
+ gem 'rubocop', '~> 0.83.0'
11
+ gem 'rubocop-performance', '~> 1.5'
12
+ gem 'rubocop-rspec', '~> 1.39'
13
+ gem 'simplecov', '~> 0.18.5'
14
+ gem 'simplecov-console', '~> 0.7.2'
15
+ gem 'webmock', '~> 3.8'
data/README.md CHANGED
@@ -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.7 and is additionally tested against Ruby 2.6 and 2.7 using [Travis CI](https://travis-ci.com/jgarber623/webmention-cli).
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
 
@@ -1,5 +1,5 @@
1
1
  module Webmention
2
2
  module CLI
3
- VERSION = '1.1.0'.freeze
3
+ VERSION = '1.2.0'.freeze
4
4
  end
5
5
  end
@@ -1,10 +1,7 @@
1
- lib = File.expand_path('lib', __dir__)
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 = ['>= 2.5', '< 2.8']
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 = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|spec)/}) }
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
- 'bug_tracker_uri' => "#{spec.homepage}/issues",
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', '~> 6.0'
32
- spec.add_development_dependency 'rspec', '~> 3.9'
33
- spec.add_development_dependency 'rubocop', '~> 0.82.0'
34
- spec.add_development_dependency 'rubocop-performance', '~> 1.5'
35
- spec.add_development_dependency 'rubocop-rspec', '~> 1.38'
36
- spec.add_development_dependency 'simplecov', '~> 0.18.5'
37
- spec.add_development_dependency 'simplecov-console', '~> 0.7.2'
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', '~> 2.0'
27
+ spec.add_runtime_dependency 'indieweb-endpoints', '~> 3.0'
41
28
  spec.add_runtime_dependency 'thor', '~> 1.0'
42
- spec.add_runtime_dependency 'webmention', '~> 2.1'
43
- spec.add_runtime_dependency 'webmention-verification', '~> 2.0'
29
+ spec.add_runtime_dependency 'webmention', '~> 2.2'
30
+ spec.add_runtime_dependency 'webmention-verification', '~> 3.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.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Garber
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-17 00:00:00.000000000 Z
11
+ date: 2020-05-18 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: '6.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '6.0'
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.82.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.82.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.38'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '1.38'
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.5
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.5
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.7.2
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: 0.7.2
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: '2.0'
19
+ version: '3.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: '2.0'
26
+ version: '3.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: '2.1'
47
+ version: '2.2'
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: '2.1'
54
+ version: '2.2'
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: '2.0'
61
+ version: '3.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: '2.0'
68
+ version: '3.0'
195
69
  description: A command-line interface for Webmention.
196
70
  email:
197
71
  - jason@sixtwothree.org
@@ -229,7 +103,7 @@ 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.1.0/CHANGELOG.md
106
+ changelog_uri: https://github.com/jgarber623/webmention-cli/blob/v1.2.0/CHANGELOG.md
233
107
  post_install_message:
234
108
  rdoc_options: []
235
109
  require_paths: