uber_login 2.4.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 486ae4c5cd1a314ac877a4d84773fb38077a1a22
4
- data.tar.gz: 17a9693c253f50c0cba6a99b5af58e756b70aa05
3
+ metadata.gz: 7d8b8df00cb1f342d865a3248d3bdb40511a7af0
4
+ data.tar.gz: cc41758c688725a0928918476d1644d8f0954e2f
5
5
  SHA512:
6
- metadata.gz: 7deb1c6e5071694721e25d65afedd998fc309a44695b3ef38cd067fcba40b2c1e71d604597ae235327951ac943869c0b02e5f9b9d1a643d5f1cde8599b28a8f2
7
- data.tar.gz: a972299c2877d62da55d80122bc4844478a7426016eac0749d9ba2dd2485099d4da74cf27c7b9fd62ab3fd33d0043f5d1a1174dd9b040a1fe173c5797db6f481
6
+ metadata.gz: 8baa695e7e7724574850224cdf6833141d09dfdd5bc33157ad0152ba6a48c6a75cfb561695d0226d6fa0bc16276f069c59e704ac128eb6786ee7f60f5473c00c
7
+ data.tar.gz: 6dea523f7d3ec71187fba5e11cf5db1d41e23a87f21014c8f585392576d572c187ee032e459feb190ee0f4db563630967518f56c5f608d0c2697ec3a1856c9db
data/lib/uber_login.rb CHANGED
@@ -53,7 +53,6 @@ module UberLogin
53
53
  composite = nil
54
54
  end
55
55
 
56
- reset_session
57
56
  session_manager.login(uid, composite)
58
57
  @current_user = user
59
58
  end
@@ -69,6 +68,7 @@ module UberLogin
69
68
  delete_from_database if cookies[:uid] or strong_sessions
70
69
  session_manager.clear
71
70
  cookie_manager.clear
71
+ reset_session
72
72
  else
73
73
  delete_from_database(sequence)
74
74
  end
@@ -121,7 +121,6 @@ module UberLogin
121
121
  @login_from_cookies = true
122
122
 
123
123
  run_callbacks :login do
124
- reset_session
125
124
  session[:uid] = cookies[:uid]
126
125
  generate_new_token
127
126
  session[:ulogin] = cookies[:ulogin]
@@ -1,3 +1,3 @@
1
1
  module UberLogin
2
- VERSION = '2.4.1'
2
+ VERSION = '3.0.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uber_login
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Boffa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-19 00:00:00.000000000 Z
11
+ date: 2015-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: useragent