rails_sso 0.7.2 → 0.7.3

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: 711196df82c0e207ee6a15b7e1c5257d76696c31
4
- data.tar.gz: e0510629d812f29863ea37916eb683dc4dbdae7c
3
+ metadata.gz: 389217fd6895fcea8e52714dbe9545685a426418
4
+ data.tar.gz: 19efb143e87bb60e5602d889ea031fcca70eed69
5
5
  SHA512:
6
- metadata.gz: bf61f7908cbb6212e8385fc548df7493026dd141e8b234070fcc1e10c2e97a5bec053648906854f1c0c9b59e2d25a4405f3a3507f189e4be367e379db3115675
7
- data.tar.gz: d2d8d79b4b85b6ce91c52cd6c679671f720919b7e0a4065fbe0d329947fae8cda0fdaa5226d942a8aa5e3c70c9d3a42ed94e81ac9c64ddc93afe8b857cc5cfe2
6
+ metadata.gz: b545e43ecd0573875e50279ebdddbe2877a3de45d46bd8f7b9ac386a9c10ff72f95878c67700f61a6ea9261f3d2638263713902a4baae3964b5233d99153dea9
7
+ data.tar.gz: 65aa8faac4ec2a12adb5a04e9234707c9c502a0c449d7a24a2b57736648fa52ba5644bddb1884d213797018afa6068a3f3af1c13852dbd3734826c62ffb2bd1f
@@ -19,7 +19,7 @@ module RailsSso
19
19
  end
20
20
 
21
21
  def user_signed_in?
22
- warden.authenticated?
22
+ warden.authenticate?
23
23
  end
24
24
 
25
25
  def sign_in_with_access_token!(access_token)
@@ -1,3 +1,3 @@
1
1
  module RailsSso
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  end
@@ -12,8 +12,8 @@ class RailsSso::HelpersTest < ActionController::TestCase
12
12
  assert_equal @mock_warden, @controller.warden
13
13
  end
14
14
 
15
- test "proxy signed_in? to authenticated?" do
16
- @mock_warden.expects(:authenticated?).once
15
+ test "proxy signed_in? to authenticate?" do
16
+ @mock_warden.expects(:authenticate?).once
17
17
  @controller.user_signed_in?
18
18
  end
19
19
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Dudulski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-08 00:00:00.000000000 Z
11
+ date: 2015-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails