socialite 0.1.0.pre.7 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 01df9175253d60e2265ee715f0526a8efade95e9
4
+ data.tar.gz: 619c45a8e6b0289f2719576241b7b01f62bad337
5
+ SHA512:
6
+ metadata.gz: c0447d575829374d3853925722d2f966a81ac3c7329f308b324ab340a5cbc2cdb19ea742b8500a763008ca0ae803b3e8b3dfdde999bfdd640da4ba65afb58c0a
7
+ data.tar.gz: c455988cb27d4ce000201f594354fe5c19d772a3ccce76e2e5cc57071ddea1f9093d4dbb4fc360b8ed68f84f7a1aa79bc088e4e06c30ace278f3ec3197c88ecf
@@ -1,9 +1,9 @@
1
1
  Socialite::Engine.routes.draw do
2
- match '/signup', :to => 'users#new'
3
- match '/auth/:provider/callback', :to => 'sessions#create'
2
+ match '/signup', :to => 'users#new', via: [:get]
3
+ match '/auth/:provider/callback', :to => 'sessions#create', via: [:post]
4
4
 
5
- match '/logout', :to => 'sessions#destroy', :as => 'logout'
6
- match '/login', :to => 'sessions#new', :as => 'login'
5
+ match '/logout', :to => 'sessions#destroy', :as => 'logout', via: [:all]
6
+ match '/login', :to => 'sessions#new', :as => 'login', via: [:get]
7
7
 
8
8
  resources :users # needed by omniauth-identity
9
9
  end
@@ -1,5 +1,6 @@
1
1
  require 'haml'
2
2
  require 'omniauth'
3
+ require 'protected_attributes' if Rails.version =~ /^4/
3
4
 
4
5
  module Socialite
5
6
  class Engine < ::Rails::Engine
@@ -1,3 +1,3 @@
1
1
  module Socialite
2
- VERSION = '0.1.0.pre.7'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -4,7 +4,7 @@ require File.expand_path('../boot', __FILE__)
4
4
  require "active_record/railtie"
5
5
  require "action_controller/railtie"
6
6
  require "action_mailer/railtie"
7
- require "active_resource/railtie"
7
+ # require "active_resource/railtie"
8
8
  require "sprockets/railtie"
9
9
  # require "rails/test_unit/railtie"
10
10
 
metadata CHANGED
@@ -1,304 +1,287 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socialite
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: 6
5
- version: 0.1.0.pre.7
4
+ version: 0.1.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Justin Smestad
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-28 00:00:00.000000000 Z
11
+ date: 2013-10-04 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
- type: :runtime
17
15
  requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ~>
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ - - <=
20
21
  - !ruby/object:Gem::Version
21
- version: 3.2.12
22
- none: false
22
+ version: '4.2'
23
+ type: :runtime
24
+ prerelease: false
23
25
  version_requirements: !ruby/object:Gem::Requirement
24
26
  requirements:
25
- - - ~>
27
+ - - '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - - <=
31
+ - !ruby/object:Gem::Version
32
+ version: '4.2'
33
+ - !ruby/object:Gem::Dependency
34
+ name: protected_attributes
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - '>='
26
38
  - !ruby/object:Gem::Version
27
- version: 3.2.12
28
- none: false
39
+ version: '0'
40
+ type: :runtime
29
41
  prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
30
47
  - !ruby/object:Gem::Dependency
31
48
  name: sass-rails
32
- type: :runtime
33
49
  requirement: !ruby/object:Gem::Requirement
34
50
  requirements:
35
- - - ! '>='
51
+ - - '>='
36
52
  - !ruby/object:Gem::Version
37
53
  version: '0'
38
- none: false
54
+ type: :runtime
55
+ prerelease: false
39
56
  version_requirements: !ruby/object:Gem::Requirement
40
57
  requirements:
41
- - - ! '>='
58
+ - - '>='
42
59
  - !ruby/object:Gem::Version
43
60
  version: '0'
44
- none: false
45
- prerelease: false
46
61
  - !ruby/object:Gem::Dependency
47
62
  name: haml
48
- type: :runtime
49
63
  requirement: !ruby/object:Gem::Requirement
50
64
  requirements:
51
- - - ! '>='
65
+ - - '>='
52
66
  - !ruby/object:Gem::Version
53
67
  version: '0'
54
- none: false
68
+ type: :runtime
69
+ prerelease: false
55
70
  version_requirements: !ruby/object:Gem::Requirement
56
71
  requirements:
57
- - - ! '>='
72
+ - - '>='
58
73
  - !ruby/object:Gem::Version
59
74
  version: '0'
60
- none: false
61
- prerelease: false
62
75
  - !ruby/object:Gem::Dependency
63
76
  name: omniauth
64
- type: :runtime
65
77
  requirement: !ruby/object:Gem::Requirement
66
78
  requirements:
67
79
  - - ~>
68
80
  - !ruby/object:Gem::Version
69
81
  version: 1.1.0
70
- none: false
82
+ type: :runtime
83
+ prerelease: false
71
84
  version_requirements: !ruby/object:Gem::Requirement
72
85
  requirements:
73
86
  - - ~>
74
87
  - !ruby/object:Gem::Version
75
88
  version: 1.1.0
76
- none: false
77
- prerelease: false
78
89
  - !ruby/object:Gem::Dependency
79
90
  name: omniauth-identity
80
- type: :runtime
81
91
  requirement: !ruby/object:Gem::Requirement
82
92
  requirements:
83
- - - ! '>='
93
+ - - '>='
84
94
  - !ruby/object:Gem::Version
85
95
  version: '0'
86
- none: false
96
+ type: :runtime
97
+ prerelease: false
87
98
  version_requirements: !ruby/object:Gem::Requirement
88
99
  requirements:
89
- - - ! '>='
100
+ - - '>='
90
101
  - !ruby/object:Gem::Version
91
102
  version: '0'
92
- none: false
93
- prerelease: false
94
103
  - !ruby/object:Gem::Dependency
95
104
  name: bcrypt-ruby
96
- type: :runtime
97
105
  requirement: !ruby/object:Gem::Requirement
98
106
  requirements:
99
- - - ! '>='
107
+ - - '>='
100
108
  - !ruby/object:Gem::Version
101
109
  version: 3.0.0
102
- none: false
110
+ type: :runtime
111
+ prerelease: false
103
112
  version_requirements: !ruby/object:Gem::Requirement
104
113
  requirements:
105
- - - ! '>='
114
+ - - '>='
106
115
  - !ruby/object:Gem::Version
107
116
  version: 3.0.0
108
- none: false
109
- prerelease: false
110
117
  - !ruby/object:Gem::Dependency
111
118
  name: simple_form
112
- type: :development
113
119
  requirement: !ruby/object:Gem::Requirement
114
120
  requirements:
115
- - - ! '>='
121
+ - - '>='
116
122
  - !ruby/object:Gem::Version
117
123
  version: '0'
118
- none: false
124
+ type: :development
125
+ prerelease: false
119
126
  version_requirements: !ruby/object:Gem::Requirement
120
127
  requirements:
121
- - - ! '>='
128
+ - - '>='
122
129
  - !ruby/object:Gem::Version
123
130
  version: '0'
124
- none: false
125
- prerelease: false
126
131
  - !ruby/object:Gem::Dependency
127
132
  name: omniauth-facebook
128
- type: :development
129
133
  requirement: !ruby/object:Gem::Requirement
130
134
  requirements:
131
- - - ! '>='
135
+ - - '>='
132
136
  - !ruby/object:Gem::Version
133
137
  version: '0'
134
- none: false
138
+ type: :development
139
+ prerelease: false
135
140
  version_requirements: !ruby/object:Gem::Requirement
136
141
  requirements:
137
- - - ! '>='
142
+ - - '>='
138
143
  - !ruby/object:Gem::Version
139
144
  version: '0'
140
- none: false
141
- prerelease: false
142
145
  - !ruby/object:Gem::Dependency
143
146
  name: omniauth-twitter
144
- type: :development
145
147
  requirement: !ruby/object:Gem::Requirement
146
148
  requirements:
147
- - - ! '>='
149
+ - - '>='
148
150
  - !ruby/object:Gem::Version
149
151
  version: '0'
150
- none: false
152
+ type: :development
153
+ prerelease: false
151
154
  version_requirements: !ruby/object:Gem::Requirement
152
155
  requirements:
153
- - - ! '>='
156
+ - - '>='
154
157
  - !ruby/object:Gem::Version
155
158
  version: '0'
156
- none: false
157
- prerelease: false
158
159
  - !ruby/object:Gem::Dependency
159
160
  name: sqlite3
160
- type: :development
161
161
  requirement: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - ! '>='
163
+ - - '>='
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
- none: false
166
+ type: :development
167
+ prerelease: false
167
168
  version_requirements: !ruby/object:Gem::Requirement
168
169
  requirements:
169
- - - ! '>='
170
+ - - '>='
170
171
  - !ruby/object:Gem::Version
171
172
  version: '0'
172
- none: false
173
- prerelease: false
174
173
  - !ruby/object:Gem::Dependency
175
174
  name: yard
176
- type: :development
177
175
  requirement: !ruby/object:Gem::Requirement
178
176
  requirements:
179
- - - ! '>='
177
+ - - '>='
180
178
  - !ruby/object:Gem::Version
181
179
  version: '0'
182
- none: false
180
+ type: :development
181
+ prerelease: false
183
182
  version_requirements: !ruby/object:Gem::Requirement
184
183
  requirements:
185
- - - ! '>='
184
+ - - '>='
186
185
  - !ruby/object:Gem::Version
187
186
  version: '0'
188
- none: false
189
- prerelease: false
190
187
  - !ruby/object:Gem::Dependency
191
188
  name: rspec-rails
192
- type: :development
193
189
  requirement: !ruby/object:Gem::Requirement
194
190
  requirements:
195
- - - ! '>='
191
+ - - '>='
196
192
  - !ruby/object:Gem::Version
197
193
  version: '0'
198
- none: false
194
+ type: :development
195
+ prerelease: false
199
196
  version_requirements: !ruby/object:Gem::Requirement
200
197
  requirements:
201
- - - ! '>='
198
+ - - '>='
202
199
  - !ruby/object:Gem::Version
203
200
  version: '0'
204
- none: false
205
- prerelease: false
206
201
  - !ruby/object:Gem::Dependency
207
202
  name: factory_girl_rails
208
- type: :development
209
203
  requirement: !ruby/object:Gem::Requirement
210
204
  requirements:
211
- - - ! '>='
205
+ - - '>='
212
206
  - !ruby/object:Gem::Version
213
207
  version: '0'
214
- none: false
208
+ type: :development
209
+ prerelease: false
215
210
  version_requirements: !ruby/object:Gem::Requirement
216
211
  requirements:
217
- - - ! '>='
212
+ - - '>='
218
213
  - !ruby/object:Gem::Version
219
214
  version: '0'
220
- none: false
221
- prerelease: false
222
215
  - !ruby/object:Gem::Dependency
223
216
  name: ffaker
224
- type: :development
225
217
  requirement: !ruby/object:Gem::Requirement
226
218
  requirements:
227
- - - ! '>='
219
+ - - '>='
228
220
  - !ruby/object:Gem::Version
229
221
  version: '0'
230
- none: false
222
+ type: :development
223
+ prerelease: false
231
224
  version_requirements: !ruby/object:Gem::Requirement
232
225
  requirements:
233
- - - ! '>='
226
+ - - '>='
234
227
  - !ruby/object:Gem::Version
235
228
  version: '0'
236
- none: false
237
- prerelease: false
238
229
  - !ruby/object:Gem::Dependency
239
230
  name: shoulda-matchers
