sbsm 1.4.3 → 1.4.4

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: 628fb2c05a02cc101b12decbfd9adb36841c6708
4
- data.tar.gz: 2ac44dd32371d5ba87c6ff48f5e33f0348a84f96
3
+ metadata.gz: 1db395aa1ea70e2bc31c7d76d63358c12f5058ed
4
+ data.tar.gz: de51fc22ab70cc86a8698d794b1e2427ed16ce2f
5
5
  SHA512:
6
- metadata.gz: 2a8511976a0371bd485a08ef740fe1c7983cf55c4fb65edfa9a8afee7d69ae2ff88adac5d20450949202a10fac9795ea3ffda58caef2e552ab266c4daf94ac14
7
- data.tar.gz: 830b11c719faa20a247697d72b571ff7ad8273bbb26ac4176d13a639ce604715b9371fddfe39e3e8a895d57d782f3af4f1085b03f40d22aa6fd5636f6729540d
6
+ metadata.gz: 815d1782d4ddeea0dede3453ad15aa43976f744ca6dd2888000f1a726d0d8ae95861779dada55ac8638387cce3b6f5ede94745c2d10bb11253cc795e744d22d2
7
+ data.tar.gz: 6737ce7a30a88ed7538097f58ed3e5729e8683ab98def7407a270b57291be555b9a72cbfbffb12272d8afebb5f13f40e7dc5a1252cc68335f8ebb805014582cf
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.4.4 / 12.06.2017
2
+
3
+ * Fix remote_ip for POST processing in xmlconf
4
+
1
5
  === 1.4.3 / 06.06.2017
2
6
 
3
7
  * Allow access to request_origin and request_params for POST processing in xmlconf
data/lib/sbsm/session.rb CHANGED
@@ -217,6 +217,7 @@ module SBSM
217
217
  end
218
218
  @request_origin += '://'
219
219
  @request_origin += rack_request.env['REMOTE_ADDR'] if rack_request.env['REMOTE_ADDR']
220
+ @remote_ip = rack_request.env['HTTP_X_FORWARDED_FOR']
220
221
  end
221
222
  @server_name = rack_request.env['SERVER_NAME']
222
223
  @server_port = rack_request.env['SERVER_PORT']
data/lib/sbsm/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SBSM
2
- VERSION = '1.4.3'
2
+ VERSION = '1.4.4'
3
3
  end
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.3
4
+ version: 1.4.4
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-06-06 00:00:00.000000000 Z
11
+ date: 2017-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack