micropub-endpoint 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +5 -0
- data/.ruby-version +1 -1
- data/.travis.yml +5 -4
- data/CHANGELOG.md +4 -0
- data/CONTRIBUTING.md +2 -2
- data/README.md +5 -1
- data/lib/micropub/endpoint/version.rb +1 -1
- data/micropub-endpoint.gemspec +19 -7
- metadata +37 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93fc17dcdb4b1909b3e804572145d19548f610bdac2c85674b0b637c831712d1
|
4
|
+
data.tar.gz: 45c89a7a944878ec044b74277fc7c8ddc60987a45db3e962a7f67e4fd4742843
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ecb981c442eb0341a57e39f52d511f01b82c9dd0691cbc14cf3239f98e3d9a0be24065ad9cadd6aeb4e2ef308d401b179ca4a0a3ed8fd53ea7a1a15ef33aa43
|
7
|
+
data.tar.gz: 26498408d9d6cd5741d88dd3190a6dea9af03eeecc591965a1e827b8a30cecbb993fd63952bfb57488aa4394778ed7af5118442c98ddd8c8c2de3609d6ad91cb
|
data/.rubocop.yml
CHANGED
@@ -1,13 +1,18 @@
|
|
1
1
|
require:
|
2
|
+
- rubocop-performance
|
2
3
|
- rubocop-rspec
|
3
4
|
|
4
5
|
Metrics/BlockLength:
|
5
6
|
Exclude:
|
7
|
+
- micropub-endpoint.gemspec
|
6
8
|
- spec/**/*.rb
|
7
9
|
|
8
10
|
Metrics/LineLength:
|
9
11
|
Enabled: false
|
10
12
|
|
13
|
+
Naming/RescuedExceptionsVariableName:
|
14
|
+
PreferredName: error
|
15
|
+
|
11
16
|
Style/Documentation:
|
12
17
|
Enabled: false
|
13
18
|
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.4.
|
1
|
+
2.4.6
|
data/.travis.yml
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.4.
|
4
|
-
- 2.5.
|
5
|
-
- 2.6.
|
3
|
+
- 2.4.6
|
4
|
+
- 2.5.5
|
5
|
+
- 2.6.2
|
6
6
|
cache:
|
7
7
|
- bundler
|
8
8
|
before_install:
|
9
|
-
- gem
|
9
|
+
- gem update --system
|
10
|
+
- gem install bundler
|
10
11
|
before_script:
|
11
12
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
12
13
|
- chmod +x ./cc-test-reporter
|
data/CHANGELOG.md
CHANGED
data/CONTRIBUTING.md
CHANGED
@@ -8,9 +8,9 @@ There are a couple ways you can help improve micropub-endpoint-ruby:
|
|
8
8
|
|
9
9
|
## Getting Started
|
10
10
|
|
11
|
-
micropub-endpoint-ruby is developed using Ruby 2.4.
|
11
|
+
micropub-endpoint-ruby is developed using Ruby 2.4.6 and is additionally tested against Ruby 2.5.5 and 2.6.2 using [Travis CI](https://travis-ci.com/jgarber623/micropub-endpoint-ruby).
|
12
12
|
|
13
|
-
Before making changes to micropub-endpoint-ruby, you'll want to install Ruby 2.4.
|
13
|
+
Before making changes to micropub-endpoint-ruby, you'll want to install Ruby 2.4.6. 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.6 using your method of choice, install the project's gems by running:
|
14
14
|
|
15
15
|
```sh
|
16
16
|
bundle install
|
data/README.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# micropub-endpoint-ruby
|
2
2
|
|
3
|
+
⚠️ **Deprecation Notice (2019-04-24)** ⚠️ This gem is deprecated in favor of [indieweb/indieweb-endpoints-ruby](https://github.com/indieweb/indieweb-endpoints-ruby) and will no longer receive updates.
|
4
|
+
|
5
|
+
---
|
6
|
+
|
3
7
|
**A Ruby gem for discovering a URL's [Micropub](https://indieweb.org/Micropub) endpoint.**
|
4
8
|
|
5
9
|
[![Gem](https://img.shields.io/gem/v/micropub-endpoint.svg?style=for-the-badge)](https://rubygems.org/gems/micropub-endpoint)
|
@@ -18,7 +22,7 @@
|
|
18
22
|
|
19
23
|
Before installing and using micropub-endpoint-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
24
|
|
21
|
-
micropub-endpoint-ruby is developed using Ruby 2.4.
|
25
|
+
micropub-endpoint-ruby is developed using Ruby 2.4.6 and is additionally tested against Ruby 2.5.5 and 2.6.2 using [Travis CI](https://travis-ci.com/jgarber623/micropub-endpoint-ruby).
|
22
26
|
|
23
27
|
## Installation
|
24
28
|
|
data/micropub-endpoint.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.authors = ['Jason Garber']
|
12
12
|
spec.email = ['jason@sixtwothree.org']
|
13
13
|
|
14
|
-
spec.summary = 'Discover a URL’s Micropub endpoint.'
|
14
|
+
spec.summary = 'Deprecated in favor of indieweb-endpoints from 2019-04-24. Discover a URL’s Micropub endpoint.'
|
15
15
|
spec.description = spec.summary
|
16
16
|
spec.homepage = 'https://github.com/jgarber623/micropub-endpoint-ruby'
|
17
17
|
spec.license = 'MIT'
|
@@ -20,17 +20,29 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
|
-
spec.
|
23
|
+
spec.post_install_message = <<NOTICE
|
24
|
+
|
25
|
+
+----------------------------------------------------+
|
26
|
+
| |
|
27
|
+
| micropub-endpoint is deprecated from 2019-04-24. |
|
28
|
+
| |
|
29
|
+
| Please use the indieweb-endpoints gem instead. |
|
30
|
+
| |
|
31
|
+
+----------------------------------------------------+
|
32
|
+
|
33
|
+
NOTICE
|
34
|
+
|
24
35
|
spec.add_development_dependency 'rake', '~> 12.3'
|
25
36
|
spec.add_development_dependency 'rspec', '~> 3.8'
|
26
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
37
|
+
spec.add_development_dependency 'rubocop', '~> 0.67.2'
|
38
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.0'
|
27
39
|
spec.add_development_dependency 'rubocop-rspec', '~> 1.31'
|
28
40
|
spec.add_development_dependency 'simplecov', '~> 0.16.1'
|
29
41
|
spec.add_development_dependency 'simplecov-console', '~> 0.4.2'
|
30
|
-
spec.add_development_dependency 'webmock', '~> 3.
|
42
|
+
spec.add_development_dependency 'webmock', '~> 3.5'
|
31
43
|
|
32
44
|
spec.add_runtime_dependency 'absolutely', '~> 1.1'
|
33
|
-
spec.add_runtime_dependency 'addressable', '~> 2.
|
34
|
-
spec.add_runtime_dependency 'http', '~> 4.
|
35
|
-
spec.add_runtime_dependency 'nokogiri', '~> 1.
|
45
|
+
spec.add_runtime_dependency 'addressable', '~> 2.6'
|
46
|
+
spec.add_runtime_dependency 'http', '~> 4.1'
|
47
|
+
spec.add_runtime_dependency 'nokogiri', '~> 1.10'
|
36
48
|
end
|
metadata
CHANGED
@@ -1,71 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: micropub-endpoint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Garber
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '12.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '12.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3.8'
|
34
34
|
type: :development
|
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: '3.8'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rubocop
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.67.2
|
48
48
|
type: :development
|
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:
|
54
|
+
version: 0.67.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name: rubocop
|
56
|
+
name: rubocop-performance
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '1.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '1.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '3.
|
117
|
+
version: '3.5'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '3.
|
124
|
+
version: '3.5'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: absolutely
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,43 +142,44 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '2.
|
145
|
+
version: '2.6'
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '2.
|
152
|
+
version: '2.6'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: http
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '4.
|
159
|
+
version: '4.1'
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '4.
|
166
|
+
version: '4.1'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: nokogiri
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '1.
|
173
|
+
version: '1.10'
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '1.
|
181
|
-
description:
|
180
|
+
version: '1.10'
|
181
|
+
description: Deprecated in favor of indieweb-endpoints from 2019-04-24. Discover a
|
182
|
+
URL’s Micropub endpoint.
|
182
183
|
email:
|
183
184
|
- jason@sixtwothree.org
|
184
185
|
executables: []
|
@@ -210,7 +211,16 @@ homepage: https://github.com/jgarber623/micropub-endpoint-ruby
|
|
210
211
|
licenses:
|
211
212
|
- MIT
|
212
213
|
metadata: {}
|
213
|
-
post_install_message:
|
214
|
+
post_install_message: |2+
|
215
|
+
|
216
|
+
+----------------------------------------------------+
|
217
|
+
| |
|
218
|
+
| micropub-endpoint is deprecated from 2019-04-24. |
|
219
|
+
| |
|
220
|
+
| Please use the indieweb-endpoints gem instead. |
|
221
|
+
| |
|
222
|
+
+----------------------------------------------------+
|
223
|
+
|
214
224
|
rdoc_options: []
|
215
225
|
require_paths:
|
216
226
|
- lib
|
@@ -228,8 +238,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
238
|
- !ruby/object:Gem::Version
|
229
239
|
version: '0'
|
230
240
|
requirements: []
|
231
|
-
rubygems_version: 3.0.
|
241
|
+
rubygems_version: 3.0.3
|
232
242
|
signing_key:
|
233
243
|
specification_version: 4
|
234
|
-
summary: Discover a URL’s
|
244
|
+
summary: Deprecated in favor of indieweb-endpoints from 2019-04-24. Discover a URL’s
|
245
|
+
Micropub endpoint.
|
235
246
|
test_files: []
|