torquebox-web 3.1.0-java → 3.1.1-java

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: c433ef7d9a355458a7f1e5828d15baac2a24a047
4
- data.tar.gz: e0c714c47b8f2abe93b56822369918a9f9fb22ab
3
+ metadata.gz: 20c6ab9f6cf7505205ec81132c358456764c3e3e
4
+ data.tar.gz: 9c78022b7971786454517c21cdc8a902c182cdcc
5
5
  SHA512:
6
- metadata.gz: 00f5016668fcfe846c1a8da4f006476e3162e5f89acdcc2502ccf172f77c2b64526a9846888250a51cff09387a64a11382177d6abe13e4ed2392ec1ae2f2991c
7
- data.tar.gz: 79fa17fadc09a94287ae38181a082746a241ab18b83a04330b528c0c9228bcc78c093b24722973c351b767a34c380c6299c97f4c9ce028dc702a592300f2508a
6
+ metadata.gz: 6e68efdfb1f31637b4f4ac733ccd7fb4874442a8ed7b96910d2fbc35a0a87f2c19bb8e279835885e4c7239e29e687c068ac58b6b09f659ffbf1bcae2201ff207
7
+ data.tar.gz: b53683a266d89a1846aaeb388d48d3426c5948d7a4387ab3f3c6f7cbca244eba0ceaa33295284b1bc67715feac2faac1932c2838acb24ace1bb7a47a3f126004
@@ -90,18 +90,18 @@ module TorqueBox
90
90
  end
91
91
  initial_keys = session_data.keys
92
92
  session_data[:session_id] = session.getId()
93
- session_data[:TORQUEBOX_INITIAL_KEYS] = initial_keys
93
+ session_data['TORQUEBOX_INITIAL_KEYS'] = initial_keys
94
94
  end
95
95
  session_data
96
96
  end
97
97
 
98
98
  def self.store_session_data(session, session_data)
99
- hash = session_data.dup
99
+ hash = session_data.to_hash
100
100
  # java session shouldn't be marshalled
101
101
  hash.java_session = nil if hash.respond_to?(:java_session=)
102
- initial_keys = hash[:TORQUEBOX_INITIAL_KEYS] || []
102
+ initial_keys = hash['TORQUEBOX_INITIAL_KEYS'] || []
103
103
  removed_keys = initial_keys - hash.keys
104
- hash.delete(:TORQUEBOX_INITIAL_KEYS)
104
+ hash.delete('TORQUEBOX_INITIAL_KEYS')
105
105
  hash.delete_if do |key,value|
106
106
  # I don't think this guard is really necessary
107
107
  if ( Symbol === key or String === key)
Binary file
data/lib/torquebox-web.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module TorqueboxWeb
2
- VERSION = '3.1.0'
3
- MAVEN_VERSION = '3.1.0'
2
+ VERSION = '3.1.1'
3
+ MAVEN_VERSION = '3.1.1'
4
4
  end
5
5
  begin
6
6
  require 'java'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torquebox-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: java
6
6
  authors:
7
7
  - The TorqueBox Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-24 00:00:00.000000000 Z
11
+ date: 2014-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -50,8 +50,8 @@ files:
50
50
  - lib/torquebox-web.rb
51
51
  - lib/gem_hook.rb
52
52
  - lib/action_controller/session/torque_box_store.rb
53
- - lib/action_dispatch/session/torque_box_store.rb
54
53
  - lib/torquebox/session/servlet_store.rb
54
+ - lib/action_dispatch/session/torque_box_store.rb
55
55
  - spec/servlet_store_spec.rb
56
56
  homepage: http://torquebox.org/
57
57
  licenses: