encrypted_cookie_store-instructure 1.2.5 → 1.2.6

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: df05e9c1c4340b57d0e57c858af2483a150e9cc0
4
- data.tar.gz: ad4c3d23b2eb66c38cfb5b0d38c596c9ac3405e7
3
+ metadata.gz: f1b7aff6c8074b413e1a4d0551fcab85ccaf6732
4
+ data.tar.gz: b94f627a07f1ce9d92148b725036a6cab33ca077
5
5
  SHA512:
6
- metadata.gz: acd33f53c1b66c4c89ad6636c8ff77b6b5e51acd89e51ae055e04c2d76958c5ea0d74b80f60826a2438029f95735a8c617032e00a5dc9364f12ebe5c4c5aa9a7
7
- data.tar.gz: b7256f8c118f700021be00425930116891b1fa46b649d7dbac0e8d56bdd91911a3972d64bd70e2584067eb3783f7ba94b5ebfbe7a46fba6c470d5fb70e8872d1
6
+ metadata.gz: dd4fc6a3d423ba3a30537848f7cf14cdcfff77c9f4b2366e66d2317b9b9bddc9994710075fbcd37c7e659f4818b859c1b474e3be4e04fce3b3fb65ccc12df04a
7
+ data.tar.gz: 7cd4977213ccdbc0f2ac8008413bcc254743f67be5c7ec7f92403d95f0d1589f53079d7fcf20a3edcfcda518db40fbf10de7c2af342bedc47f9eaa9b81e5d764
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{encrypted_cookie_store-instructure}
3
- s.version = "1.2.5"
3
+ s.version = "1.2.6"
4
4
 
5
5
  s.authors = ["Cody Cutrer", "Jacob Fugal", "James Williams"]
6
6
  s.date = %q{2013-12-20}
@@ -129,7 +129,7 @@ module ActionDispatch
129
129
 
130
130
  def refresh_session?(req, options)
131
131
  if options[:expire_after] && options[:refresh_interval] && time = timestamp(req)
132
- Time.now.utc.to_i > time + options[:refresh_interval]
132
+ Time.now.utc.to_i > time + options[:refresh_interval].to_i
133
133
  else
134
134
  false
135
135
  end
@@ -173,7 +173,7 @@ module ActionDispatch
173
173
  session_data = inflate(session_data) if compressed
174
174
  return nil unless digest == hmac_digest(iv, session_data, timestamp)
175
175
  if options[:expire_after]
176
- return nil unless timestamp && Time.now.utc.to_i <= timestamp + options[:expire_after]
176
+ return nil unless timestamp && Time.now.utc.to_i <= timestamp + options[:expire_after].to_i
177
177
  end
178
178
 
179
179
  loaded_data = nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: encrypted_cookie_store-instructure
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.6.11
107
+ rubygems_version: 2.5.1
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: EncryptedCookieStore for Ruby on Rails 4.2