encrypted_cookie_store-instructure 1.2.6 → 1.2.7

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: f1b7aff6c8074b413e1a4d0551fcab85ccaf6732
4
- data.tar.gz: b94f627a07f1ce9d92148b725036a6cab33ca077
3
+ metadata.gz: e37a6b9bf0aa55dcbbfdf8a52686fd6b2349cc56
4
+ data.tar.gz: 113ab2ca7905cf04e330770efa2a893ea6fed6cf
5
5
  SHA512:
6
- metadata.gz: dd4fc6a3d423ba3a30537848f7cf14cdcfff77c9f4b2366e66d2317b9b9bddc9994710075fbcd37c7e659f4818b859c1b474e3be4e04fce3b3fb65ccc12df04a
7
- data.tar.gz: 7cd4977213ccdbc0f2ac8008413bcc254743f67be5c7ec7f92403d95f0d1589f53079d7fcf20a3edcfcda518db40fbf10de7c2af342bedc47f9eaa9b81e5d764
6
+ metadata.gz: c2938713706c615ac71568ea954fa9afef63bdd96d4820a66d8f2c677cbbd89a60c77e018e296c2795a24ecbaa5d35d2f4b8477f4496882d0f28da996cc73f12
7
+ data.tar.gz: 897cd87b74af3d3e8d601105f9adde64fed1ce4e4d33d31541e09c121d52bbe2c8526df4491a5889839097b2bf24f0e14aca2e89c852eff7f98a5f5aeae4623d
@@ -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.6"
3
+ s.version = "1.2.7"
4
4
 
5
5
  s.authors = ["Cody Cutrer", "Jacob Fugal", "James Williams"]
6
6
  s.date = %q{2013-12-20}
@@ -97,7 +97,7 @@ module ActionDispatch
97
97
  data.stringify_keys!
98
98
  end
99
99
  data ||= {}
100
- set_header(req, 'encrypted_cookie_store.original_cookie', data.deep_dup.except(:timestamp))
100
+ set_header(req, 'encrypted_cookie_store.original_cookie', data.deep_dup.except('timestamp'))
101
101
  data
102
102
  end
103
103
  set_header(req, k, v)
@@ -108,7 +108,7 @@ module ActionDispatch
108
108
  class_eval <<-RUBY, __FILE__, __LINE__ + 1
109
109
  def #{write_session}(req, sid, session_data, options)
110
110
  session_data = super
111
- session_data.delete(:timestamp)
111
+ session_data.delete('timestamp')
112
112
  marshal(session_data, options)
113
113
  end
114
114
  RUBY
@@ -124,7 +124,7 @@ module ActionDispatch
124
124
  end
125
125
 
126
126
  def session_changed?(req, session)
127
- (session || {}).to_hash.stringify_keys.except(:timestamp) != (get_header(req, 'encrypted_cookie_store.original_cookie') || {})
127
+ (session || {}).to_hash.stringify_keys.except('timestamp') != (get_header(req, 'encrypted_cookie_store.original_cookie') || {})
128
128
  end
129
129
 
130
130
  def refresh_session?(req, options)
@@ -183,7 +183,7 @@ module ActionDispatch
183
183
  @logger.error("Could not unmarshal session_data: #{session_data.inspect}") if @logger
184
184
  end
185
185
 
186
- loaded_data[:timestamp] = timestamp if loaded_data && timestamp
186
+ loaded_data['timestamp'] = timestamp if loaded_data && timestamp
187
187
  loaded_data
188
188
  else
189
189
  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.6
4
+ version: 1.2.7
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.5.1
107
+ rubygems_version: 2.6.13
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: EncryptedCookieStore for Ruby on Rails 4.2