sbsm 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +5 -0
- data/lib/sbsm/session.rb +2 -2
- data/lib/sbsm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b8934dcd4cdbd63fead780bf5bf87af408d43d3
|
4
|
+
data.tar.gz: 9bddb67fbce3b770fa182691a3af7a57b74afbdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70d380793a5eead1e398f0ea38a9294fc34e7a661c03004bdcb5a4dd679dedefdd32e342f5c6a2ad0f4fe6e93e7591f022d2d413b72f1db0af78b868794c0e1d
|
7
|
+
data.tar.gz: 39ee8b6ccb16477c0726a20ae817abff227540e47ac1b87366702c8d4bf5aff5bc7e2cb787ed76c82d3174fcdb1629803361bd9f3356d6082e4eb650724f070e
|
data/History.txt
CHANGED
data/lib/sbsm/session.rb
CHANGED
@@ -210,6 +210,7 @@ module SBSM
|
|
210
210
|
@request_method =rack_request.request_method
|
211
211
|
@request_path = rack_request.path
|
212
212
|
@server_name = rack_request.env['SERVER_NAME']
|
213
|
+
@server_port = rack_request.env['SERVER_PORT']
|
213
214
|
logout unless @active_state
|
214
215
|
validator.reset_errors() if validator && validator.respond_to?(:reset_errors)
|
215
216
|
import_user_input(rack_request)
|
@@ -406,8 +407,7 @@ module SBSM
|
|
406
407
|
{'Content-Type' => 'text/plain'}
|
407
408
|
end
|
408
409
|
def http_protocol
|
409
|
-
|
410
|
-
&& @request.server_port == 443)
|
410
|
+
@http_protocol ||= if(@server_port && @server_port == 443) || ENV['SERVER_PORT']
|
411
411
|
'https'
|
412
412
|
else
|
413
413
|
'http'
|
data/lib/sbsm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbsm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaomi Hatakeyama, Zeno R.R. Davatz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|