omniauth-sandstorm 0.1.0 → 1.0.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: 03051ded661ca7c55a1be3fca392e7076561e4d3
4
- data.tar.gz: becf3d1ed456ed12694afb914a4dd54152ceebf9
3
+ metadata.gz: 40a2223b2faf264882c6f729fd806475f43fdeb8
4
+ data.tar.gz: c13d1956ad8468e48627138adfb861ac36cd1788
5
5
  SHA512:
6
- metadata.gz: c33a9924c03c0211d57bac9549bceb85dcb2def56d31cd856fb2f971c5875987a874ce7aa0891d4f112aefd3cf72a021af2dc4b67ec5bafb2ae6db7a5bf45d15
7
- data.tar.gz: 6c2ee73f019d0014e358a943a273e0c6db0df026702b37f9401b665e07acf50b91f8c3f428426a53c6b27689c1fe8a2007673e3e576572fc749a67fd6fc0d640
6
+ metadata.gz: e6f1f11ccbbe001454e48d784891fc0d4602dfa7ba2c4bc344c69e7bae02a32512f7c6b20681410a05e1b9f3f70199fa224269a02fe025348f000655653b6f64
7
+ data.tar.gz: ff3566fd3a056a7109f3c39cbdcbfdfd648e2a91839d5466cec685556dff73803c7f89c4f07e27114a1652830f2449bee5f65247dca0b53b99f7e3f5b49ac095
@@ -16,6 +16,6 @@ require 'omniauth-sandstorm/version'
16
16
  require 'omniauth/strategies/sandstorm'
17
17
  module OmniAuth
18
18
  module Sandstorm
19
- VERSION = "0.1.0"
19
+ VERSION = '1.0.0'
20
20
  end
21
21
  end
@@ -36,7 +36,7 @@ module OmniAuth
36
36
  end
37
37
 
38
38
  uid do
39
- sandstorm_header :user_id
39
+ sandstorm_header(:user_id) || "anon-#{SecureRandom.hex(16)}"
40
40
  end
41
41
 
42
42
  info do
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'omniauth-sandstorm'
3
- s.version = File.read('lib/omniauth-sandstorm/version.rb')[/VERSION = "(.*)"/, 1]
3
+ s.version = File.read('lib/omniauth-sandstorm/version.rb')[/VERSION = '(.*)'/, 1]
4
4
  s.authors = ['Steven Dee']
5
5
  s.email = ['steve@smartercode.net']
6
6
  s.homepage = 'https://github.com/mrdomino/omniauth-sandstorm'
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: 0.1.0
4
+ version: 1.0.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-03-28 00:00:00.000000000 Z
11
+ date: 2016-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth