authorization-endpoint 0.1.4 → 0.1.5
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/.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/authorization-endpoint.gemspec +19 -7
- data/lib/authorization_endpoint/version.rb +1 -1
- metadata +37 -28
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8eb0789b68a434520155eeab0cc6a499fc1965d147a82f48912359dff032b293
|
|
4
|
+
data.tar.gz: 8405161e783186d89ab87d52a512ced46e388e39aae4a027d00b66f7f510e7b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: afe597b30330f23d38703b03257581979e726f4572097b3e7b0077e55863c723e888749798fe6f606b56b01a6482e071f9d0ada7097fe8b910d94a57f0d2738d
|
|
7
|
+
data.tar.gz: e91e954654f3dd0a8bb51ca7d606eebcc9298ac91c9feec992a127a3ad38f89f83714fcd044eb245aac5ef0829a7d0bfe5e2157e9d236fa717e25411bd69ed49
|
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
|
+
- authorization-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 authorization-endpoint-ruby:
|
|
|
8
8
|
|
|
9
9
|
## Getting Started
|
|
10
10
|
|
|
11
|
-
authorization-endpoint-ruby is developed using Ruby 2.4.
|
|
11
|
+
authorization-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/authorization-endpoint-ruby).
|
|
12
12
|
|
|
13
|
-
Before making changes to authorization-endpoint-ruby, you'll want to install Ruby 2.4.
|
|
13
|
+
Before making changes to authorization-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
|
# authorization-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 [authorization endpoint](https://indieweb.org/authorization-endpoint) for use with [Micropub](https://indieweb.org/Micropub) and [IndieAuth](https://indieweb.org/IndieAuth) clients.**
|
|
4
8
|
|
|
5
9
|
[](https://rubygems.org/gems/authorization-endpoint)
|
|
@@ -18,7 +22,7 @@
|
|
|
18
22
|
|
|
19
23
|
Before installing and using authorization-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
|
-
authorization-endpoint-ruby is developed using Ruby 2.4.
|
|
25
|
+
authorization-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/authorization-endpoint-ruby).
|
|
22
26
|
|
|
23
27
|
## Installation
|
|
24
28
|
|
|
@@ -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 authorization endpoint for use with Micropub and IndieAuth clients.'
|
|
14
|
+
spec.summary = 'Deprecated in favor of indieweb-endpoints from 2019-04-24. Discover a URL’s authorization endpoint for use with Micropub and IndieAuth clients.'
|
|
15
15
|
spec.description = spec.summary
|
|
16
16
|
spec.homepage = 'https://github.com/jgarber623/authorization-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
|
+
| authorization-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: authorization-endpoint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
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,44 +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:
|
|
182
|
-
clients.
|
|
180
|
+
version: '1.10'
|
|
181
|
+
description: Deprecated in favor of indieweb-endpoints from 2019-04-24. Discover a
|
|
182
|
+
URL’s authorization endpoint for use with Micropub and IndieAuth clients.
|
|
183
183
|
email:
|
|
184
184
|
- jason@sixtwothree.org
|
|
185
185
|
executables: []
|
|
@@ -211,7 +211,16 @@ homepage: https://github.com/jgarber623/authorization-endpoint-ruby
|
|
|
211
211
|
licenses:
|
|
212
212
|
- MIT
|
|
213
213
|
metadata: {}
|
|
214
|
-
post_install_message:
|
|
214
|
+
post_install_message: |2+
|
|
215
|
+
|
|
216
|
+
+---------------------------------------------------------+
|
|
217
|
+
| |
|
|
218
|
+
| authorization-endpoint is deprecated from 2019-04-24. |
|
|
219
|
+
| |
|
|
220
|
+
| Please use the indieweb-endpoints gem instead. |
|
|
221
|
+
| |
|
|
222
|
+
+---------------------------------------------------------+
|
|
223
|
+
|
|
215
224
|
rdoc_options: []
|
|
216
225
|
require_paths:
|
|
217
226
|
- lib
|
|
@@ -229,9 +238,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
229
238
|
- !ruby/object:Gem::Version
|
|
230
239
|
version: '0'
|
|
231
240
|
requirements: []
|
|
232
|
-
rubygems_version: 3.0.
|
|
241
|
+
rubygems_version: 3.0.3
|
|
233
242
|
signing_key:
|
|
234
243
|
specification_version: 4
|
|
235
|
-
summary:
|
|
236
|
-
clients.
|
|
244
|
+
summary: Deprecated in favor of indieweb-endpoints from 2019-04-24. Discover a URL’s
|
|
245
|
+
authorization endpoint for use with Micropub and IndieAuth clients.
|
|
237
246
|
test_files: []
|