omniauth-sandstorm 1.0.1 → 1.1.0

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: 18efd5a55314ff43921d5cc50767cccc62586233
4
- data.tar.gz: 2991b688156f74caf34b972e97193403a17388d1
3
+ metadata.gz: 6a5b3fa16bcf624788354ef2879be471ba8e6e1d
4
+ data.tar.gz: 5e7a2df725e46b9d0c8ddb2ea9b04421a45f4762
5
5
  SHA512:
6
- metadata.gz: 184034f95600f55e43dc4a8ebf703a8ecaf22baa96d2944af8a841ca3ee494148809e981b702a3cd2bf1edff3b15c76e24e4ddaa81224d0b1d7f5d6e21642428
7
- data.tar.gz: 80a8cc2e4ef4c638ef60c7204a011f543d0a590cb94797ed25b5a2f9be84bb896611d683f3a35c0b3527cd2afdabd0b7cd3513914dbc07106df6fa2ae12cffde
6
+ metadata.gz: 944523fdacb014ad9445dca1d4628108c32a53bfe390a601af0ae3788371314abc63c6bfe9de5319f2b464dd13b49abd0141efdce533189cbe401808d5ff81f7
7
+ data.tar.gz: a1327001355b78c6b54fcf55992e54a0f606c6d787571871fc36838bc7063f315a29bc72873ee06e5d0d245b02f3c9477cffa00aaf3f90f00556ec4bb22a4744
@@ -16,6 +16,6 @@ require 'omniauth-sandstorm/version'
16
16
  require 'omniauth/strategies/sandstorm'
17
17
  module OmniAuth
18
18
  module Sandstorm
19
- VERSION = '1.0.1'
19
+ VERSION = '1.1.0'
20
20
  end
21
21
  end
@@ -36,11 +36,7 @@ module OmniAuth
36
36
  end
37
37
 
38
38
  uid do
39
- sandstorm_header(:user_id) || anon_uid
40
- end
41
-
42
- def anon_uid
43
- @anon_uid ||= "anon-#{SecureRandom.hex}"
39
+ sandstorm_header(:user_id) || sandstorm_header(:tab_id)
44
40
  end
45
41
 
46
42
  info do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-sandstorm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Dee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-04 00:00:00.000000000 Z
11
+ date: 2016-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth