omniauth-auth0 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -0
  3. data/{LICENSE.md → LICENSE} +0 -0
  4. data/README.md +23 -1
  5. data/examples/ruby-on-rails-webapp/.gitignore +17 -0
  6. data/examples/ruby-on-rails-webapp/Gemfile +48 -0
  7. data/examples/ruby-on-rails-webapp/README.md +20 -0
  8. data/examples/ruby-on-rails-webapp/README.rdoc +28 -0
  9. data/examples/ruby-on-rails-webapp/Rakefile +6 -0
  10. data/examples/ruby-on-rails-webapp/app/assets/images/.keep +0 -0
  11. data/examples/ruby-on-rails-webapp/app/assets/javascripts/application.js +13 -0
  12. data/examples/ruby-on-rails-webapp/app/assets/javascripts/home.js.erb +10 -0
  13. data/examples/ruby-on-rails-webapp/app/assets/stylesheets/application.css +114 -0
  14. data/examples/ruby-on-rails-webapp/app/controllers/application_controller.rb +5 -0
  15. data/examples/ruby-on-rails-webapp/app/controllers/auth0_controller.rb +14 -0
  16. data/examples/ruby-on-rails-webapp/app/controllers/concerns/.keep +0 -0
  17. data/examples/ruby-on-rails-webapp/app/controllers/dashboard_controller.rb +5 -0
  18. data/examples/ruby-on-rails-webapp/app/controllers/home_controller.rb +5 -0
  19. data/examples/ruby-on-rails-webapp/app/controllers/secured_controller.rb +13 -0
  20. data/examples/ruby-on-rails-webapp/app/helpers/application_helper.rb +2 -0
  21. data/examples/ruby-on-rails-webapp/app/helpers/callback_helper.rb +2 -0
  22. data/examples/ruby-on-rails-webapp/app/helpers/dashboard_helper.rb +2 -0
  23. data/examples/ruby-on-rails-webapp/app/helpers/home_helper.rb +2 -0
  24. data/examples/ruby-on-rails-webapp/app/mailers/.keep +0 -0
  25. data/examples/ruby-on-rails-webapp/app/models/.keep +0 -0
  26. data/examples/ruby-on-rails-webapp/app/models/concerns/.keep +0 -0
  27. data/examples/ruby-on-rails-webapp/app/views/auth0/failure.html.erb +4 -0
  28. data/examples/ruby-on-rails-webapp/app/views/dashboard/show.html.erb +12 -0
  29. data/examples/ruby-on-rails-webapp/app/views/home/show.html.erb +17 -0
  30. data/examples/ruby-on-rails-webapp/app/views/layouts/application.html.erb +21 -0
  31. data/examples/ruby-on-rails-webapp/bin/bundle +3 -0
  32. data/examples/ruby-on-rails-webapp/bin/rails +4 -0
  33. data/examples/ruby-on-rails-webapp/bin/rake +4 -0
  34. data/examples/ruby-on-rails-webapp/bin/spring +18 -0
  35. data/examples/ruby-on-rails-webapp/config.ru +4 -0
  36. data/examples/ruby-on-rails-webapp/config/application.rb +32 -0
  37. data/examples/ruby-on-rails-webapp/config/boot.rb +4 -0
  38. data/examples/ruby-on-rails-webapp/config/database.yml +20 -0
  39. data/examples/ruby-on-rails-webapp/config/environment.rb +5 -0
  40. data/examples/ruby-on-rails-webapp/config/environments/development.rb +39 -0
  41. data/examples/ruby-on-rails-webapp/config/environments/production.rb +85 -0
  42. data/examples/ruby-on-rails-webapp/config/environments/test.rb +39 -0
  43. data/examples/ruby-on-rails-webapp/config/initializers/01_dotenv.rb +4 -0
  44. data/examples/ruby-on-rails-webapp/config/initializers/auth0.rb +9 -0
  45. data/examples/ruby-on-rails-webapp/config/initializers/backtrace_silencers.rb +7 -0
  46. data/examples/ruby-on-rails-webapp/config/initializers/cookies_serializer.rb +3 -0
  47. data/examples/ruby-on-rails-webapp/config/initializers/filter_parameter_logging.rb +4 -0
  48. data/examples/ruby-on-rails-webapp/config/initializers/inflections.rb +16 -0
  49. data/examples/ruby-on-rails-webapp/config/initializers/mime_types.rb +4 -0
  50. data/examples/ruby-on-rails-webapp/config/initializers/session_store.rb +3 -0
  51. data/examples/ruby-on-rails-webapp/config/initializers/wrap_parameters.rb +14 -0
  52. data/examples/ruby-on-rails-webapp/config/locales/en.yml +23 -0
  53. data/examples/ruby-on-rails-webapp/config/routes.rb +66 -0
  54. data/examples/ruby-on-rails-webapp/config/secrets.yml +35 -0
  55. data/examples/ruby-on-rails-webapp/db/seeds.rb +7 -0
  56. data/examples/ruby-on-rails-webapp/lib/assets/.keep +0 -0
  57. data/examples/ruby-on-rails-webapp/lib/tasks/.keep +0 -0
  58. data/examples/ruby-on-rails-webapp/log/.keep +0 -0
  59. data/examples/ruby-on-rails-webapp/public/404.html +67 -0
  60. data/examples/ruby-on-rails-webapp/public/422.html +67 -0
  61. data/examples/ruby-on-rails-webapp/public/500.html +66 -0
  62. data/examples/ruby-on-rails-webapp/public/favicon.ico +0 -0
  63. data/examples/ruby-on-rails-webapp/public/robots.txt +5 -0
  64. data/examples/ruby-on-rails-webapp/test/controllers/.keep +0 -0
  65. data/examples/ruby-on-rails-webapp/test/controllers/callback_controller_test.rb +14 -0
  66. data/examples/ruby-on-rails-webapp/test/controllers/dashboard_controller_test.rb +9 -0
  67. data/examples/ruby-on-rails-webapp/test/controllers/home_controller_test.rb +9 -0
  68. data/examples/ruby-on-rails-webapp/test/fixtures/.keep +0 -0
  69. data/examples/ruby-on-rails-webapp/test/helpers/.keep +0 -0
  70. data/examples/ruby-on-rails-webapp/test/helpers/callback_helper_test.rb +4 -0
  71. data/examples/ruby-on-rails-webapp/test/helpers/dashboard_helper_test.rb +4 -0
  72. data/examples/ruby-on-rails-webapp/test/helpers/home_helper_test.rb +4 -0
  73. data/examples/ruby-on-rails-webapp/test/integration/.keep +0 -0
  74. data/examples/ruby-on-rails-webapp/test/mailers/.keep +0 -0
  75. data/examples/ruby-on-rails-webapp/test/models/.keep +0 -0
  76. data/examples/ruby-on-rails-webapp/test/test_helper.rb +13 -0
  77. data/examples/ruby-on-rails-webapp/vendor/assets/javascripts/.keep +0 -0
  78. data/examples/ruby-on-rails-webapp/vendor/assets/stylesheets/.keep +0 -0
  79. data/lib/omniauth-auth0.rb +1 -1
  80. data/lib/omniauth-auth0/version.rb +3 -0
  81. data/lib/omniauth/strategies/auth0.rb +9 -2
  82. data/omniauth-auth0.gemspec +3 -2
  83. data/spec/omniauth/strategies/auth0_spec.rb +45 -34
  84. metadata +116 -28
  85. data/lib/auth0/version.rb +0 -3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-auth0
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Auth0
@@ -10,116 +10,130 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-01-21 00:00:00.000000000 Z
13
+ date: 2015-06-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: omniauth-oauth2
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
21
  version: '1.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
