oauth2 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,9 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'faraday', '0.9.2'
4
-
5
3
  group :development do
6
4
  gem 'pry'
7
- end
8
-
9
- group :test do
10
- gem 'rake'
11
- gem 'rspec'
12
- gem 'rspec-pending_for'
13
- gem 'rubocop', '~> 0.53.0'
14
- gem 'rubocop-rspec', '~> 1.24.0'
5
+ gem 'byebug'
6
+ gem 'pry-byebug'
15
7
  end
16
8
 
17
9
  gemspec :path => '../'
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec :path => '../'
@@ -1,6 +1,6 @@
1
1
  module OAuth2
2
2
  module Version
3
- module_function
3
+ module_function
4
4
 
5
5
  # The major version
6
6
  #
@@ -20,7 +20,7 @@ module OAuth2
20
20
  #
21
21
  # @return [Integer]
22
22
  def patch
23
- 1
23
+ 2
24
24
  end
25
25
 
26
26
  # The pre-release version, if any
@@ -35,10 +35,10 @@ module OAuth2
35
35
  # @return [Hash]
36
36
  def to_h
37
37
  {
38
- :major => major,
39
- :minor => minor,
40
- :patch => patch,
41
- :pre => pre,
38
+ :major => major,
39
+ :minor => minor,
40
+ :patch => patch,
41
+ :pre => pre,
42
42
  }
43
43
  end
44
44
 
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'oauth2/version'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
- spec.add_dependency 'faraday', ['>= 0.8', '< 0.16.0']
8
+ spec.add_dependency 'faraday', ['>= 0.8', '< 2.0']
9
9
  spec.add_dependency 'jwt', ['>= 1.0', '< 3.0']
10
10
  spec.add_dependency 'multi_json', '~> 1.3'
11
11
  spec.add_dependency 'multi_xml', '~> 0.5'
@@ -31,10 +31,14 @@ Gem::Specification.new do |spec|
31
31
 
32
32
  spec.add_development_dependency 'addressable', '~> 2.3'
33
33
  spec.add_development_dependency 'backports', '~> 3.11'
34
- spec.add_development_dependency 'bundler', '~> 1.16'
34
+ spec.add_development_dependency 'bundler', '>= 1.16'
35
35
  spec.add_development_dependency 'coveralls', '~> 0.8'
36
36
  spec.add_development_dependency 'rake', '~> 12.3'
37
37
  spec.add_development_dependency 'rdoc', ['>= 5.0', '< 7']
38
38
  spec.add_development_dependency 'rspec', '~> 3.0'
39
+ spec.add_development_dependency 'rspec-stubbed_env'
40
+ spec.add_development_dependency 'rspec-pending_for'
41
+ spec.add_development_dependency 'rspec-block_is_expected'
42
+ spec.add_development_dependency 'silent_stream'
39
43
  spec.add_development_dependency 'wwtd'
40
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2018-10-13 00:00:00.000000000 Z
13
+ date: 2019-10-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0.8'
22
22
  - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: 0.16.0
24
+ version: '2.0'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,7 +31,7 @@ dependencies:
31
31
  version: '0.8'
32
32
  - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.16.0
34
+ version: '2.0'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: jwt
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -132,14 +132,14 @@ dependencies:
132
132
  name: bundler
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - "~>"
135
+ - - ">="
136
136
  - !ruby/object:Gem::Version
137
137
  version: '1.16'
138
138
  type: :development
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
- - - "~>"
142
+ - - ">="
143
143
  - !ruby/object:Gem::Version
144
144
  version: '1.16'
145
145
  - !ruby/object:Gem::Dependency
@@ -204,6 +204,62 @@ dependencies:
204
204
  - - "~>"
205
205
  - !ruby/object:Gem::Version
206
206
  version: '3.0'
207
+ - !ruby/object:Gem::Dependency
208
+ name: rspec-stubbed_env
209
+ requirement: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - ">="
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ type: :development
215
+ prerelease: false
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ requirements:
218
+ - - ">="
219
+ - !ruby/object:Gem::Version
220
+ version: '0'
221
+ - !ruby/object:Gem::Dependency
222
+ name: rspec-pending_for
223
+ requirement: !ruby/object:Gem::Requirement
224
+ requirements:
225
+ - - ">="
226
+ - !ruby/object:Gem::Version
227
+ version: '0'
228
+ type: :development
229
+ prerelease: false
230
+ version_requirements: !ruby/object:Gem::Requirement
231
+ requirements:
232
+ - - ">="
233
+ - !ruby/object:Gem::Version
234
+ version: '0'
235
+ - !ruby/object:Gem::Dependency
236
+ name: rspec-block_is_expected
237
+ requirement: !ruby/object:Gem::Requirement
238
+ requirements:
239
+ - - ">="
240
+ - !ruby/object:Gem::Version
241
+ version: '0'
242
+ type: :development
243
+ prerelease: false
244
+ version_requirements: !ruby/object:Gem::Requirement
245
+ requirements:
246
+ - - ">="
247
+ - !ruby/object:Gem::Version
248
+ version: '0'
249
+ - !ruby/object:Gem::Dependency
250
+ name: silent_stream
251
+ requirement: !ruby/object:Gem::Requirement
252
+ requirements:
253
+ - - ">="
254
+ - !ruby/object:Gem::Version
255
+ version: '0'
256
+ type: :development
257
+ prerelease: false
258
+ version_requirements: !ruby/object:Gem::Requirement
259
+ requirements:
260
+ - - ">="
261
+ - !ruby/object:Gem::Version
262
+ version: '0'
207
263
  - !ruby/object:Gem::Dependency
208
264
  name: wwtd
209
265
  requirement: !ruby/object:Gem::Requirement
@@ -233,6 +289,7 @@ files:
233
289
  - ".rubocop.yml"
234
290
  - ".rubocop_rspec.yml"
235
291
  - ".rubocop_todo.yml"
292
+ - ".ruby-version"
236
293
  - ".travis.yml"
237
294
  - CHANGELOG.md
238
295
  - CODE_OF_CONDUCT.md
@@ -242,29 +299,20 @@ files:
242
299
  - README.md
243
300
  - Rakefile
244
301
  - gemfiles/jruby_1.7.gemfile
245
- - gemfiles/jruby_1.7.gemfile.lock
246
302
  - gemfiles/jruby_9.0.gemfile
247
303
  - gemfiles/jruby_9.1.gemfile
248
- - gemfiles/jruby_9.1.gemfile.lock
249
304
  - gemfiles/jruby_9.2.gemfile
250
- - gemfiles/jruby_9.2.gemfile.lock
251
305
  - gemfiles/jruby_head.gemfile
252
306
  - gemfiles/ruby_1.9.gemfile
253
- - gemfiles/ruby_1.9.gemfile.lock
254
307
  - gemfiles/ruby_2.0.gemfile
255
- - gemfiles/ruby_2.0.gemfile.lock
256
308
  - gemfiles/ruby_2.1.gemfile
257
- - gemfiles/ruby_2.1.gemfile.lock
258
309
  - gemfiles/ruby_2.2.gemfile
259
- - gemfiles/ruby_2.2.gemfile.lock
260
310
  - gemfiles/ruby_2.3.gemfile
261
- - gemfiles/ruby_2.3.gemfile.lock
262
311
  - gemfiles/ruby_2.4.gemfile
263
- - gemfiles/ruby_2.4.gemfile.lock
264
312
  - gemfiles/ruby_2.5.gemfile
265
- - gemfiles/ruby_2.5.gemfile.lock
313
+ - gemfiles/ruby_2.6.gemfile
266
314
  - gemfiles/ruby_head.gemfile
267
- - gemfiles/ruby_head.gemfile.lock
315
+ - gemfiles/truffleruby.gemfile
268
316
  - lib/oauth2.rb
269
317
  - lib/oauth2/access_token.rb
270
318
  - lib/oauth2/authenticator.rb
@@ -299,8 +347,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
347
  - !ruby/object:Gem::Version
300
348
  version: 1.3.5
301
349
  requirements: []
302
- rubyforge_project:
303
- rubygems_version: 2.7.7
350
+ rubygems_version: 3.0.3
304
351
  signing_key:
305
352
  specification_version: 4
306
353
  summary: A Ruby wrapper for the OAuth 2.0 protocol.
