authpwn_rails 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +76 -54
- data/Gemfile.rails42 +1 -1
- data/VERSION +1 -1
- data/authpwn_rails.gemspec +3 -3
- data/lib/authpwn_rails/generators/templates/session_controller_test.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b095c66fb7394d72b05bd3c28f5c68a7c25c87ab
|
4
|
+
data.tar.gz: ccb3d3ce5a0ed4be9caf9ae575124d496dd3b89d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd79f304e8a6251c48e03ae823b09968344fbb6706023c3934606bb2c14a46da30a8e09fbc96c2bd2c3464680fe00398fe80b9e73bac1cad28dc45f752c20f34
|
7
|
+
data.tar.gz: 8086d3687c7cd22126e1d13863d39aa3f0e3ef179f54dfdf970863a960bb359c645351b203313a2d66416f78df41dbe6297deb896597d1867c83d439c5e2ffc2
|
data/Gemfile.lock
CHANGED
@@ -1,40 +1,49 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionmailer (4.
|
5
|
-
actionpack (= 4.
|
6
|
-
actionview (= 4.
|
4
|
+
actionmailer (4.2.0)
|
5
|
+
actionpack (= 4.2.0)
|
6
|
+
actionview (= 4.2.0)
|
7
|
+
activejob (= 4.2.0)
|
7
8
|
mail (~> 2.5, >= 2.5.4)
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
10
|
+
actionpack (4.2.0)
|
11
|
+
actionview (= 4.2.0)
|
12
|
+
activesupport (= 4.2.0)
|
13
|
+
rack (~> 1.6.0)
|
12
14
|
rack-test (~> 0.6.2)
|
13
|
-
|
14
|
-
|
15
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
16
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
17
|
+
actionview (4.2.0)
|
18
|
+
activesupport (= 4.2.0)
|
15
19
|
builder (~> 3.1)
|
16
20
|
erubis (~> 2.7.0)
|
17
|
-
|
18
|
-
|
21
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
22
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
23
|
+
activejob (4.2.0)
|
24
|
+
activesupport (= 4.2.0)
|
25
|
+
globalid (>= 0.3.0)
|
26
|
+
activemodel (4.2.0)
|
27
|
+
activesupport (= 4.2.0)
|
19
28
|
builder (~> 3.1)
|
20
|
-
activerecord (4.
|
21
|
-
activemodel (= 4.
|
22
|
-
activesupport (= 4.
|
23
|
-
arel (~>
|
24
|
-
activesupport (4.
|
25
|
-
i18n (~> 0.
|
29
|
+
activerecord (4.2.0)
|
30
|
+
activemodel (= 4.2.0)
|
31
|
+
activesupport (= 4.2.0)
|
32
|
+
arel (~> 6.0)
|
33
|
+
activesupport (4.2.0)
|
34
|
+
i18n (~> 0.7)
|
26
35
|
json (~> 1.7, >= 1.7.7)
|
27
36
|
minitest (~> 5.1)
|
28
|
-
thread_safe (~> 0.
|
37
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
29
38
|
tzinfo (~> 1.1)
|
30
39
|
addressable (2.3.6)
|
31
|
-
arel (
|
40
|
+
arel (6.0.0)
|
32
41
|
builder (3.2.2)
|
33
42
|
descendants_tracker (0.0.4)
|
34
43
|
thread_safe (~> 0.3, >= 0.3.1)
|
35
44
|
docile (1.1.5)
|
36
45
|
erubis (2.7.0)
|
37
|
-
faraday (0.9.
|
46
|
+
faraday (0.9.1)
|
38
47
|
multipart-post (>= 1.2, < 3)
|
39
48
|
ffi2-generators (0.1.1)
|
40
49
|
git (1.2.8)
|
@@ -46,10 +55,12 @@ GEM
|
|
46
55
|
multi_json (>= 1.7.5, < 2.0)
|
47
56
|
nokogiri (~> 1.6.3)
|
48
57
|
oauth2
|
49
|
-
|
58
|
+
globalid (0.3.0)
|
59
|
+
activesupport (>= 4.1.0)
|
60
|
+
hashie (3.3.2)
|
50
61
|
highline (1.6.21)
|
51
62
|
hike (1.2.3)
|
52
|
-
i18n (0.
|
63
|
+
i18n (0.7.0)
|
53
64
|
jeweler (2.0.1)
|
54
65
|
builder
|
55
66
|
bundler (>= 1.0)
|
@@ -59,22 +70,24 @@ GEM
|
|
59
70
|
nokogiri (>= 1.5.10)
|
60
71
|
rake
|
61
72
|
rdoc
|
62
|
-
json (1.8.
|
63
|
-
jwt (1.
|
73
|
+
json (1.8.2)
|
74
|
+
jwt (1.2.0)
|
75
|
+
loofah (2.0.1)
|
76
|
+
nokogiri (>= 1.5.9)
|
64
77
|
mail (2.6.3)
|
65
78
|
mime-types (>= 1.16, < 3)
|
66
79
|
metaclass (0.0.4)
|
67
80
|
mime-types (2.4.3)
|
68
|
-
mini_portile (0.6.
|
69
|
-
minitest (5.
|
81
|
+
mini_portile (0.6.2)
|
82
|
+
minitest (5.5.1)
|
70
83
|
mocha (1.1.0)
|
71
84
|
metaclass (~> 0.0.1)
|
72
85
|
multi_json (1.10.1)
|
73
86
|
multi_xml (0.5.5)
|
74
87
|
multipart-post (2.0.0)
|
75
|
-
mysql2 (0.3.
|
76
|
-
nokogiri (1.6.
|
77
|
-
mini_portile (
|
88
|
+
mysql2 (0.3.17)
|
89
|
+
nokogiri (1.6.5)
|
90
|
+
mini_portile (~> 0.6.0)
|
78
91
|
oauth2 (1.0.0)
|
79
92
|
faraday (>= 0.8, < 0.10)
|
80
93
|
jwt (~> 1.0)
|
@@ -84,28 +97,37 @@ GEM
|
|
84
97
|
omniauth (1.2.2)
|
85
98
|
hashie (>= 1.2, < 4)
|
86
99
|
rack (~> 1.0)
|
87
|
-
pg (0.
|
88
|
-
rack (1.
|
89
|
-
rack-test (0.6.
|
100
|
+
pg (0.18.1)
|
101
|
+
rack (1.6.0)
|
102
|
+
rack-test (0.6.3)
|
90
103
|
rack (>= 1.0)
|
91
|
-
rails (4.
|
92
|
-
actionmailer (= 4.
|
93
|
-
actionpack (= 4.
|
94
|
-
actionview (= 4.
|
95
|
-
|
96
|
-
|
97
|
-
|
104
|
+
rails (4.2.0)
|
105
|
+
actionmailer (= 4.2.0)
|
106
|
+
actionpack (= 4.2.0)
|
107
|
+
actionview (= 4.2.0)
|
108
|
+
activejob (= 4.2.0)
|
109
|
+
activemodel (= 4.2.0)
|
110
|
+
activerecord (= 4.2.0)
|
111
|
+
activesupport (= 4.2.0)
|
98
112
|
bundler (>= 1.3.0, < 2.0)
|
99
|
-
railties (= 4.
|
100
|
-
sprockets-rails
|
101
|
-
|
102
|
-
|
103
|
-
|
113
|
+
railties (= 4.2.0)
|
114
|
+
sprockets-rails
|
115
|
+
rails-deprecated_sanitizer (1.0.3)
|
116
|
+
activesupport (>= 4.2.0.alpha)
|
117
|
+
rails-dom-testing (1.0.5)
|
118
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
119
|
+
nokogiri (~> 1.6.0)
|
120
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
121
|
+
rails-html-sanitizer (1.0.1)
|
122
|
+
loofah (~> 2.0)
|
123
|
+
railties (4.2.0)
|
124
|
+
actionpack (= 4.2.0)
|
125
|
+
activesupport (= 4.2.0)
|
104
126
|
rake (>= 0.8.7)
|
105
127
|
thor (>= 0.18.1, < 2.0)
|
106
|
-
rake (10.
|
107
|
-
rb-readline (0.5.
|
108
|
-
rdoc (4.
|
128
|
+
rake (10.4.2)
|
129
|
+
rb-readline (0.5.2)
|
130
|
+
rdoc (4.2.0)
|
109
131
|
json (~> 1.4)
|
110
132
|
rubysl (2.1.0)
|
111
133
|
rubysl-abbrev (~> 2.0)
|
@@ -227,7 +249,7 @@ GEM
|
|
227
249
|
rubysl-e2mmap (2.0.0)
|
228
250
|
rubysl-english (2.0.0)
|
229
251
|
rubysl-enumerator (2.0.0)
|
230
|
-
rubysl-erb (2.0.
|
252
|
+
rubysl-erb (2.0.2)
|
231
253
|
rubysl-etc (2.0.3)
|
232
254
|
ffi2-generators (~> 0.1)
|
233
255
|
rubysl-expect (2.0.0)
|
@@ -250,7 +272,7 @@ GEM
|
|
250
272
|
rubysl-e2mmap (~> 2.0)
|
251
273
|
rubysl-mathn (~> 2.0)
|
252
274
|
rubysl-thread (~> 2.0)
|
253
|
-
rubysl-logger (2.
|
275
|
+
rubysl-logger (2.1.0)
|
254
276
|
rubysl-mathn (2.0.0)
|
255
277
|
rubysl-matrix (2.1.0)
|
256
278
|
rubysl-e2mmap (~> 2.0)
|
@@ -283,7 +305,7 @@ GEM
|
|
283
305
|
rubysl-profile (2.0.0)
|
284
306
|
rubysl-profiler (2.0.1)
|
285
307
|
rubysl-pstore (2.0.0)
|
286
|
-
rubysl-pty (2.0.
|
308
|
+
rubysl-pty (2.0.3)
|
287
309
|
rubysl-rake (2.0.0)
|
288
310
|
rubysl-date (~> 2.0)
|
289
311
|
rubysl-fileutils (~> 2.0)
|
@@ -299,7 +321,7 @@ GEM
|
|
299
321
|
rubysl-thread (~> 2.0)
|
300
322
|
rubysl-rational (2.0.1)
|
301
323
|
rubysl-resolv (2.1.0)
|
302
|
-
rubysl-rexml (2.0.
|
324
|
+
rubysl-rexml (2.0.4)
|
303
325
|
rubysl-rinda (2.0.1)
|
304
326
|
rubysl-rss (2.0.0)
|
305
327
|
rubysl-scanf (2.0.0)
|
@@ -311,7 +333,7 @@ GEM
|
|
311
333
|
rubysl-stringio (2.0.0)
|
312
334
|
rubysl-strscan (2.0.0)
|
313
335
|
rubysl-sync (2.0.0)
|
314
|
-
rubysl-syslog (2.0
|
336
|
+
rubysl-syslog (2.1.0)
|
315
337
|
ffi2-generators (~> 0.1)
|
316
338
|
rubysl-tempfile (2.0.1)
|
317
339
|
rubysl-thread (2.0.2)
|
@@ -327,7 +349,7 @@ GEM
|
|
327
349
|
rubysl-weakref (2.0.0)
|
328
350
|
rubysl-webrick (2.0.0)
|
329
351
|
rubysl-xmlrpc (2.0.0)
|
330
|
-
rubysl-yaml (2.0
|
352
|
+
rubysl-yaml (2.1.0)
|
331
353
|
rubysl-zlib (2.0.1)
|
332
354
|
simplecov (0.9.1)
|
333
355
|
docile (~> 1.1.0)
|
@@ -339,7 +361,7 @@ GEM
|
|
339
361
|
multi_json (~> 1.0)
|
340
362
|
rack (~> 1.0)
|
341
363
|
tilt (~> 1.1, != 1.3.0)
|
342
|
-
sprockets-rails (2.2.
|
364
|
+
sprockets-rails (2.2.2)
|
343
365
|
actionpack (>= 3.0)
|
344
366
|
activesupport (>= 3.0)
|
345
367
|
sprockets (>= 2.8, < 4.0)
|
data/Gemfile.rails42
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.17.
|
1
|
+
0.17.2
|
data/authpwn_rails.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: authpwn_rails 0.17.
|
5
|
+
# stub: authpwn_rails 0.17.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "authpwn_rails"
|
9
|
-
s.version = "0.17.
|
9
|
+
s.version = "0.17.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Victor Costan"]
|
14
|
-
s.date = "
|
14
|
+
s.date = "2015-01-11"
|
15
15
|
s.description = "Works with Facebook."
|
16
16
|
s.email = "victor@costan.us"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -148,6 +148,8 @@ class SessionControllerTest < ActionController::TestCase
|
|
148
148
|
'info' => { 'email' => 'new_user@gmail.com' } }
|
149
149
|
post :omniauth, provider: @omniauth_credential.provider
|
150
150
|
assert_not_nil session_current_user, 'session'
|
151
|
+
assert_equal true, Credentials::Email.with('new_user@gmail.com').verified?,
|
152
|
+
'newly created e-mail credential not verified'
|
151
153
|
assert_redirected_to session_url
|
152
154
|
end
|
153
155
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authpwn_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Costan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|