28
  version: '1.1'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rspec
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - ~>
33
+ - - "~>"
34
34
  - !ruby/object:Gem::Version
35
35
  version: '2.7'
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ~>
40
+ - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '2.7'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rack-test
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ~>
47
+ - - "~>"
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0.6'
50
- - - '>='
50
+ - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: 0.6.3
53
53
  type: :development
54
54
  prerelease: false
55
55
  version_requirements: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ~>
57
+ - - "~>"
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0.6'
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: 0.6.3
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: simplecov
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ~>
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0.9'
70
- - - '>='
70
+ - - ">="
71
71
  - !ruby/object:Gem::Version
72
72
  version: 0.9.1
73
73
  type: :development
74
74
  prerelease: false
75
75
  version_requirements: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - ~>
77
+ - - "~>"
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0.9'
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.9.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: webmock
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.20'
90
- - - '>='
90
+ - - ">="
91
91
  - !ruby/object:Gem::Version
92
92
  version: 1.20.4
93
93
  type: :development
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - ~>
97
+ - - "~>"
98
98
  - !ruby/object:Gem::Version
99
99
  version: '1.20'
100
- - - '>='
100
+ - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: 1.20.4
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: rake
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - ~>
107
+ - - "~>"
108
108
  - !ruby/object:Gem::Version