240
- type: :development
241
231
  requirement: !ruby/object:Gem::Requirement
242
232
  requirements:
243
- - - ! '>='
233
+ - - '>='
244
234
  - !ruby/object:Gem::Version
245
235
  version: '0'
246
- none: false
236
+ type: :development
237
+ prerelease: false
247
238
  version_requirements: !ruby/object:Gem::Requirement
248
239
  requirements:
249
- - - ! '>='
240
+ - - '>='
250
241
  - !ruby/object:Gem::Version
251
242
  version: '0'
252
- none: false
253
- prerelease: false
254
243
  - !ruby/object:Gem::Dependency
255
244
  name: capybara
256
- type: :development
257
245
  requirement: !ruby/object:Gem::Requirement
258
246
  requirements:
259
- - - ! '>='
247
+ - - '>='
260
248
  - !ruby/object:Gem::Version
261
249
  version: 2.0.2
262
- none: false
250
+ type: :development
251
+ prerelease: false
263
252
  version_requirements: !ruby/object:Gem::Requirement
264
253
  requirements:
265
- - - ! '>='
254
+ - - '>='
266
255
  - !ruby/object:Gem::Version
267
256
  version: 2.0.2
268
- none: false
269
- prerelease: false
270
257
  - !ruby/object:Gem::Dependency
271
258
  name: database_cleaner
272
- type: :development
273
259
  requirement: !ruby/object:Gem::Requirement
274
260
  requirements:
275
- - - ! '>='
261
+ - - '>='
276
262
  - !ruby/object:Gem::Version
277
263
  version: '0'
278
- none: false
264
+ type: :development
265
+ prerelease: false
279
266
  version_requirements: !ruby/object:Gem::Requirement
280
267
  requirements:
281
- - - ! '>='
268
+ - - '>='
282
269
  - !ruby/object:Gem::Version
283
270
  version: '0'
284
- none: false
285
- prerelease: false
286
271
  - !ruby/object:Gem::Dependency
287
272
  name: ammeter
288
- type: :development
289
273
  requirement: !ruby/object:Gem::Requirement
290
274
  requirements:
291
- - - ! '>='
275
+ - - '>='
292
276
  - !ruby/object:Gem::Version
293
277
  version: '0'
294
- none: false
278
+ type: :development
279
+ prerelease: false
295
280
  version_requirements: !ruby/object:Gem::Requirement
296
281
  requirements:
297
- - - ! '>='
282
+ - - '>='
298
283
  - !ruby/object:Gem::Version
299
284
  version: '0'
300
- none: false
301
- prerelease: false
302
285
  description: Rails engine supporting multiple auth providers per user.
303
286
  email: justin.smestad@gmail.com
304
287
  executables: []
@@ -400,30 +383,26 @@ files:
400
383
  - spec/support/omniauth.rb
401
384
  homepage: http://github.com/jsmestad/socialite
402
385
  licenses: []
386
+ metadata: {}
403
387
  post_install_message:
404
388
  rdoc_options: []
405
389
  require_paths:
406
390
  - lib
407
391
  required_ruby_version: !ruby/object:Gem::Requirement
408
392
  requirements:
409
- - - ! '>='
393
+ - - '>='
410
394
  - !ruby/object:Gem::Version
411
- segments:
412
- - 0
413
- hash: 4120783235960115135
414
395
  version: '0'
415
- none: false
416
396
  required_rubygems_version: !ruby/object:Gem::Requirement
417
397
  requirements:
418
- - - ! '>'
398
+ - - '>='
419
399
  - !ruby/object:Gem::Version
420
- version: 1.3.1
421
- none: false
400
+ version: '0'
422
401
  requirements: []
423
402
  rubyforge_project:
424
- rubygems_version: 1.8.23
403
+ rubygems_version: 2.1.4
425
404
  signing_key:
426
- specification_version: 3
405
+ specification_version: 4
427
406
  summary: Rails engine supporting multiple auth providers per user.
428
407
  test_files:
429
408
  - spec/dummy/README.rdoc