rails_compatible_cookies_utils 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: bc47b3f417503da1fc90fb24f1551e5cc8976a82
4
- data.tar.gz: e026fdd8cd7dc13534b7ad672547a325d9ff6ee1
3
+ metadata.gz: 02c0be37b16ad6ca99148598f053a98c6efeb132
4
+ data.tar.gz: ab9df9080a6483e7e4c92d9cf13a0388896e69e2
5
5
  SHA512:
6
- metadata.gz: 39986363fb9e3c772bebb8009fab0baad886423be46a57f67e2eda138c2dae59d3b86ac92c90401c0ffb17ae4c8b8ef2f4c53890c1209721c621f8dc841a8135
7
- data.tar.gz: 488e3381c9765bde6d4aa9380a12629b85d0e0c3f750cd46438e15c7eb91a8fad5540179135d9785ee85c9f1513569f4ad75d00a6316dd31e339d80cc8dec25d
6
+ metadata.gz: 1cc470ef5bd4d4ba774c16dfe897d8313a5844fe56ea8b541b516e5a9a8cff8946ad1060decd60bc4ebdd86c8cce2f1e697b136eb859fe7321fe0b93b86017a7
7
+ data.tar.gz: 390602c2b1697468ea26d0026ed50d2ccb6c77b25a2df6241f4ba0160f3af53e7817657fc22695d7d8984a08b7a4f2a6507c5e0c0936e7df9f67c2145c696446
data/.travis.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.1
4
- before_install: gem install bundler -v 1.11.2
3
+ - 2.4.0
4
+ before_install: gem install bundler -v 1.13.7
@@ -61,7 +61,7 @@ class RailsCompatibleCookiesUtils
61
61
  end
62
62
 
63
63
  def encrypted_secret
64
- @encrypted_secret ||= generate_key @encrypted_salt
64
+ @encrypted_secret ||= generate_key(@encrypted_salt)[0, 32]
65
65
  end
66
66
 
67
67
  def generate_key(salt)
@@ -1,3 +1,3 @@
1
1
  class RailsCompatibleCookiesUtils
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_compatible_cookies_utils
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
  - Rodrigo Rosenfeld Rosas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-13 00:00:00.000000000 Z
11
+ date: 2017-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.5.1
94
+ rubygems_version: 2.6.8
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Provides utility methods to read and write cookies shared with a Rails app