109
109
  version: '10.3'
110
- - - '>='
110
+ - - ">="
111
111
  - !ruby/object:Gem::Version
112
112
  version: 10.3.2
113
113
  type: :development
114
114
  prerelease: false
115
115
  version_requirements: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - ~>
117
+ - - "~>"
118
118
  - !ruby/object:Gem::Version
119
119
  version: '10.3'
120
- - - '>='
120
+ - - ">="
121
121
  - !ruby/object:Gem::Version
122
122
  version: 10.3.2
123
+ - !ruby/object:Gem::Dependency
124
+ name: gem-release
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '0.7'
130
+ type: :development
131
+ prerelease: false
132
+ version_requirements: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - "~>"
135
+ - !ruby/object:Gem::Version
136
+ version: '0.7'
123
137
  description: |
124
138
  Auth0 is an authentication broker that supports social identity providers as well as enterprise identity providers such as Active Directory, LDAP, Google Apps, Salesforce.
125
139
 
@@ -132,14 +146,88 @@ executables: []
132
146
  extensions: []
133
147
  extra_rdoc_files: []
134
148
  files:
135
- - .gitignore
136
- - .travis.yml
149
+ - ".gitignore"
150
+ - ".travis.yml"
137
151
  - Gemfile
138
- - LICENSE.md
152
+ - LICENSE
139
153
  - README.md
140
154
  - Rakefile
