webmention-verification 4.0.0 → 5.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/CONTRIBUTING.md +3 -3
- data/README.md +8 -11
- data/lib/webmention/verification/client.rb +10 -10
- data/lib/webmention/verification/exceptions.rb +5 -9
- data/lib/webmention/verification/verifiers/base_verifier.rb +1 -4
- data/lib/webmention/verification/version.rb +1 -1
- data/webmention-verification.gemspec +6 -6
- metadata +12 -23
- data/.editorconfig +0 -14
- data/.gitignore +0 -34
- data/.reek.yml +0 -8
- data/.rspec +0 -2
- data/.rubocop +0 -3
- data/.rubocop.yml +0 -31
- data/.ruby-version +0 -1
- data/.simplecov +0 -13
- data/.travis.yml +0 -18
- data/Gemfile +0 -15
- data/Rakefile +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f857c41d6b22400c2fe19dd21a170dd7309d20bb34a6e2c23d6aad50894e44f6
|
4
|
+
data.tar.gz: 938305729f91102b6c7c8d372975e12a0724be00a43313cd1a715affcc9e9fbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b67afd1e2f1397439a465eba1cc9d639c959888e82b64de83fb85273bff2eb0ec0623103377504970a269948e214d5db117a938f7d7eb6d90bc24a991444654
|
7
|
+
data.tar.gz: 000c06f6b3951d487c8b5bbfd7a36e63be5bda7cf1c3d104861814bacd3088830b7e1c439ecb5cf93f4d7fd393bf527f7424fc4c7c8eb9ba15dbf329ac6c4d6d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 5.0.0 / 2021-06-08
|
4
|
+
|
5
|
+
- Add `Webmention::Verification::Client#inspect` method (361c437)
|
6
|
+
- Update [HTTP](https://github.com/httprb/http) gem constraint to ~> 5.0 (4063764)
|
7
|
+
- Simplify exception handling (3f8f12c)
|
8
|
+
- Rename base `WebmentionVerificationError` class to `Error` (2b12338)
|
9
|
+
- Add support for Ruby 3.0 (05baf08)
|
10
|
+
- Update development Ruby version to 2.5.9 (821a488)
|
11
|
+
|
3
12
|
## 4.0.0 / 2020-08-23
|
4
13
|
|
5
14
|
- **Breaking Change:** Update minimum supported Ruby version to 2.5 (096012e)
|
data/CONTRIBUTING.md
CHANGED
@@ -8,9 +8,9 @@ There are a couple ways you can help improve webmention-verification-ruby:
|
|
8
8
|
|
9
9
|
## Getting Started
|
10
10
|
|
11
|
-
webmention-verification-ruby is developed using Ruby 2.5.
|
11
|
+
webmention-verification-ruby is developed using Ruby 2.5.9 and is additionally tested against Ruby 2.6, 2.7, and 3.0 using [CircleCI](https://app.circleci.com/pipelines/github/jgarber623/webmention-verification-ruby).
|
12
12
|
|
13
|
-
Before making changes to webmention-verification-ruby, you'll want to install Ruby 2.5.
|
13
|
+
Before making changes to webmention-verification-ruby, you'll want to install Ruby 2.5.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.5.9 using your method of choice, install the project's gems by running:
|
14
14
|
|
15
15
|
```sh
|
16
16
|
bundle install
|
@@ -22,7 +22,7 @@ bundle install
|
|
22
22
|
1. Install development dependencies as outlined above.
|
23
23
|
1. Create a feature branch for the code changes you're looking to make: `git checkout -b my-new-feature`.
|
24
24
|
1. _Write some code!_
|
25
|
-
1. If your changes would benefit from testing, add the necessary tests and verify everything passes by running `
|
25
|
+
1. If your changes would benefit from testing, add the necessary tests and verify everything passes by running `bin/ci`.
|
26
26
|
1. Commit your changes: `git commit -am 'Add some new feature or fix some issue'`. _(See [this excellent article](https://chris.beams.io/posts/git-commit/) for tips on writing useful Git commit messages.)_
|
27
27
|
1. Push the branch to your fork: `git push -u origin my-new-feature`.
|
28
28
|
1. Create a new [pull request][pulls] and we'll review your changes.
|
data/README.md
CHANGED
@@ -2,12 +2,11 @@
|
|
2
2
|
|
3
3
|
**A Ruby gem for verifying a received [webmention](https://indieweb.org/Webmention).**
|
4
4
|
|
5
|
-
[](https://rubygems.org/gems/webmention-verification)
|
6
|
-
[](https://rubygems.org/gems/webmention-verification)
|
7
|
-
[](https://codeclimate.com/github/jgarber623/webmention-verification-ruby/code)
|
5
|
+
[](https://rubygems.org/gems/webmention-verification)
|
6
|
+
[](https://rubygems.org/gems/webmention-verification)
|
7
|
+
[](https://app.circleci.com/pipelines/github/jgarber623/webmention-verification-ruby)
|
8
|
+
[](https://codeclimate.com/github/jgarber623/webmention-verification-ruby)
|
9
|
+
[](https://codeclimate.com/github/jgarber623/webmention-verification-ruby/code)
|
11
10
|
|
12
11
|
## Key Features
|
13
12
|
|
@@ -18,7 +17,7 @@
|
|
18
17
|
|
19
18
|
Before installing and using webmention-verification-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
19
|
|
21
|
-
webmention-verification-ruby is developed using Ruby 2.5.
|
20
|
+
webmention-verification-ruby is developed using Ruby 2.5.9 and is additionally tested against Ruby 2.6, 2.7, and 3.0 using [CircleCI](https://app.circleci.com/pipelines/github/jgarber623/webmention-verification-ruby).
|
22
21
|
|
23
22
|
## Installation
|
24
23
|
|
@@ -139,7 +138,7 @@ In the example above, `verifier.results` will return an array of HTML elements t
|
|
139
138
|
|
140
139
|
### Exception Handling
|
141
140
|
|
142
|
-
There are several exceptions that may be raised by webmention-verification-ruby's underlying dependencies. These errors are raised as subclasses of `
|
141
|
+
There are several exceptions that may be raised by webmention-verification-ruby's underlying dependencies. These errors are raised as subclasses of `Webmention::Verification::Error` (which itself is a subclass of `StandardError`).
|
143
142
|
|
144
143
|
From [sporkmonger/addressable](https://github.com/sporkmonger/addressable):
|
145
144
|
|
@@ -147,9 +146,7 @@ From [sporkmonger/addressable](https://github.com/sporkmonger/addressable):
|
|
147
146
|
|
148
147
|
From [httprb/http](https://github.com/httprb/http):
|
149
148
|
|
150
|
-
- `Webmention::Verification::
|
151
|
-
- `Webmention::Verification::TimeoutError`
|
152
|
-
- `Webmention::Verification::TooManyRedirectsError`
|
149
|
+
- `Webmention::Verification::HttpError`
|
153
150
|
|
154
151
|
webmention-verification-ruby will also raise a `Webmention::Verification::UnsupportedMimeTypeError` when encountering an `HTTP::Response` instance with an unsupported MIME type.
|
155
152
|
|
@@ -24,25 +24,25 @@ module Webmention
|
|
24
24
|
# @param options [Hash]
|
25
25
|
# @option options [Boolean] :strict (true)
|
26
26
|
def initialize(source, target, **options)
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
@source = source
|
31
|
-
@target = target
|
27
|
+
@source = source.to_str
|
28
|
+
@target = target.to_str
|
32
29
|
@options = options
|
33
30
|
|
34
31
|
raise ArgumentError, 'source must be an absolute URI (e.g. https://example.com/post/100)' unless source_uri.absolute?
|
35
32
|
raise ArgumentError, 'target must be an absolute URI (e.g. https://example.com/post/100)' unless target_uri.absolute?
|
36
33
|
end
|
37
34
|
|
35
|
+
# @return [String]
|
36
|
+
def inspect
|
37
|
+
format(%(#<#{self.class.name}:%#0x source: #{source.inspect} target: #{target.inspect} options: #{@options.inspect}>), object_id)
|
38
|
+
end
|
39
|
+
|
38
40
|
# @return [HTTP::Response]
|
39
41
|
# @raise [Webmention::Verification::ConnectionError, Webmention::Verification::TimeoutError, Webmention::Verification::TooManyRedirectsError]
|
40
42
|
def response
|
41
43
|
@response ||= HTTP.follow.headers(HTTP_CLIENT_HEADERS).timeout(connect: 10, read: 10).get(source_uri)
|
42
|
-
rescue HTTP::
|
43
|
-
|
44
|
-
HTTP::Redirector::TooManyRedirectsError => exception
|
45
|
-
raise Webmention::Verification.const_get(exception.class.name.split('::').last), exception
|
44
|
+
rescue HTTP::Error => exception
|
45
|
+
raise HttpError, exception
|
46
46
|
end
|
47
47
|
|
48
48
|
# @return [Addressable::URI]
|
@@ -66,7 +66,7 @@ module Webmention
|
|
66
66
|
def verified?
|
67
67
|
raise UnsupportedMimeTypeError, "Unsupported MIME Type: #{response.mime_type}" unless verifier_for_mime_type
|
68
68
|
|
69
|
-
verifier_for_mime_type.new(response, target,
|
69
|
+
verifier_for_mime_type.new(response, target, **@options).verified?
|
70
70
|
end
|
71
71
|
|
72
72
|
private
|
@@ -1,17 +1,13 @@
|
|
1
1
|
module Webmention
|
2
2
|
module Verification
|
3
|
-
class
|
3
|
+
class Error < StandardError; end
|
4
4
|
|
5
|
-
class ArgumentError <
|
5
|
+
class ArgumentError < Error; end
|
6
6
|
|
7
|
-
class
|
7
|
+
class HttpError < Error; end
|
8
8
|
|
9
|
-
class InvalidURIError <
|
9
|
+
class InvalidURIError < Error; end
|
10
10
|
|
11
|
-
class
|
12
|
-
|
13
|
-
class TooManyRedirectsError < WebmentionVerificationError; end
|
14
|
-
|
15
|
-
class UnsupportedMimeTypeError < WebmentionVerificationError; end
|
11
|
+
class UnsupportedMimeTypeError < Error; end
|
16
12
|
end
|
17
13
|
end
|
@@ -6,11 +6,8 @@ module Webmention
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def initialize(response, target, **options)
|
9
|
-
raise ArgumentError, "response must be an HTTP::Response (given #{response.class.name})" unless response.is_a?(HTTP::Response)
|
10
|
-
raise ArgumentError, "target must be a String (given #{target.class.name})" unless target.is_a?(String)
|
11
|
-
|
12
9
|
@response = response
|
13
|
-
@target = target
|
10
|
+
@target = target.to_str
|
14
11
|
@options = options
|
15
12
|
|
16
13
|
raise UnsupportedMimeTypeError, "Unsupported MIME Type: #{response.mime_type}" unless self.class.mime_types.include?(response.mime_type)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require_relative 'lib/webmention/verification/version'
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
|
-
spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '<
|
4
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 4')
|
5
5
|
|
6
6
|
spec.name = 'webmention-verification'
|
7
7
|
spec.version = Webmention::Verification::VERSION
|
@@ -13,9 +13,9 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = 'https://github.com/jgarber623/webmention-verification-ruby'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
|
-
spec.files = Dir.
|
17
|
-
|
18
|
-
|
16
|
+
spec.files = Dir['lib/**/*'].reject { |f| File.directory?(f) }
|
17
|
+
spec.files += %w[LICENSE CHANGELOG.md CONTRIBUTING.md README.md]
|
18
|
+
spec.files += %w[webmention-verification.gemspec]
|
19
19
|
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
@@ -23,6 +23,6 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md"
|
24
24
|
|
25
25
|
spec.add_runtime_dependency 'addressable', '~> 2.7'
|
26
|
-
spec.add_runtime_dependency 'http', '~>
|
27
|
-
spec.add_runtime_dependency 'nokogiri', '~> 1.
|
26
|
+
spec.add_runtime_dependency 'http', '~> 5.0'
|
27
|
+
spec.add_runtime_dependency 'nokogiri', '~> 1.11'
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webmention-verification
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Garber
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '5.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '5.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: nokogiri
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.11'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.11'
|
55
55
|
description: Verify a received webmention.
|
56
56
|
email:
|
57
57
|
- jason@sixtwothree.org
|
@@ -59,21 +59,10 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
- ".editorconfig"
|
63
|
-
- ".gitignore"
|
64
|
-
- ".reek.yml"
|
65
|
-
- ".rspec"
|
66
|
-
- ".rubocop"
|
67
|
-
- ".rubocop.yml"
|
68
|
-
- ".ruby-version"
|
69
|
-
- ".simplecov"
|
70
|
-
- ".travis.yml"
|
71
62
|
- CHANGELOG.md
|
72
63
|
- CONTRIBUTING.md
|
73
|
-
- Gemfile
|
74
64
|
- LICENSE
|
75
65
|
- README.md
|
76
|
-
- Rakefile
|
77
66
|
- lib/webmention/verification.rb
|
78
67
|
- lib/webmention/verification/client.rb
|
79
68
|
- lib/webmention/verification/exceptions.rb
|
@@ -89,8 +78,8 @@ licenses:
|
|
89
78
|
- MIT
|
90
79
|
metadata:
|
91
80
|
bug_tracker_uri: https://github.com/jgarber623/webmention-verification-ruby/issues
|
92
|
-
changelog_uri: https://github.com/jgarber623/webmention-verification-ruby/blob/
|
93
|
-
post_install_message:
|
81
|
+
changelog_uri: https://github.com/jgarber623/webmention-verification-ruby/blob/v5.0.0/CHANGELOG.md
|
82
|
+
post_install_message:
|
94
83
|
rdoc_options: []
|
95
84
|
require_paths:
|
96
85
|
- lib
|
@@ -101,15 +90,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
90
|
version: '2.5'
|
102
91
|
- - "<"
|
103
92
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
93
|
+
version: '4'
|
105
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
95
|
requirements:
|
107
96
|
- - ">="
|
108
97
|
- !ruby/object:Gem::Version
|
109
98
|
version: '0'
|
110
99
|
requirements: []
|
111
|
-
rubygems_version: 3.
|
112
|
-
signing_key:
|
100
|
+
rubygems_version: 3.2.16
|
101
|
+
signing_key:
|
113
102
|
specification_version: 4
|
114
103
|
summary: Verify a received webmention.
|
115
104
|
test_files: []
|
data/.editorconfig
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
# EditorConfig is awesome: https://EditorConfig.org
|
2
|
-
root = true
|
3
|
-
|
4
|
-
[*]
|
5
|
-
charset = utf-8
|
6
|
-
end_of_line = lf
|
7
|
-
insert_final_newline = true
|
8
|
-
indent_size = 2
|
9
|
-
indent_style = space
|
10
|
-
trim_trailing_whitespace = true
|
11
|
-
|
12
|
-
[*.md]
|
13
|
-
indent_size = 4
|
14
|
-
indent_style = tab
|
data/.gitignore
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
/.config
|
4
|
-
/coverage/
|
5
|
-
/InstalledFiles
|
6
|
-
/pkg/
|
7
|
-
/spec/reports/
|
8
|
-
/spec/examples.txt
|
9
|
-
/test/tmp/
|
10
|
-
/test/version_tmp/
|
11
|
-
/tmp/
|
12
|
-
|
13
|
-
# Used by dotenv library to load environment variables.
|
14
|
-
# .env
|
15
|
-
|
16
|
-
# Documentation cache and generated files:
|
17
|
-
/.yardoc/
|
18
|
-
/_yardoc/
|
19
|
-
/doc/
|
20
|
-
/rdoc/
|
21
|
-
|
22
|
-
# Environment normalization:
|
23
|
-
/.bundle/
|
24
|
-
/vendor/bundle
|
25
|
-
/lib/bundler/man/
|
26
|
-
|
27
|
-
# for a library or gem, you might want to ignore these files since the code is
|
28
|
-
# intended to run in multiple environments; otherwise, check them in:
|
29
|
-
Gemfile.lock
|
30
|
-
# .ruby-version
|
31
|
-
# .ruby-gemset
|
32
|
-
|
33
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
34
|
-
.rvmrc
|
data/.reek.yml
DELETED
data/.rspec
DELETED
data/.rubocop
DELETED
data/.rubocop.yml
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
require:
|
2
|
-
- rubocop-performance
|
3
|
-
- rubocop-rspec
|
4
|
-
|
5
|
-
AllCops:
|
6
|
-
NewCops: enable
|
7
|
-
|
8
|
-
Layout/HashAlignment:
|
9
|
-
EnforcedColonStyle: table
|
10
|
-
|
11
|
-
Layout/LineLength:
|
12
|
-
Enabled: false
|
13
|
-
|
14
|
-
Metrics/BlockLength:
|
15
|
-
Exclude:
|
16
|
-
- spec/**/*.rb
|
17
|
-
|
18
|
-
Naming/RescuedExceptionsVariableName:
|
19
|
-
PreferredName: exception
|
20
|
-
|
21
|
-
RSpec/NestedGroups:
|
22
|
-
Max: 4
|
23
|
-
|
24
|
-
Style/Documentation:
|
25
|
-
Enabled: false
|
26
|
-
|
27
|
-
Style/FrozenStringLiteralComment:
|
28
|
-
Enabled: false
|
29
|
-
|
30
|
-
Style/SymbolArray:
|
31
|
-
Enabled: false
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.5.8
|
data/.simplecov
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
require 'simplecov-console'
|
2
|
-
|
3
|
-
formatters = [SimpleCov::Formatter::HTMLFormatter]
|
4
|
-
|
5
|
-
# rubocop:disable Style/IfUnlessModifier
|
6
|
-
if RSpec.configuration.files_to_run.length > 1
|
7
|
-
formatters << SimpleCov::Formatter::Console
|
8
|
-
end
|
9
|
-
# rubocop:enable Style/IfUnlessModifier
|
10
|
-
|
11
|
-
SimpleCov.start do
|
12
|
-
formatter SimpleCov::Formatter::MultiFormatter.new(formatters)
|
13
|
-
end
|
data/.travis.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
dist: bionic
|
2
|
-
language: ruby
|
3
|
-
rvm:
|
4
|
-
- 2.5
|
5
|
-
- 2.6
|
6
|
-
- 2.7
|
7
|
-
cache: bundler
|
8
|
-
before_script:
|
9
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
10
|
-
- chmod +x ./cc-test-reporter
|
11
|
-
- ./cc-test-reporter before-build
|
12
|
-
after_script:
|
13
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
14
|
-
notifications:
|
15
|
-
email: false
|
16
|
-
slack:
|
17
|
-
rooms:
|
18
|
-
secure: sZ7DfokMwpZOjZ1jHD4RF58PtNGu+knqrv194+WLmfqV+MVPU38L04EGP1c/Kj7rIOtTQnbkDC10TjJNfl+OcRbUKYT19SBN3OqJJbAe5H46nhvNCfISKG54fEpbEMTcOsljSLcKB6FR3o/RiJUorY2BwS3aMCsf8NDhm08Nnxub5abpFvpgiXCfGSRklxt/dfuJmHB0kt3B8EEH3UzuAeaJoFOiV5RYnCUG0z5GXgHeZqZBs5sxmsmQhrDh5o/Yr0FSd9vcHDLD8EgArw//KyV10cF84NSEWtvPpFCcTnMpcfIuzkN/vgLoIbgYbyhczktCXiySHZDOzYBsCngzLN6DjD+5SdQgrrvtUF/Qsi9JUc6ij1EVHhcZjis7x6kGGtPL35nsM3D0KYwTXzlDIfj/RybQpLCaLL78lrkTiL2OnR1CfKXPwS58+sv0raUJOlWJP50WIL6Fe3J4L+3NWNVfpHdU2SV1cP1/UIs+Pwn4LUOwhSUn+rGsG1UKB/ZDezUMLes9PNclOmDVs8GgT7Lkn2N43mIqVQOyeHrUAVvWiI6M8xOTiAbNGP9sjOj4yJzhOwOToP5Id3ts9GvMoayHd8d8cyECQ9dotNh3VlX73p+Yjkz6rEvo/bsXfzx8gmsl0QQ6P7b4afFRwm1GC+nIofm6BNUS6cfg0xPrmMs=
|
data/Gemfile
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in webmention-verification.gemspec
|
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.89.1'
|
11
|
-
gem 'rubocop-performance', '~> 1.7'
|
12
|
-
gem 'rubocop-rspec', '~> 1.43'
|
13
|
-
gem 'simplecov', '~> 0.19.0'
|
14
|
-
gem 'simplecov-console', '~> 0.7.2'
|
15
|
-
gem 'webmock', '~> 3.8'
|
data/Rakefile
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'bundler/gem_tasks'
|
2
|
-
|
3
|
-
require 'reek/rake/task'
|
4
|
-
require 'rspec/core/rake_task'
|
5
|
-
require 'rubocop/rake_task'
|
6
|
-
|
7
|
-
Reek::Rake::Task.new do |task|
|
8
|
-
task.fail_on_error = false
|
9
|
-
end
|
10
|
-
|
11
|
-
RSpec::Core::RakeTask.new
|
12
|
-
|
13
|
-
RuboCop::RakeTask.new do |task|
|
14
|
-
task.fail_on_error = false
|
15
|
-
end
|
16
|
-
|
17
|
-
task default: [:rubocop, :reek, :spec]
|