sbsm 1.5.0 → 1.5.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: 60e49c0bbf1c19f72b68e0ae0109d970f9e3849f
4
- data.tar.gz: dee70d2c1510d16abf7a473a2bc7489a9bcce48d
3
+ metadata.gz: d54dfb08f0b27dc20f788152dc58721b5a71d9f7
4
+ data.tar.gz: 78d415485525ac67216b43dc677a79e1bccd4bfb
5
5
  SHA512:
6
- metadata.gz: 8efe2e0d58360ce0823e8e9af80a370ddfe7586c709c4456c81022d89ae4bfc81337a2240e2813fc09db22fafa04dbaeb2a3f0b6f10950d3dc4305b70f609efa
7
- data.tar.gz: 52eefccd90f9a08e6e73035489f911e554b02637e07c8f220e35a785294b9567858db6f3cb8ceabfd64ffd4046e101a62888319f226a685b55ecf767f25637ae
6
+ metadata.gz: e05045a10f97fc9f884743d46c5cbf791fc9a6d826d6e2c7d6227a7b3ef9bac47f8aa211e94e0b7e8e765025195ec29e1c42a92502eb18b96d0bca2e6fb65d51
7
+ data.tar.gz: f7852b80aaa5d5199aafdda19d733048704375e5c26e9bf4e4d42c739747ce4949fd3c7dd3fa525eb855ff0aab372ef6a550a1437fe339c8214b737b5b090227
@@ -1,3 +1,7 @@
1
+ === 1.5.1 / 04.07.2017
2
+
3
+ * Return 302 if http_headers contain 'Location
4
+
1
5
  === 1.5.0 / 04.07.2017
2
6
 
3
7
  * Correct handling nil/empty values in cookie
@@ -121,7 +121,6 @@ module SBSM
121
121
  end
122
122
 
123
123
  return [400, {}, []] if /favicon.ico/i.match(request.path)
124
-
125
124
  Thread.current.thread_variable_set(:session, @session_store[session_id])
126
125
  session = Thread.current.thread_variable_get(:session)
127
126
  SBSM.debug "starting session_id #{session_id} session #{session.class} #{request.path}: cookies #{@cookie_name} are #{request.cookies} @cgi #{@cgi.class}"
@@ -159,6 +158,7 @@ module SBSM
159
158
  else
160
159
  SBSM.debug "finish session_id.2 #{session_id}: headers #{response.headers}"
161
160
  end
161
+ response.status = 302 if response.headers['Location']
162
162
  response.finish
163
163
  end
164
164
 
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module SBSM
2
- VERSION = '1.5.0'
2
+ VERSION = '1.5.1'
3
3
  end
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sbsm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaomi Hatakeyama, Zeno R.R. Davatz