141
- - lib/auth0/version.rb
155
+ - examples/ruby-on-rails-webapp/.gitignore
156
+ - examples/ruby-on-rails-webapp/Gemfile
157
+ - examples/ruby-on-rails-webapp/README.md
158
+ - examples/ruby-on-rails-webapp/README.rdoc
159
+ - examples/ruby-on-rails-webapp/Rakefile
160
+ - examples/ruby-on-rails-webapp/app/assets/images/.keep
161
+ - examples/ruby-on-rails-webapp/app/assets/javascripts/application.js
162
+ - examples/ruby-on-rails-webapp/app/assets/javascripts/home.js.erb
163
+ - examples/ruby-on-rails-webapp/app/assets/stylesheets/application.css
164
+ - examples/ruby-on-rails-webapp/app/controllers/application_controller.rb
165
+ - examples/ruby-on-rails-webapp/app/controllers/auth0_controller.rb
166
+ - examples/ruby-on-rails-webapp/app/controllers/concerns/.keep
167
+ - examples/ruby-on-rails-webapp/app/controllers/dashboard_controller.rb
168
+ - examples/ruby-on-rails-webapp/app/controllers/home_controller.rb
169
+ - examples/ruby-on-rails-webapp/app/controllers/secured_controller.rb
170
+ - examples/ruby-on-rails-webapp/app/helpers/application_helper.rb
171
+ - examples/ruby-on-rails-webapp/app/helpers/callback_helper.rb
172
+ - examples/ruby-on-rails-webapp/app/helpers/dashboard_helper.rb
173
+ - examples/ruby-on-rails-webapp/app/helpers/home_helper.rb
174
+ - examples/ruby-on-rails-webapp/app/mailers/.keep
175
+ - examples/ruby-on-rails-webapp/app/models/.keep
176
+ - examples/ruby-on-rails-webapp/app/models/concerns/.keep
177
+ - examples/ruby-on-rails-webapp/app/views/auth0/failure.html.erb
178
+ - examples/ruby-on-rails-webapp/app/views/dashboard/show.html.erb
179
+ - examples/ruby-on-rails-webapp/app/views/home/show.html.erb
180
+ - examples/ruby-on-rails-webapp/app/views/layouts/application.html.erb
181
+ - examples/ruby-on-rails-webapp/bin/bundle
182
+ - examples/ruby-on-rails-webapp/bin/rails
183
+ - examples/ruby-on-rails-webapp/bin/rake
184
+ - examples/ruby-on-rails-webapp/bin/spring
185
+ - examples/ruby-on-rails-webapp/config.ru
186
+ - examples/ruby-on-rails-webapp/config/application.rb
187
+ - examples/ruby-on-rails-webapp/config/boot.rb
188
+ - examples/ruby-on-rails-webapp/config/database.yml
189
+ - examples/ruby-on-rails-webapp/config/environment.rb
190
+ - examples/ruby-on-rails-webapp/config/environments/development.rb
191
+ - examples/ruby-on-rails-webapp/config/environments/production.rb
192
+ - examples/ruby-on-rails-webapp/config/environments/test.rb
193
+ - examples/ruby-on-rails-webapp/config/initializers/01_dotenv.rb
194
+ - examples/ruby-on-rails-webapp/config/initializers/auth0.rb
195
+ - examples/ruby-on-rails-webapp/config/initializers/backtrace_silencers.rb
196
+ - examples/ruby-on-rails-webapp/config/initializers/cookies_serializer.rb
197
+ - examples/ruby-on-rails-webapp/config/initializers/filter_parameter_logging.rb
198
+ - examples/ruby-on-rails-webapp/config/initializers/inflections.rb
199
+ - examples/ruby-on-rails-webapp/config/initializers/mime_types.rb
200
+ - examples/ruby-on-rails-webapp/config/initializers/session_store.rb
201
+ - examples/ruby-on-rails-webapp/config/initializers/wrap_parameters.rb
202
+ - examples/ruby-on-rails-webapp/config/locales/en.yml
203
+ - examples/ruby-on-rails-webapp/config/routes.rb
204
+ - examples/ruby-on-rails-webapp/config/secrets.yml
205
+ - examples/ruby-on-rails-webapp/db/seeds.rb
206
+ - examples/ruby-on-rails-webapp/lib/assets/.keep
207
+ - examples/ruby-on-rails-webapp/lib/tasks/.keep
208
+ - examples/ruby-on-rails-webapp/log/.keep
209
+ - examples/ruby-on-rails-webapp/public/404.html
210
+ - examples/ruby-on-rails-webapp/public/422.html
211
+ - examples/ruby-on-rails-webapp/public/500.html
212
+ - examples/ruby-on-rails-webapp/public/favicon.ico
213
+ - examples/ruby-on-rails-webapp/public/robots.txt
214
+ - examples/ruby-on-rails-webapp/test/controllers/.keep
215
+ - examples/ruby-on-rails-webapp/test/controllers/callback_controller_test.rb
216
+ - examples/ruby-on-rails-webapp/test/controllers/dashboard_controller_test.rb
217
+ - examples/ruby-on-rails-webapp/test/controllers/home_controller_test.rb
218
+ - examples/ruby-on-rails-webapp/test/fixtures/.keep
219
+ - examples/ruby-on-rails-webapp/test/helpers/.keep
220
+ - examples/ruby-on-rails-webapp/test/helpers/callback_helper_test.rb
221
+ - examples/ruby-on-rails-webapp/test/helpers/dashboard_helper_test.rb
222
+ - examples/ruby-on-rails-webapp/test/helpers/home_helper_test.rb
223
+ - examples/ruby-on-rails-webapp/test/integration/.keep
224
+ - examples/ruby-on-rails-webapp/test/mailers/.keep
225
+ - examples/ruby-on-rails-webapp/test/models/.keep
226
+ - examples/ruby-on-rails-webapp/test/test_helper.rb
227
+ - examples/ruby-on-rails-webapp/vendor/assets/javascripts/.keep
228
+ - examples/ruby-on-rails-webapp/vendor/assets/stylesheets/.keep
142
229
  - lib/omniauth-auth0.rb
230
+ - lib/omniauth-auth0/version.rb
143
231
  - lib/omniauth/strategies/auth0.rb
144
232
  - omniauth-auth0.gemspec
145
233
  - spec/omniauth/strategies/auth0_spec.rb
@@ -154,12 +242,12 @@ require_paths:
154
242
  - lib
155
243
  required_ruby_version: !ruby/object:Gem::Requirement
156
244
  requirements:
157
- - - '>='
245
+ - - ">="
158
246
  - !ruby/object:Gem::Version
159
247
  version: '0'
160
248
  required_rubygems_version: !ruby/object:Gem::Requirement
161
249
  requirements:
162
- - - '>='
250
+ - - ">="
163
251
  - !ruby/object:Gem::Version
164
252
  version: '0'
165
253
  requirements: []
data/lib/auth0/version.rb DELETED
@@ -1,3 +0,0 @@
1
- module Auth0
2
- VERSION = "1.3.0"
3
- end