webmention 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39599574ee4962a000832e7a47c48fd78d58797181a12a554ca26065b2d860c1
4
- data.tar.gz: aaf047a87adf3b2c171622725aabb9a5f5fc64267a98077c7f2eb8b8e5db0c55
3
+ metadata.gz: fe7be9c5256690feeefb414862b49e7ede87e1aabd63c0f7cb54004fdc9a3412
4
+ data.tar.gz: '078f32d632920db98684c12f3e4fb48048b32801846174848b878c04678a588d'
5
5
  SHA512:
6
- metadata.gz: db45f488f6e2f527b075764ad580817294ac8971248365270102ee244820c04a7f044612eebe6b7ebc52dbc1fe754b7b997e0da01f2a7b9994d4d51a77e92f82
7
- data.tar.gz: 254fe4bda676161657ff674d75a0866f7711dca89d5f7b5f0f961178efbbd9915a3b89ac94497442906b73ee572ababc90fedf3909c85b8e39c2ed53b897689b
6
+ metadata.gz: a9e717f3b4ba98a7cc8e022731fba654dece6c3d55584f0f23a84968e13de0c2df17f642e75852d8ef5d831348d9df954c0d9107b47e9280db73812a642ffaf5
7
+ data.tar.gz: 1af3ed848cfe7e78d7b493da12a3e2e2c9e8269b48d79cfb43c8c73483c45569c6689e6484c4c1d789fc14b6f40194b4a1a4bbe39c6a19eecdbe12e180613e88
@@ -1 +1 @@
1
- 2.4.10
1
+ 2.5.8
@@ -1,7 +1,6 @@
1
1
  dist: bionic
2
2
  language: ruby
3
3
  rvm:
4
- - 2.4
5
4
  - 2.5
6
5
  - 2.6
7
6
  - 2.7
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v4.0.0 / 2020-08-23
4
+
5
+ - **Breaking change:** Update minimum supported Ruby version to 2.5 (b2bc62f)
6
+ - Update indieweb-endpoints to 4.0 (e61588f)
7
+ - Update project Ruby version to 2.5.8 (2a626a6)
8
+
3
9
  ## v3.0.0 / 2020-05-19
4
10
 
5
11
  - Reject "internal" URLs when sending webmentions (#24) (ccc82c8)
@@ -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.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).
11
+ webmention-client-ruby is developed using Ruby 2.5.8 and is additionally tested against Ruby 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.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:
13
+ Before making changes to webmention-client-ruby, 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
@@ -8,8 +8,8 @@ gem 'minitest-reporters', '~> 1.4'
8
8
  gem 'pry-byebug', '~> 3.9'
9
9
  gem 'rake', '~> 13.0'
10
10
  gem 'reek', '~> 6.0'
11
- gem 'rubocop', '~> 0.83.0'
12
- gem 'rubocop-performance', '~> 1.5'
13
- gem 'simplecov', '~> 0.18.5'
11
+ gem 'rubocop', '~> 0.89.1'
12
+ gem 'rubocop-performance', '~> 1.7'
13
+ gem 'simplecov', '~> 0.19.0'
14
14
  gem 'simplecov-console', '~> 0.7.2'
15
15
  gem 'webmock', '~> 3.8'
data/README.md CHANGED
@@ -16,9 +16,9 @@
16
16
 
17
17
  ## Getting Started
18
18
 
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).
19
+ Before installing and using webmention-client-ruby, 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).
20
20
 
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).
21
+ webmention-client-ruby is developed using Ruby 2.5.8 and is additionally tested against Ruby 2.6 and 2.7 using [Travis CI](https://travis-ci.org/indieweb/webmention-client-ruby).
22
22
 
23
23
  ## Installation
24
24
 
@@ -36,7 +36,7 @@ module Webmention
36
36
  # @return [HTTP::Response, nil]
37
37
  # @raise [Webmention::ArgumentError, Webmention::ConnectionError, Webmention::InvalidURIError, Webmention::TimeoutError, Webmention::TooManyRedirectsError]
38
38
  def send_mention(target)
39
- endpoint = IndieWeb::Endpoints.get(target).webmention
39
+ endpoint = IndieWeb::Endpoints.get(target)[:webmention]
40
40
 
41
41
  return unless endpoint
42
42
 
@@ -1,3 +1,3 @@
1
1
  module Webmention
2
- VERSION = '3.0.0'.freeze
2
+ VERSION = '4.0.0'.freeze
3
3
  end
@@ -1,7 +1,7 @@
1
1
  require_relative 'lib/webmention/version'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
- spec.required_ruby_version = Gem::Requirement.new('>= 2.4', '< 2.8')
4
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 2.8')
5
5
 
6
6
  spec.name = 'webmention'
7
7
  spec.version = Webmention::VERSION
@@ -25,6 +25,6 @@ Gem::Specification.new do |spec|
25
25
  spec.add_runtime_dependency 'absolutely', '~> 4.0'
26
26
  spec.add_runtime_dependency 'addressable', '~> 2.7'
27
27
  spec.add_runtime_dependency 'http', '~> 4.4'
28
- spec.add_runtime_dependency 'indieweb-endpoints', '~> 3.0'
28
+ spec.add_runtime_dependency 'indieweb-endpoints', '~> 4.0'
29
29
  spec.add_runtime_dependency 'nokogiri', '~> 1.10'
30
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: 3.0.0
4
+ version: 4.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: 2020-05-19 00:00:00.000000000 Z
12
+ date: 2020-08-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: absolutely
@@ -59,14 +59,14 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '3.0'
62
+ version: '4.0'
63
63
  type: :runtime
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: '3.0'
69
+ version: '4.0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: nokogiri
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -116,7 +116,7 @@ licenses:
116
116
  - Apache-2.0
117
117
  metadata:
118
118
  bug_tracker_uri: https://github.com/indieweb/webmention-client-ruby/issues
119
- changelog_uri: https://github.com/indieweb/webmention-client-ruby/blob/v3.0.0/CHANGELOG.md
119
+ changelog_uri: https://github.com/indieweb/webmention-client-ruby/blob/v4.0.0/CHANGELOG.md
120
120
  post_install_message:
121
121
  rdoc_options: []
122
122
  require_paths:
@@ -125,7 +125,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
125
  requirements:
126
126
  - - ">="
127
127
  - !ruby/object:Gem::Version
128
- version: '2.4'
128
+ version: '2.5'
129
129
  - - "<"
130
130
  - !ruby/object:Gem::Version
131
131
  version: '2.8'
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  - !ruby/object:Gem::Version
136
136
  version: '0'
137
137
  requirements: []
138
- rubygems_version: 3.1.3
138
+ rubygems_version: 3.1.2
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Webmention notification client