@@ -1,81 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- oauth2 (1.4.0)
5
- faraday (>= 0.8, < 0.16.0)
6
- jwt (>= 1.0, < 3.0)
7
- multi_json (~> 1.3)
8
- multi_xml (~> 0.5)
9
- rack (>= 1.2, < 3)
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- addressable (2.4.0)
15
- backports (3.11.4)
16
- coveralls (0.8.22)
17
- json (>= 1.8, < 3)
18
- simplecov (~> 0.16.1)
19
- term-ansicolor (~> 1.3)
20
- thor (~> 0.19.4)
21
- tins (~> 1.6)
22
- diff-lcs (1.3)
23
- docile (1.3.1)
24
- faraday (0.9.2)
25
- multipart-post (>= 1.2, < 3)
26
- json (2.1.0-java)
27
- jwt (1.5.6)
28
- multi_json (1.13.1)
29
- multi_xml (0.6.0)
30
- multipart-post (2.0.0)
31
- rack (1.6.10)
32
- rake (12.2.1)
33
- rdoc (5.1.0)
34
- rspec (3.8.0)
35
- rspec-core (~> 3.8.0)
36
- rspec-expectations (~> 3.8.0)
37
- rspec-mocks (~> 3.8.0)
38
- rspec-core (3.8.0)
39
- rspec-support (~> 3.8.0)
40
- rspec-expectations (3.8.2)
41
- diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.8.0)
43
- rspec-mocks (3.8.0)
44
- diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.8.0)
46
- rspec-pending_for (0.1.13)
47
- rspec-core
48
- ruby_engine (~> 1.0)
49
- ruby_version (~> 1.0)
50
- rspec-support (3.8.0)
51
- ruby_engine (1.0.1)
52
- ruby_version (1.0.1)
53
- simplecov (0.16.1)
54
- docile (~> 1.1)
55
- json (>= 1.8, < 3)
56
- simplecov-html (~> 0.10.0)
57
- simplecov-html (0.10.2)
58
- term-ansicolor (1.3.2)
59
- tins (~> 1.0)
60
- thor (0.19.4)
61
- tins (1.6.0)
62
- wwtd (1.3.0)
63
-
64
- PLATFORMS
65
- java
66
-
67
- DEPENDENCIES
68
- addressable (~> 2.3)
69
- backports (~> 3.11)
70
- bundler (~> 1.16)
71
- coveralls (~> 0.8)
72
- faraday (= 0.9.2)
73
- oauth2!
74
- rake
75
- rdoc (>= 5.0, < 7)
76
- rspec
77
- rspec-pending_for
78
- wwtd
79
-
80
- BUNDLED WITH
81
- 1.16.6
@@ -1,112 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- oauth2 (1.4.0)
5
- faraday (>= 0.8, < 0.16.0)
6
- jwt (>= 1.0, < 3.0)
7
- multi_json (~> 1.3)
8
- multi_xml (~> 0.5)
9
- rack (>= 1.2, < 3)
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- addressable (2.5.2)
15
- public_suffix (>= 2.0.2, < 4.0)
16
- ast (2.4.0)
17
- backports (3.11.4)
18
- coderay (1.1.2)
19
- coveralls (0.8.22)
20
- json (>= 1.8, < 3)
21
- simplecov (~> 0.16.1)
22
- term-ansicolor (~> 1.3)
23
- thor (~> 0.19.4)
24
- tins (~> 1.6)
25
- diff-lcs (1.3)
26
- docile (1.3.1)
27
- faraday (0.9.2)
28
- multipart-post (>= 1.2, < 3)
29
- ffi (1.9.25-java)
30
- json (2.1.0-java)
31
- jwt (2.1.0)
32
- method_source (0.9.0)
33
- multi_json (1.13.1)
34
- multi_xml (0.6.0)
35
- multipart-post (2.0.0)
36
- parallel (1.12.1)
37
- parser (2.5.1.2)
38
- ast (~> 2.4.0)
39
- powerpack (0.1.2)
40
- pry (0.11.3-java)
41
- coderay (~> 1.1.0)
42
- method_source (~> 0.9.0)
43
- spoon (~> 0.0)
44
- public_suffix (3.0.3)
45
- rack (2.0.5)
46
- rainbow (3.0.0)
47
- rake (12.3.1)
48
- rdoc (6.0.4)
49
- rspec (3.8.0)
50
- rspec-core (~> 3.8.0)
51
- rspec-expectations (~> 3.8.0)
52
- rspec-mocks (~> 3.8.0)
53
- rspec-core (3.8.0)
54
- rspec-support (~> 3.8.0)
55
- rspec-expectations (3.8.2)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.8.0)
58
- rspec-mocks (3.8.0)
59
- diff-lcs (>= 1.2.0, < 2.0)
60
- rspec-support (~> 3.8.0)
61
- rspec-pending_for (0.1.13)
62
- rspec-core
63
- ruby_engine (~> 1.0)
64
- ruby_version (~> 1.0)
65
- rspec-support (3.8.0)
66
- rubocop (0.53.0)
67
- parallel (~> 1.10)
68
- parser (>= 2.5)
69
- powerpack (~> 0.1)
70
- rainbow (>= 2.2.2, < 4.0)
71
- ruby-progressbar (~> 1.7)
72
- unicode-display_width (~> 1.0, >= 1.0.1)
73
- rubocop-rspec (1.24.0)
74
- rubocop (>= 0.53.0)
75
- ruby-progressbar (1.10.0)
76
- ruby_engine (1.0.1)
77
- ruby_version (1.0.1)
78
- simplecov (0.16.1)
79
- docile (~> 1.1)
80
- json (>= 1.8, < 3)
81
- simplecov-html (~> 0.10.0)
82
- simplecov-html (0.10.2)
83
- spoon (0.0.6)
84
- ffi
85
- term-ansicolor (1.6.0)
86
- tins (~> 1.0)
87
- thor (0.19.4)
88
- tins (1.16.3)
89
- unicode-display_width (1.4.0)
90
- wwtd (1.3.0)
91
-
92
- PLATFORMS
93
- java
94
-
95
- DEPENDENCIES
96
- addressable (~> 2.3)
97
- backports (~> 3.11)
98
- bundler (~> 1.16)
99
- coveralls (~> 0.8)
100
- faraday (= 0.9.2)
101
- oauth2!
102
- pry
103
- rake
104
- rdoc (>= 5.0, < 7)
105
- rspec
106
- rspec-pending_for
107
- rubocop (~> 0.53.0)
108
- rubocop-rspec (~> 1.24.0)
109
- wwtd
110
-
111
- BUNDLED WITH
112
- 1.16.4
@@ -1,112 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- oauth2 (1.4.0)
5
- faraday (>= 0.8, < 0.16.0)
6
- jwt (>= 1.0, < 3.0)
7
- multi_json (~> 1.3)
8
- multi_xml (~> 0.5)
9
- rack (>= 1.2, < 3)
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- addressable (2.5.2)
15
- public_suffix (>= 2.0.2, < 4.0)
16
- ast (2.4.0)
17
- backports (3.11.4)
18
- coderay (1.1.2)
19
- coveralls (0.8.22)
20
- json (>= 1.8, < 3)
21
- simplecov (~> 0.16.1)
22
- term-ansicolor (~> 1.3)
23
- thor (~> 0.19.4)
24
- tins (~> 1.6)
25
- diff-lcs (1.3)
26
- docile (1.3.1)
27
- faraday (0.9.2)
28
- multipart-post (>= 1.2, < 3)
29
- ffi (1.9.25-java)
30
- json (2.1.0-java)
31
- jwt (2.1.0)
32
- method_source (0.9.0)
33
- multi_json (1.13.1)
34
- multi_xml (0.6.0)
35
- multipart-post (2.0.0)
36
- parallel (1.12.1)
37
- parser (2.5.1.2)
38
- ast (~> 2.4.0)
39
- powerpack (0.1.2)
40
- pry (0.11.3-java)
41
- coderay (~> 1.1.0)
42
- method_source (~> 0.9.0)
43
- spoon (~> 0.0)
44
- public_suffix (3.0.3)
45
- rack (2.0.5)
46
- rainbow (3.0.0)
47
- rake (12.3.1)
48
- rdoc (6.0.4)
49
- rspec (3.8.0)
50
- rspec-core (~> 3.8.0)
51
- rspec-expectations (~> 3.8.0)
52
- rspec-mocks (~> 3.8.0)
53
- rspec-core (3.8.0)
54
- rspec-support (~> 3.8.0)
55
- rspec-expectations (3.8.2)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.8.0)
58
- rspec-mocks (3.8.0)
59
- diff-lcs (>= 1.2.0, < 2.0)
60
- rspec-support (~> 3.8.0)
61
- rspec-pending_for (0.1.13)
62
- rspec-core
63
- ruby_engine (~> 1.0)
64
- ruby_version (~> 1.0)
65
- rspec-support (3.8.0)
66
- rubocop (0.53.0)
67
- parallel (~> 1.10)
68
- parser (>= 2.5)
69
- powerpack (~> 0.1)
70
- rainbow (>= 2.2.2, < 4.0)
71
- ruby-progressbar (~> 1.7)
72
- unicode-display_width (~> 1.0, >= 1.0.1)
73
- rubocop-rspec (1.24.0)
74
- rubocop (>= 0.53.0)
75
- ruby-progressbar (1.10.0)
76
- ruby_engine (1.0.1)
77
- ruby_version (1.0.1)
78
- simplecov (0.16.1)
79
- docile (~> 1.1)
80
- json (>= 1.8, < 3)
81
- simplecov-html (~> 0.10.0)
82
- simplecov-html (0.10.2)
83
- spoon (0.0.6)
84
- ffi
85
- term-ansicolor (1.6.0)
86
- tins (~> 1.0)
87
- thor (0.19.4)
88
- tins (1.16.3)
89
- unicode-display_width (1.4.0)
90
- wwtd (1.3.0)
91
-
92
- PLATFORMS
93
- java
94
-
95
- DEPENDENCIES
96
- addressable (~> 2.3)
97
- backports (~> 3.11)
98
- bundler (~> 1.16)
99
- coveralls (~> 0.8)
100
- faraday (= 0.9.2)
101
- oauth2!
102
- pry
103
- rake
104
- rdoc (>= 5.0, < 7)
105
- rspec
106
- rspec-pending_for
107
- rubocop (~> 0.53.0)
108
- rubocop-rspec (~> 1.24.0)
109
- wwtd
110
-
111
- BUNDLED WITH
112
- 1.16.4