oauth2 1.4.1 → 1.4.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +67 -10
  3. data/CODE_OF_CONDUCT.md +105 -46
  4. data/LICENSE +1 -1
  5. data/README.md +290 -98
  6. data/lib/oauth2/access_token.rb +15 -5
  7. data/lib/oauth2/authenticator.rb +13 -1
  8. data/lib/oauth2/client.rb +133 -51
  9. data/lib/oauth2/error.rb +3 -1
  10. data/lib/oauth2/mac_token.rb +18 -10
  11. data/lib/oauth2/response.rb +7 -3
  12. data/lib/oauth2/strategy/assertion.rb +6 -4
  13. data/lib/oauth2/strategy/auth_code.rb +3 -1
  14. data/lib/oauth2/strategy/base.rb +2 -0
  15. data/lib/oauth2/strategy/client_credentials.rb +3 -1
  16. data/lib/oauth2/strategy/implicit.rb +3 -1
  17. data/lib/oauth2/strategy/password.rb +5 -3
  18. data/lib/oauth2/version.rb +14 -8
  19. data/lib/oauth2.rb +2 -0
  20. data/spec/fixtures/README.md +11 -0
  21. data/spec/fixtures/RS256/jwtRS256.key +51 -0
  22. data/spec/fixtures/RS256/jwtRS256.key.pub +14 -0
  23. data/spec/helper.rb +33 -0
  24. data/spec/oauth2/access_token_spec.rb +218 -0
  25. data/spec/oauth2/authenticator_spec.rb +86 -0
  26. data/spec/oauth2/client_spec.rb +556 -0
  27. data/spec/oauth2/mac_token_spec.rb +122 -0
  28. data/spec/oauth2/response_spec.rb +96 -0
  29. data/spec/oauth2/strategy/assertion_spec.rb +113 -0
  30. data/spec/oauth2/strategy/auth_code_spec.rb +108 -0
  31. data/spec/oauth2/strategy/base_spec.rb +7 -0
  32. data/spec/oauth2/strategy/client_credentials_spec.rb +71 -0
  33. data/spec/oauth2/strategy/implicit_spec.rb +28 -0
  34. data/spec/oauth2/strategy/password_spec.rb +58 -0
  35. data/spec/oauth2/version_spec.rb +23 -0
  36. metadata +86 -77
  37. data/.document +0 -5
  38. data/.gitignore +0 -12
  39. data/.jrubyrc +0 -1
  40. data/.rspec +0 -2
  41. data/.rubocop.yml +0 -80
  42. data/.rubocop_rspec.yml +0 -26
  43. data/.rubocop_todo.yml +0 -15
  44. data/.travis.yml +0 -49
  45. data/CONTRIBUTING.md +0 -18
  46. data/Gemfile +0 -41
  47. data/Rakefile +0 -45
  48. data/gemfiles/jruby_1.7.gemfile +0 -11
  49. data/gemfiles/jruby_1.7.gemfile.lock +0 -81
  50. data/gemfiles/jruby_9.0.gemfile +0 -13
  51. data/gemfiles/jruby_9.1.gemfile +0 -17
  52. data/gemfiles/jruby_9.1.gemfile.lock +0 -112
  53. data/gemfiles/jruby_9.2.gemfile +0 -17
  54. data/gemfiles/jruby_9.2.gemfile.lock +0 -112
  55. data/gemfiles/jruby_head.gemfile +0 -17
  56. data/gemfiles/ruby_1.9.gemfile +0 -16
  57. data/gemfiles/ruby_1.9.gemfile.lock +0 -85
  58. data/gemfiles/ruby_2.0.gemfile +0 -17
  59. data/gemfiles/ruby_2.0.gemfile.lock +0 -90
  60. data/gemfiles/ruby_2.1.gemfile +0 -19
  61. data/gemfiles/ruby_2.1.gemfile.lock +0 -109
  62. data/gemfiles/ruby_2.2.gemfile +0 -17
  63. data/gemfiles/ruby_2.2.gemfile.lock +0 -108
  64. data/gemfiles/ruby_2.3.gemfile +0 -17
  65. data/gemfiles/ruby_2.3.gemfile.lock +0 -108
  66. data/gemfiles/ruby_2.4.gemfile +0 -17
  67. data/gemfiles/ruby_2.4.gemfile.lock +0 -108
  68. data/gemfiles/ruby_2.5.gemfile +0 -17
  69. data/gemfiles/ruby_2.5.gemfile.lock +0 -108
  70. data/gemfiles/ruby_head.gemfile +0 -17
  71. data/gemfiles/ruby_head.gemfile.lock +0 -108
  72. data/oauth2.gemspec +0 -40
