devise_castle 1.3.0 → 1.3.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: cc0769f06d1d122c8aebf39d946c3c4b2ce20f5d
4
- data.tar.gz: be354869d44b0836832793cf49dc4411ebd3127f
3
+ metadata.gz: 43245bf115aa0218597885bc3ed9140b14dd5659
4
+ data.tar.gz: 5f65da1892251a537636b1b84e710c2e3430bf43
5
5
  SHA512:
6
- metadata.gz: 3ced01a712218d7609649797a0b527e7e039fc0a03615aa5b73539438674509df1e4768068ff2c2ac394aa9c151adbbe8bdd2fcb57cc7f6bd00e1f7ba6013161
7
- data.tar.gz: bd3341242d82c3b901e55420c2dde215f79d39105369cbabadfc3e8d0be5182b0b0ce878183711783c9450b879c921893cd1749ebfb9bfa3be99baeec8397aff
6
+ metadata.gz: d5e467806f6d9c0301ec39750bd1d20dee4bf2e2734accfe13c07e964bb4d3a0b4f46110eef2e4678324a6cce4b471ae148a4dca7241de1467bbd5a8cd7ca29e
7
+ data.tar.gz: 6d5d6dd38c8740ce9dedc2759fee06723152517a5a422ffbdf9dbff98e1ac6562fe2125c62cc2f100ffb3e60af952da03003c897349a3090595c2ba056edebc3
@@ -34,6 +34,9 @@ end
34
34
  Warden::Manager.after_set_user :except => :fetch do |record, warden, opts|
35
35
  if record.respond_to?(:castle_id)
36
36
  castle = warden.request.env['castle']
37
+ castle.identify(record._castle_id, {
38
+ email: record.email
39
+ })
37
40
  castle.track(user_id: record._castle_id, name: '$login.succeeded')
38
41
  end
39
42
  end
@@ -1,3 +1,3 @@
1
1
  module DeviseCastle
2
- VERSION = "1.3.0".freeze
2
+ VERSION = "1.3.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_castle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan Brissmyr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-27 00:00:00.000000000 Z
11
+ date: 2015-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.2'
33
+ version: 1.2.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.2'
40
+ version: 1.2.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement