omniauth-slooob 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/issue_template.md +14 -0
- data/.github/pull_request_template.md +21 -0
- data/.gitignore +22 -0
- data/.travis.yml +3 -0
- data/CHANGELOG.md +9 -0
- data/CODE_OF_CONDUCT.md +46 -0
- data/Gemfile +7 -0
- data/LICENSE +21 -0
- data/README.md +301 -0
- data/Rakefile +15 -0
- data/examples/omniauth.rb +31 -0
- data/examples/rails_example/.gitignore +27 -0
- data/examples/rails_example/Gemfile +54 -0
- data/examples/rails_example/README.md +24 -0
- data/examples/rails_example/Rakefile +6 -0
- data/examples/rails_example/app/assets/config/manifest.js +3 -0
- data/examples/rails_example/app/assets/images/.keep +0 -0
- data/examples/rails_example/app/assets/javascripts/application.js +15 -0
- data/examples/rails_example/app/assets/javascripts/books.coffee +3 -0
- data/examples/rails_example/app/assets/javascripts/cable.js +13 -0
- data/examples/rails_example/app/assets/javascripts/channels/.keep +0 -0
- data/examples/rails_example/app/assets/javascripts/sessions.coffee +3 -0
- data/examples/rails_example/app/assets/stylesheets/application.css +15 -0
- data/examples/rails_example/app/assets/stylesheets/books.scss +3 -0
- data/examples/rails_example/app/assets/stylesheets/scaffolds.scss +84 -0
- data/examples/rails_example/app/assets/stylesheets/sessions.scss +3 -0
- data/examples/rails_example/app/channels/application_cable/channel.rb +4 -0
- data/examples/rails_example/app/channels/application_cable/connection.rb +4 -0
- data/examples/rails_example/app/controllers/application_controller.rb +10 -0
- data/examples/rails_example/app/controllers/books_controller.rb +74 -0
- data/examples/rails_example/app/controllers/concerns/.keep +0 -0
- data/examples/rails_example/app/controllers/sessions_controller.rb +16 -0
- data/examples/rails_example/app/helpers/application_helper.rb +2 -0
- data/examples/rails_example/app/helpers/books_helper.rb +2 -0
- data/examples/rails_example/app/helpers/sessions_helper.rb +2 -0
- data/examples/rails_example/app/jobs/application_job.rb +2 -0
- data/examples/rails_example/app/mailers/application_mailer.rb +4 -0
- data/examples/rails_example/app/models/application_record.rb +3 -0
- data/examples/rails_example/app/models/book.rb +2 -0
- data/examples/rails_example/app/models/concerns/.keep +0 -0
- data/examples/rails_example/app/models/user.rb +12 -0
- data/examples/rails_example/app/views/books/_book.json.jbuilder +2 -0
- data/examples/rails_example/app/views/books/_form.html.erb +17 -0
- data/examples/rails_example/app/views/books/edit.html.erb +6 -0
- data/examples/rails_example/app/views/books/index.html.erb +25 -0
- data/examples/rails_example/app/views/books/index.json.jbuilder +1 -0
- data/examples/rails_example/app/views/books/new.html.erb +5 -0
- data/examples/rails_example/app/views/books/show.html.erb +4 -0
- data/examples/rails_example/app/views/books/show.json.jbuilder +1 -0
- data/examples/rails_example/app/views/layouts/application.html.erb +19 -0
- data/examples/rails_example/app/views/layouts/mailer.html.erb +13 -0
- data/examples/rails_example/app/views/layouts/mailer.text.erb +1 -0
- data/examples/rails_example/bin/bundle +3 -0
- data/examples/rails_example/bin/rails +4 -0
- data/examples/rails_example/bin/rake +4 -0
- data/examples/rails_example/bin/setup +38 -0
- data/examples/rails_example/bin/update +29 -0
- data/examples/rails_example/bin/yarn +11 -0
- data/examples/rails_example/config.ru +5 -0
- data/examples/rails_example/config/application.rb +18 -0
- data/examples/rails_example/config/boot.rb +3 -0
- data/examples/rails_example/config/cable.yml +10 -0
- data/examples/rails_example/config/database.yml +25 -0
- data/examples/rails_example/config/environment.rb +5 -0
- data/examples/rails_example/config/environments/development.rb +54 -0
- data/examples/rails_example/config/environments/production.rb +91 -0
- data/examples/rails_example/config/environments/test.rb +42 -0
- data/examples/rails_example/config/initializers/application_controller_renderer.rb +6 -0
- data/examples/rails_example/config/initializers/assets.rb +14 -0
- data/examples/rails_example/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/rails_example/config/initializers/config.rb +36 -0
- data/examples/rails_example/config/initializers/cookies_serializer.rb +5 -0
- data/examples/rails_example/config/initializers/filter_parameter_logging.rb +4 -0
- data/examples/rails_example/config/initializers/inflections.rb +16 -0
- data/examples/rails_example/config/initializers/mime_types.rb +4 -0
- data/examples/rails_example/config/initializers/omniauth.rb +3 -0
- data/examples/rails_example/config/initializers/wrap_parameters.rb +14 -0
- data/examples/rails_example/config/locales/en.yml +33 -0
- data/examples/rails_example/config/puma.rb +56 -0
- data/examples/rails_example/config/routes.rb +10 -0
- data/examples/rails_example/config/secrets.yml +32 -0
- data/examples/rails_example/config/settings.yml +1 -0
- data/examples/rails_example/config/settings/development.yml +3 -0
- data/examples/rails_example/config/settings/production.yml +3 -0
- data/examples/rails_example/config/settings/test.yml +3 -0
- data/examples/rails_example/db/migrate/20170827120704_create_books.rb +8 -0
- data/examples/rails_example/db/migrate/20170827122351_create_users.rb +11 -0
- data/examples/rails_example/db/schema.rb +28 -0
- data/examples/rails_example/db/seeds.rb +7 -0
- data/examples/rails_example/lib/assets/.keep +0 -0
- data/examples/rails_example/lib/tasks/.keep +0 -0
- data/examples/rails_example/log/.keep +0 -0
- data/examples/rails_example/package.json +5 -0
- data/examples/rails_example/public/404.html +67 -0
- data/examples/rails_example/public/422.html +67 -0
- data/examples/rails_example/public/500.html +66 -0
- data/examples/rails_example/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/rails_example/public/apple-touch-icon.png +0 -0
- data/examples/rails_example/public/favicon.ico +0 -0
- data/examples/rails_example/public/robots.txt +1 -0
- data/examples/rails_example/test/application_system_test_case.rb +5 -0
- data/examples/rails_example/test/controllers/.keep +0 -0
- data/examples/rails_example/test/controllers/books_controller_test.rb +48 -0
- data/examples/rails_example/test/controllers/sessions_controller_test.rb +9 -0
- data/examples/rails_example/test/fixtures/.keep +0 -0
- data/examples/rails_example/test/fixtures/books.yml +11 -0
- data/examples/rails_example/test/fixtures/files/.keep +0 -0
- data/examples/rails_example/test/fixtures/users.yml +9 -0
- data/examples/rails_example/test/helpers/.keep +0 -0
- data/examples/rails_example/test/integration/.keep +0 -0
- data/examples/rails_example/test/mailers/.keep +0 -0
- data/examples/rails_example/test/models/.keep +0 -0
- data/examples/rails_example/test/models/book_test.rb +7 -0
- data/examples/rails_example/test/models/user_test.rb +7 -0
- data/examples/rails_example/test/system/.keep +0 -0
- data/examples/rails_example/test/system/books_test.rb +9 -0
- data/examples/rails_example/test/test_helper.rb +9 -0
- data/examples/rails_example/vendor/.keep +0 -0
- data/lib/omniauth-slooob.rb +1 -0
- data/lib/omniauth/slooob.rb +1 -0
- data/lib/omniauth/slooob/version.rb +7 -0
- data/lib/omniauth/strategies/slooob.rb +95 -0
- data/omniauth-slooob.gemspec +28 -0
- data/test/test.rb +239 -0
- metadata +265 -0
metadata
ADDED
@@ -0,0 +1,265 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: omniauth-slooob
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Slooob
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-08-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: omniauth
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.1.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.1.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: omniauth-oauth2
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.3.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.3.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: multi_json
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.12'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.12'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: shoulda
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.5'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.5'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: shoulda-let
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: tzinfo-data
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.2017'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.2017'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.49'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.49'
|
111
|
+
description: Slooob OAuth2 Strategy for OmniAuth. Built on Slooob Identity API v1.
|
112
|
+
email: developer@slooob.com
|
113
|
+
executables: []
|
114
|
+
extensions: []
|
115
|
+
extra_rdoc_files: []
|
116
|
+
files:
|
117
|
+
- ".github/issue_template.md"
|
118
|
+
- ".github/pull_request_template.md"
|
119
|
+
- ".gitignore"
|
120
|
+
- ".travis.yml"
|
121
|
+
- CHANGELOG.md
|
122
|
+
- CODE_OF_CONDUCT.md
|
123
|
+
- Gemfile
|
124
|
+
- LICENSE
|
125
|
+
- README.md
|
126
|
+
- Rakefile
|
127
|
+
- examples/omniauth.rb
|
128
|
+
- examples/rails_example/.gitignore
|
129
|
+
- examples/rails_example/Gemfile
|
130
|
+
- examples/rails_example/README.md
|
131
|
+
- examples/rails_example/Rakefile
|
132
|
+
- examples/rails_example/app/assets/config/manifest.js
|
133
|
+
- examples/rails_example/app/assets/images/.keep
|
134
|
+
- examples/rails_example/app/assets/javascripts/application.js
|
135
|
+
- examples/rails_example/app/assets/javascripts/books.coffee
|
136
|
+
- examples/rails_example/app/assets/javascripts/cable.js
|
137
|
+
- examples/rails_example/app/assets/javascripts/channels/.keep
|
138
|
+
- examples/rails_example/app/assets/javascripts/sessions.coffee
|
139
|
+
- examples/rails_example/app/assets/stylesheets/application.css
|
140
|
+
- examples/rails_example/app/assets/stylesheets/books.scss
|
141
|
+
- examples/rails_example/app/assets/stylesheets/scaffolds.scss
|
142
|
+
- examples/rails_example/app/assets/stylesheets/sessions.scss
|
143
|
+
- examples/rails_example/app/channels/application_cable/channel.rb
|
144
|
+
- examples/rails_example/app/channels/application_cable/connection.rb
|
145
|
+
- examples/rails_example/app/controllers/application_controller.rb
|
146
|
+
- examples/rails_example/app/controllers/books_controller.rb
|
147
|
+
- examples/rails_example/app/controllers/concerns/.keep
|
148
|
+
- examples/rails_example/app/controllers/sessions_controller.rb
|
149
|
+
- examples/rails_example/app/helpers/application_helper.rb
|
150
|
+
- examples/rails_example/app/helpers/books_helper.rb
|
151
|
+
- examples/rails_example/app/helpers/sessions_helper.rb
|
152
|
+
- examples/rails_example/app/jobs/application_job.rb
|
153
|
+
- examples/rails_example/app/mailers/application_mailer.rb
|
154
|
+
- examples/rails_example/app/models/application_record.rb
|
155
|
+
- examples/rails_example/app/models/book.rb
|
156
|
+
- examples/rails_example/app/models/concerns/.keep
|
157
|
+
- examples/rails_example/app/models/user.rb
|
158
|
+
- examples/rails_example/app/views/books/_book.json.jbuilder
|
159
|
+
- examples/rails_example/app/views/books/_form.html.erb
|
160
|
+
- examples/rails_example/app/views/books/edit.html.erb
|
161
|
+
- examples/rails_example/app/views/books/index.html.erb
|
162
|
+
- examples/rails_example/app/views/books/index.json.jbuilder
|
163
|
+
- examples/rails_example/app/views/books/new.html.erb
|
164
|
+
- examples/rails_example/app/views/books/show.html.erb
|
165
|
+
- examples/rails_example/app/views/books/show.json.jbuilder
|
166
|
+
- examples/rails_example/app/views/layouts/application.html.erb
|
167
|
+
- examples/rails_example/app/views/layouts/mailer.html.erb
|
168
|
+
- examples/rails_example/app/views/layouts/mailer.text.erb
|
169
|
+
- examples/rails_example/bin/bundle
|
170
|
+
- examples/rails_example/bin/rails
|
171
|
+
- examples/rails_example/bin/rake
|
172
|
+
- examples/rails_example/bin/setup
|
173
|
+
- examples/rails_example/bin/update
|
174
|
+
- examples/rails_example/bin/yarn
|
175
|
+
- examples/rails_example/config.ru
|
176
|
+
- examples/rails_example/config/application.rb
|
177
|
+
- examples/rails_example/config/boot.rb
|
178
|
+
- examples/rails_example/config/cable.yml
|
179
|
+
- examples/rails_example/config/database.yml
|
180
|
+
- examples/rails_example/config/environment.rb
|
181
|
+
- examples/rails_example/config/environments/development.rb
|
182
|
+
- examples/rails_example/config/environments/production.rb
|
183
|
+
- examples/rails_example/config/environments/test.rb
|
184
|
+
- examples/rails_example/config/initializers/application_controller_renderer.rb
|
185
|
+
- examples/rails_example/config/initializers/assets.rb
|
186
|
+
- examples/rails_example/config/initializers/backtrace_silencers.rb
|
187
|
+
- examples/rails_example/config/initializers/config.rb
|
188
|
+
- examples/rails_example/config/initializers/cookies_serializer.rb
|
189
|
+
- examples/rails_example/config/initializers/filter_parameter_logging.rb
|
190
|
+
- examples/rails_example/config/initializers/inflections.rb
|
191
|
+
- examples/rails_example/config/initializers/mime_types.rb
|
192
|
+
- examples/rails_example/config/initializers/omniauth.rb
|
193
|
+
- examples/rails_example/config/initializers/wrap_parameters.rb
|
194
|
+
- examples/rails_example/config/locales/en.yml
|
195
|
+
- examples/rails_example/config/puma.rb
|
196
|
+
- examples/rails_example/config/routes.rb
|
197
|
+
- examples/rails_example/config/secrets.yml
|
198
|
+
- examples/rails_example/config/settings.yml
|
199
|
+
- examples/rails_example/config/settings/development.yml
|
200
|
+
- examples/rails_example/config/settings/production.yml
|
201
|
+
- examples/rails_example/config/settings/test.yml
|
202
|
+
- examples/rails_example/db/migrate/20170827120704_create_books.rb
|
203
|
+
- examples/rails_example/db/migrate/20170827122351_create_users.rb
|
204
|
+
- examples/rails_example/db/schema.rb
|
205
|
+
- examples/rails_example/db/seeds.rb
|
206
|
+
- examples/rails_example/lib/assets/.keep
|
207
|
+
- examples/rails_example/lib/tasks/.keep
|
208
|
+
- examples/rails_example/log/.keep
|
209
|
+
- examples/rails_example/package.json
|
210
|
+
- examples/rails_example/public/404.html
|
211
|
+
- examples/rails_example/public/422.html
|
212
|
+
- examples/rails_example/public/500.html
|
213
|
+
- examples/rails_example/public/apple-touch-icon-precomposed.png
|
214
|
+
- examples/rails_example/public/apple-touch-icon.png
|
215
|
+
- examples/rails_example/public/favicon.ico
|
216
|
+
- examples/rails_example/public/robots.txt
|
217
|
+
- examples/rails_example/test/application_system_test_case.rb
|
218
|
+
- examples/rails_example/test/controllers/.keep
|
219
|
+
- examples/rails_example/test/controllers/books_controller_test.rb
|
220
|
+
- examples/rails_example/test/controllers/sessions_controller_test.rb
|
221
|
+
- examples/rails_example/test/fixtures/.keep
|
222
|
+
- examples/rails_example/test/fixtures/books.yml
|
223
|
+
- examples/rails_example/test/fixtures/files/.keep
|
224
|
+
- examples/rails_example/test/fixtures/users.yml
|
225
|
+
- examples/rails_example/test/helpers/.keep
|
226
|
+
- examples/rails_example/test/integration/.keep
|
227
|
+
- examples/rails_example/test/mailers/.keep
|
228
|
+
- examples/rails_example/test/models/.keep
|
229
|
+
- examples/rails_example/test/models/book_test.rb
|
230
|
+
- examples/rails_example/test/models/user_test.rb
|
231
|
+
- examples/rails_example/test/system/.keep
|
232
|
+
- examples/rails_example/test/system/books_test.rb
|
233
|
+
- examples/rails_example/test/test_helper.rb
|
234
|
+
- examples/rails_example/vendor/.keep
|
235
|
+
- lib/omniauth-slooob.rb
|
236
|
+
- lib/omniauth/slooob.rb
|
237
|
+
- lib/omniauth/slooob/version.rb
|
238
|
+
- lib/omniauth/strategies/slooob.rb
|
239
|
+
- omniauth-slooob.gemspec
|
240
|
+
- test/test.rb
|
241
|
+
homepage: https://developer.slooob.com/docs/api/identity/v1
|
242
|
+
licenses:
|
243
|
+
- MIT
|
244
|
+
metadata: {}
|
245
|
+
post_install_message:
|
246
|
+
rdoc_options: []
|
247
|
+
require_paths:
|
248
|
+
- lib
|
249
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
250
|
+
requirements:
|
251
|
+
- - ">="
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '2.0'
|
254
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
255
|
+
requirements:
|
256
|
+
- - ">="
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: '0'
|
259
|
+
requirements: []
|
260
|
+
rubyforge_project:
|
261
|
+
rubygems_version: 2.6.12
|
262
|
+
signing_key:
|
263
|
+
specification_version: 4
|
264
|
+
summary: Slooob OAuth2 strategy for OmniAuth
|
265
|
+
test_files: []
|