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 +4 -4
- data/lib/torquebox/session/servlet_store.rb +4 -4
- data/lib/torquebox-web.jar +0 -0
- data/lib/torquebox-web.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20c6ab9f6cf7505205ec81132c358456764c3e3e
|
4
|
+
data.tar.gz: 9c78022b7971786454517c21cdc8a902c182cdcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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[
|
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.
|
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[
|
102
|
+
initial_keys = hash['TORQUEBOX_INITIAL_KEYS'] || []
|
103
103
|
removed_keys = initial_keys - hash.keys
|
104
|
-
hash.delete(
|
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)
|
data/lib/torquebox-web.jar
CHANGED
Binary file
|
data/lib/torquebox-web.rb
CHANGED
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.
|
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-
|
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:
|