@@ -1,108 +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
- json (2.1.0)
30
- jwt (2.1.0)
31
- method_source (0.9.0)
32
- multi_json (1.13.1)
33
- multi_xml (0.6.0)
34
- multipart-post (2.0.0)
35
- parallel (1.12.1)
36
- parser (2.5.1.2)
37
- ast (~> 2.4.0)
38
- powerpack (0.1.2)
39
- pry (0.11.3)
40
- coderay (~> 1.1.0)
41
- method_source (~> 0.9.0)
42
- public_suffix (3.0.3)
43
- rack (2.0.5)
44
- rainbow (3.0.0)
45
- rake (12.3.1)
46
- rdoc (6.0.4)
47
- rspec (3.8.0)
48
- rspec-core (~> 3.8.0)
49
- rspec-expectations (~> 3.8.0)
50
- rspec-mocks (~> 3.8.0)
51
- rspec-core (3.8.0)
52
- rspec-support (~> 3.8.0)
53
- rspec-expectations (3.8.2)
54
- diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.8.0)
56
- rspec-mocks (3.8.0)
57
- diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.8.0)
59
- rspec-pending_for (0.1.13)
60
- rspec-core
61
- ruby_engine (~> 1.0)
62
- ruby_version (~> 1.0)
63
- rspec-support (3.8.0)
64
- rubocop (0.53.0)
65
- parallel (~> 1.10)
66
- parser (>= 2.5)
67
- powerpack (~> 0.1)
68
- rainbow (>= 2.2.2, < 4.0)
69
- ruby-progressbar (~> 1.7)
70
- unicode-display_width (~> 1.0, >= 1.0.1)
71
- rubocop-rspec (1.24.0)
72
- rubocop (>= 0.53.0)
73
- ruby-progressbar (1.10.0)
74
- ruby_engine (1.0.1)
75
- ruby_version (1.0.1)
76
- simplecov (0.16.1)
77
- docile (~> 1.1)
78
- json (>= 1.8, < 3)
79
- simplecov-html (~> 0.10.0)
80
- simplecov-html (0.10.2)
81
- term-ansicolor (1.6.0)
82
- tins (~> 1.0)
83
- thor (0.19.4)
84
- tins (1.16.3)
85
- unicode-display_width (1.4.0)
86
- wwtd (1.3.0)
87
-
88
- PLATFORMS
89
- ruby
90
-
91
- DEPENDENCIES
92
- addressable (~> 2.3)
93
- backports (~> 3.11)
94
- bundler (~> 1.16)
95
- coveralls (~> 0.8)
96
- faraday (= 0.9.2)
97
- oauth2!
98
- pry
99
- rake
100
- rdoc (>= 5.0, < 7)
101
- rspec
102
- rspec-pending_for
103
- rubocop (~> 0.53.0)
104
- rubocop-rspec (~> 1.24.0)
105
- wwtd
106
-
107
- BUNDLED WITH
108
- 1.16.2
@@ -1,17 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'faraday', '0.9.2'
4
-
5
- group :development do
6
- 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'
15
- end
16
-
17
- gemspec :path => '../'
@@ -1,108 +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
- json (2.1.0)
30
- jwt (2.1.0)
31
- method_source (0.9.0)
32
- multi_json (1.13.1)
33
- multi_xml (0.6.0)
34
- multipart-post (2.0.0)
35
- parallel (1.12.1)
36
- parser (2.5.1.2)
37
- ast (~> 2.4.0)
38
- powerpack (0.1.2)
39
- pry (0.11.3)
40
- coderay (~> 1.1.0)
41
- method_source (~> 0.9.0)
42
- public_suffix (3.0.3)
43
- rack (2.0.5)
44
- rainbow (3.0.0)
45
- rake (12.3.1)
46
- rdoc (6.0.4)
47
- rspec (3.8.0)
48
- rspec-core (~> 3.8.0)
49
- rspec-expectations (~> 3.8.0)
50
- rspec-mocks (~> 3.8.0)
51
- rspec-core (3.8.0)
52
- rspec-support (~> 3.8.0)
53
- rspec-expectations (3.8.2)
54
- diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.8.0)
56
- rspec-mocks (3.8.0)
57
- diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.8.0)
59
- rspec-pending_for (0.1.13)
60
- rspec-core
61
- ruby_engine (~> 1.0)
62
- ruby_version (~> 1.0)
63
- rspec-support (3.8.0)
64
- rubocop (0.53.0)
65
- parallel (~> 1.10)
66
- parser (>= 2.5)
67
- powerpack (~> 0.1)
68
- rainbow (>= 2.2.2, < 4.0)
69
- ruby-progressbar (~> 1.7)
70
- unicode-display_width (~> 1.0, >= 1.0.1)
71
- rubocop-rspec (1.24.0)
72
- rubocop (>= 0.53.0)
73
- ruby-progressbar (1.10.0)
74
- ruby_engine (1.0.1)
75
- ruby_version (1.0.1)
76
- simplecov (0.16.1)
77
- docile (~> 1.1)
78
- json (>= 1.8, < 3)
79
- simplecov-html (~> 0.10.0)
80
- simplecov-html (0.10.2)
81
- term-ansicolor (1.6.0)
82
- tins (~> 1.0)
83
- thor (0.19.4)
84
- tins (1.16.3)
85
- unicode-display_width (1.4.0)
86
- wwtd (1.3.0)
87
-
88
- PLATFORMS
89
- ruby
90
-
91
- DEPENDENCIES
92
- addressable (~> 2.3)
93
- backports (~> 3.11)
94
- bundler (~> 1.16)
95
- coveralls (~> 0.8)
96
- faraday (= 0.9.2)
97
- oauth2!
98
- pry
99
- rake
100
- rdoc (>= 5.0, < 7)
101
- rspec
102
- rspec-pending_for
103
- rubocop (~> 0.53.0)
104
- rubocop-rspec (~> 1.24.0)
105
- wwtd
106
-
107
- BUNDLED WITH
108
- 1.16.2
@@ -1,17 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'faraday', '0.9.2'
4
-
5
- group :development do
6
- 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'
15
- end
16
-
17
- gemspec :path => '../'
@@ -1,108 +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
- json (2.1.0)
30
- jwt (2.1.0)
31
- method_source (0.9.0)
32
- multi_json (1.13.1)
33
- multi_xml (0.6.0)
34
- multipart-post (2.0.0)
35
- parallel (1.12.1)
36
- parser (2.5.1.2)
37
- ast (~> 2.4.0)
38
- powerpack (0.1.2)
39
- pry (0.11.3)
40
- coderay (~> 1.1.0)
41
- method_source (~> 0.9.0)
42
- public_suffix (3.0.3)
43
- rack (2.0.5)
44
- rainbow (3.0.0)
45
- rake (12.3.1)
46
- rdoc (6.0.4)
47
- rspec (3.8.0)
48
- rspec-core (~> 3.8.0)
49
- rspec-expectations (~> 3.8.0)
50
- rspec-mocks (~> 3.8.0)
51
- rspec-core (3.8.0)
52
- rspec-support (~> 3.8.0)
53
- rspec-expectations (3.8.2)
54
- diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.8.0)
56
- rspec-mocks (3.8.0)
57
- diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.8.0)
59
- rspec-pending_for (0.1.13)
60
- rspec-core
61
- ruby_engine (~> 1.0)
62
- ruby_version (~> 1.0)
63
- rspec-support (3.8.0)
64
- rubocop (0.53.0)
65
- parallel (~> 1.10)
66
- parser (>= 2.5)
67
- powerpack (~> 0.1)
68
- rainbow (>= 2.2.2, < 4.0)
69
- ruby-progressbar (~> 1.7)
70
- unicode-display_width (~> 1.0, >= 1.0.1)
71
- rubocop-rspec (1.24.0)
72
- rubocop (>= 0.53.0)
73
- ruby-progressbar (1.10.0)
74
- ruby_engine (1.0.1)
75
- ruby_version (1.0.1)
76
- simplecov (0.16.1)
77
- docile (~> 1.1)
78
- json (>= 1.8, < 3)
79
- simplecov-html (~> 0.10.0)
80
- simplecov-html (0.10.2)
81
- term-ansicolor (1.6.0)
82
- tins (~> 1.0)
83
- thor (0.19.4)
84
- tins (1.16.3)
85
- unicode-display_width (1.4.0)
86
- wwtd (1.3.0)
87
-
88
- PLATFORMS
89
- ruby
90
-
91
- DEPENDENCIES
92
- addressable (~> 2.3)
93
- backports (~> 3.11)
94
- bundler (~> 1.16)
95
- coveralls (~> 0.8)
96
- faraday (= 0.9.2)
97
- oauth2!
98
- pry
99
- rake
100
- rdoc (>= 5.0, < 7)
101
- rspec
102
- rspec-pending_for
103
- rubocop (~> 0.53.0)
104
- rubocop-rspec (~> 1.24.0)
105
- wwtd
106
-
107
- BUNDLED WITH
108
- 1.16.2
@@ -1,17 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'faraday', '0.9.2'
4
-
5
- group :development do
6
- 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'
15
- end
16
-
17
- gemspec :path => '../'
@@ -1,108 +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
- json (2.1.0)
30
- jwt (2.1.0)
31
- method_source (0.9.0)
32
- multi_json (1.13.1)
33
- multi_xml (0.6.0)
34
- multipart-post (2.0.0)
35
- parallel (1.12.1)
36
- parser (2.5.1.2)
37
- ast (~> 2.4.0)
38
- powerpack (0.1.2)
39
- pry (0.11.3)
40
- coderay (~> 1.1.0)
41
- method_source (~> 0.9.0)
42
- public_suffix (3.0.3)
43
- rack (2.0.5)
44
- rainbow (3.0.0)
45
- rake (12.3.1)
46
- rdoc (6.0.4)
47
- rspec (3.8.0)
48
- rspec-core (~> 3.8.0)
49
- rspec-expectations (~> 3.8.0)
50
- rspec-mocks (~> 3.8.0)
51
- rspec-core (3.8.0)
52
- rspec-support (~> 3.8.0)
53
- rspec-expectations (3.8.2)
54
- diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.8.0)
56
- rspec-mocks (3.8.0)
57
- diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.8.0)
59
- rspec-pending_for (0.1.13)
60
- rspec-core
61
- ruby_engine (~> 1.0)
62
- ruby_version (~> 1.0)
63
- rspec-support (3.8.0)
64
- rubocop (0.53.0)
65
- parallel (~> 1.10)
66
- parser (>= 2.5)
67
- powerpack (~> 0.1)
68
- rainbow (>= 2.2.2, < 4.0)
69
- ruby-progressbar (~> 1.7)
70
- unicode-display_width (~> 1.0, >= 1.0.1)
71
- rubocop-rspec (1.24.0)
72
- rubocop (>= 0.53.0)
73
- ruby-progressbar (1.10.0)
74
- ruby_engine (1.0.1)
75
- ruby_version (1.0.1)
76
- simplecov (0.16.1)
77
- docile (~> 1.1)
78
- json (>= 1.8, < 3)
79
- simplecov-html (~> 0.10.0)
80
- simplecov-html (0.10.2)
81
- term-ansicolor (1.6.0)
82
- tins (~> 1.0)
83
- thor (0.19.4)
84
- tins (1.16.3)
85
- unicode-display_width (1.4.0)
86
- wwtd (1.3.0)
87
-
88
- PLATFORMS
89
- ruby
90
-
91
- DEPENDENCIES
92
- addressable (~> 2.3)
93
- backports (~> 3.11)
94
- bundler (~> 1.16)
95
- coveralls (~> 0.8)
96
- faraday (= 0.9.2)
97
- oauth2!
98
- pry
99
- rake
100
- rdoc (>= 5.0, < 7)
101
- rspec
102
- rspec-pending_for
103
- rubocop (~> 0.53.0)
104
- rubocop-rspec (~> 1.24.0)
105
- wwtd
106
-
107
- BUNDLED WITH
108
- 1.16.5
@@ -1,17 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'faraday', '0.9.2'
4
-
5
- group :development do
6
- 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'
15
- end
16
-
17
- gemspec :path => '../'
@@ -1,108 +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
- json (2.1.0)
30
- jwt (2.1.0)
31
- method_source (0.9.0)
32
- multi_json (1.13.1)
33
- multi_xml (0.6.0)
34
- multipart-post (2.0.0)
35
- parallel (1.12.1)
36
- parser (2.5.1.2)
37
- ast (~> 2.4.0)
38
- powerpack (0.1.2)
39
- pry (0.11.3)
40
- coderay (~> 1.1.0)
41
- method_source (~> 0.9.0)
42
- public_suffix (3.0.3)
43
- rack (2.0.5)
44
- rainbow (3.0.0)
45
- rake (12.3.1)
46
- rdoc (6.0.4)
47
- rspec (3.8.0)
48
- rspec-core (~> 3.8.0)
49
- rspec-expectations (~> 3.8.0)
50
- rspec-mocks (~> 3.8.0)
51
- rspec-core (3.8.0)
52
- rspec-support (~> 3.8.0)
53
- rspec-expectations (3.8.2)
54
- diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.8.0)
56
- rspec-mocks (3.8.0)
57
- diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.8.0)
59
- rspec-pending_for (0.1.13)
60
- rspec-core
61
- ruby_engine (~> 1.0)
62
- ruby_version (~> 1.0)
63
- rspec-support (3.8.0)
64
- rubocop (0.53.0)
65
- parallel (~> 1.10)
66
- parser (>= 2.5)
67
- powerpack (~> 0.1)
68
- rainbow (>= 2.2.2, < 4.0)
69
- ruby-progressbar (~> 1.7)
70
- unicode-display_width (~> 1.0, >= 1.0.1)
71
- rubocop-rspec (1.24.0)
72
- rubocop (>= 0.53.0)
73
- ruby-progressbar (1.10.0)
74
- ruby_engine (1.0.1)
75
- ruby_version (1.0.1)
76
- simplecov (0.16.1)
77
- docile (~> 1.1)
78
- json (>= 1.8, < 3)
79
- simplecov-html (~> 0.10.0)
80
- simplecov-html (0.10.2)
81
- term-ansicolor (1.6.0)
82
- tins (~> 1.0)
83
- thor (0.19.4)
84
- tins (1.16.3)
85
- unicode-display_width (1.4.0)
86
- wwtd (1.3.0)
87
-
88
- PLATFORMS
89
- ruby
90
-
91
- DEPENDENCIES
92
- addressable (~> 2.3)
93
- backports (~> 3.11)
94
- bundler (~> 1.16)
95
- coveralls (~> 0.8)
96
- faraday (= 0.9.2)
97
- oauth2!
98
- pry
99
- rake
100
- rdoc (>= 5.0, < 7)
101
- rspec
102
- rspec-pending_for
103
- rubocop (~> 0.53.0)
104
- rubocop-rspec (~> 1.24.0)
105
- wwtd
106
-
107
- BUNDLED WITH
108
- 1.16.4
data/oauth2.gemspec DELETED
@@ -1,40 +0,0 @@
1
- # coding: utf-8
2
-
3
- lib = File.expand_path('../lib', __FILE__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'oauth2/version'
6
-
7
- Gem::Specification.new do |spec|
8
- spec.add_dependency 'faraday', ['>= 0.8', '< 0.16.0']
9
- spec.add_dependency 'jwt', ['>= 1.0', '< 3.0']
10
- spec.add_dependency 'multi_json', '~> 1.3'
11
- spec.add_dependency 'multi_xml', '~> 0.5'
12
- spec.add_dependency 'rack', ['>= 1.2', '< 3']
13
-
14
- spec.authors = ['Peter Boling', 'Michael Bleigh', 'Erik Michaels-Ober']
15
- spec.description = 'A Ruby wrapper for the OAuth 2.0 protocol built with a similar style to the original OAuth spec.'
16
- spec.email = ['peter.boling@gmail.com']
17
- spec.homepage = 'https://github.com/oauth-xx/oauth2'
18
- spec.licenses = %w[MIT]
19
- spec.name = 'oauth2'
20
- spec.required_ruby_version = '>= 1.9.0'
21
- spec.required_rubygems_version = '>= 1.3.5'
22
- spec.summary = 'A Ruby wrapper for the OAuth 2.0 protocol.'
23
- spec.version = OAuth2::Version
24
-
25
- spec.require_paths = %w[lib]
26
- spec.bindir = 'exe'
27
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
29
- f.match(%r{^(bin|test|spec|features)/})
30
- end
31
-
32
- spec.add_development_dependency 'addressable', '~> 2.3'
33
- spec.add_development_dependency 'backports', '~> 3.11'
34
- spec.add_development_dependency 'bundler', '~> 1.16'
35
- spec.add_development_dependency 'coveralls', '~> 0.8'
36
- spec.add_development_dependency 'rake', '~> 12.3'
37
- spec.add_development_dependency 'rdoc', ['>= 5.0', '< 7']
38
- spec.add_development_dependency 'rspec', '~> 3.0'
39
- spec.add_development_dependency 'wwtd'
40
- end