castle-rb 1.0.2 → 1.0.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: b4cc5441e3721f6feb35cad391d2e3b960bff712
4
- data.tar.gz: aac3d4439480e39c55f8c9292f4fbb83918e5c09
3
+ metadata.gz: a3a8212f401e96bca00941c476250c20bcbfb510
4
+ data.tar.gz: 69938698cfdb2e555b201114253f25e5f40d5e26
5
5
  SHA512:
6
- metadata.gz: 15ea75082457adbea13e062dcf699f308f0a1d3fc643cb3a94cb507fb4f2d4b5f1a1e5d886a74727a8925318a99b86f52ad1c84b8199874a908bf9357aa40e80
7
- data.tar.gz: db09410d295416bc716844a7ecd6b1165e5bd4cd46b1e25cb987bfb3eee5cf13d5efeb47819166c68b4e3df443d63b1a0269be7db0838cec32b1f1ace24cdabf
6
+ metadata.gz: 41ccf0c06303a7ee8515ca383dcb562591f53f35f3ab0fbf19f53cad8d5bc6c7d40744a6d109b0f041cc3d6b5e83a6fcf52e7a1a520209225d554fb231294cb2
7
+ data.tar.gz: 7d745884d3bdefb0b0e5f0897c80a1da0f2dba12f509691caad0c27871a1e1d2048fe78d452f4f86dbbc007db9bc7d35a828f89db1668df0c6629dc5345bff33
data/lib/castle/client.rb CHANGED
@@ -33,7 +33,7 @@ module Castle
33
33
  @request_context = {
34
34
  ip: request.ip,
35
35
  user_agent: request.user_agent,
36
- cookie_id: cookies['__cid']
36
+ cookie_id: cookies['__cid'] || ''
37
37
  }
38
38
  end
39
39
 
@@ -1,3 +1,3 @@
1
1
  module Castle
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: castle-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-01 00:00:00.000000000 Z
11
+ date: 2015-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: her