rails_sso 0.1.0 → 0.1.1

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: 5d21cea945bc44cb3fb84f1d2da048091d6f4661
4
- data.tar.gz: 9f4bef5ac2353b226593a063a301cad4f618818a
3
+ metadata.gz: bc9aa46a5a4f9f8f1eb953b0767ff310a99d636d
4
+ data.tar.gz: 8634957ce88048f9f0794e2154891b4ec4c3e6ad
5
5
  SHA512:
6
- metadata.gz: 8a2dd465782b4e9372594fbfd531edf0d769f0f285fbf663e8e2855ad12c348cfb0e8614ba75dc573b8d0fcd622ff0f7946efcc6e0b306cd24db7f56c26b9799
7
- data.tar.gz: 8efb688b7383bcb5aa783e610d94317ecd22fb7aa5f514d829da0cde7836f76ed3a42a5567a17a88516fb38b96314ace659d81bd829eec0e514c49c8691e694f
6
+ metadata.gz: c6f08399712ad5fc5c340ec4cd271cca3ae0097e43e159575f9ccbfcf22837d2a0bab38e3d59c6655d55d5680694c741b66092e5937afe2e3da55900418ebaf3
7
+ data.tar.gz: ec0be05841ad1a4438c79af271479a3922c0e24d71e5a119708b7f520362bd5099667b80f70ef01316d1a619c675b4bf6d4d6605180aa27ce62d8d79f7af3e05
@@ -8,7 +8,7 @@ module RailsSso
8
8
 
9
9
  def current_user
10
10
  @current_user ||= fetch_user do |user|
11
- update_user(user).call
11
+ cache_user(user)
12
12
  end
13
13
  end
14
14
 
@@ -57,7 +57,7 @@ module RailsSso
57
57
  end
58
58
  end
59
59
 
60
- def update_user(data)
60
+ def cache_user(data)
61
61
  RailsSso::UpdateUser.new(data, update_user_options).call
62
62
  end
63
63
 
@@ -1,3 +1,3 @@
1
1
  module RailsSso
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_sso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Dudulski