authpwn_rails 0.17.1 → 0.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32109345928f563a79ad4bcf0eb49d53012a0ee9
4
- data.tar.gz: 23a263174be62eb9853a7a74aea220156c319cd9
3
+ metadata.gz: b095c66fb7394d72b05bd3c28f5c68a7c25c87ab
4
+ data.tar.gz: ccb3d3ce5a0ed4be9caf9ae575124d496dd3b89d
5
5
  SHA512:
6
- metadata.gz: c1fe2c3cbc72389b9d776c54a081e90b09bb988f7bc24bfe9efcba25372372b61e1788a02e88f8cd4ac9f8e2079228cf22c2cd2513ba935cf5a1eb084c61f569
7
- data.tar.gz: 7033ce674a9e6e87dcb8c6c693d80677e12f4c96cc0a9b397814ac7745313af7bf0e85dda9138645f4f3f044b62e9b33cfe5a9cf8e2968446a8d802ca524c12e
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.1.7)
5
- actionpack (= 4.1.7)
6
- actionview (= 4.1.7)
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
- actionpack (4.1.7)
9
- actionview (= 4.1.7)
10
- activesupport (= 4.1.7)
11
- rack (~> 1.5.2)
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
- actionview (4.1.7)
14
- activesupport (= 4.1.7)
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
- activemodel (4.1.7)
18
- activesupport (= 4.1.7)
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.1.7)
21
- activemodel (= 4.1.7)
22
- activesupport (= 4.1.7)
23
- arel (~> 5.0.0)
24
- activesupport (4.1.7)
25
- i18n (~> 0.6, >= 0.6.9)
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.1)
37
+ thread_safe (~> 0.3, >= 0.3.4)
29
38
  tzinfo (~> 1.1)
30
39
  addressable (2.3.6)
31
- arel (5.0.1.20140414130214)
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.0)
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
- hashie (3.3.1)
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.6.11)
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.1)
63
- jwt (1.0.0)
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.0)
69
- minitest (5.4.2)
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.16)
76
- nokogiri (1.6.3.1)
77
- mini_portile (= 0.6.0)
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.17.1)
88
- rack (1.5.2)
89
- rack-test (0.6.2)
100
+ pg (0.18.1)
101
+ rack (1.6.0)
102
+ rack-test (0.6.3)
90
103
  rack (>= 1.0)
91
- rails (4.1.7)
92
- actionmailer (= 4.1.7)
93
- actionpack (= 4.1.7)
94
- actionview (= 4.1.7)
95
- activemodel (= 4.1.7)
96
- activerecord (= 4.1.7)
97
- activesupport (= 4.1.7)
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.1.7)
100
- sprockets-rails (~> 2.0)
101
- railties (4.1.7)
102
- actionpack (= 4.1.7)
103
- activesupport (= 4.1.7)
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.3.2)
107
- rb-readline (0.5.1)
108
- rdoc (4.1.2)
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.1)
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.0.0)
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.2)
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.3)
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.1)
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.4)
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.0)
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
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '>= 4.2.0.beta2'
3
+ gem 'rails', '>= 4.2.0'
4
4
 
5
5
  group :development do
6
6
  gem 'bundler', '>= 1.6.2'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.17.1
1
+ 0.17.2
@@ -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.1 ruby lib
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.1"
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 = "2014-11-07"
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.1
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: 2014-11-07 00:00:00.000000000 Z
11
+ date: 2015-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails