optimus_prime 4.10.2 → 4.10.3

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: 550fa40ea8a87d33602104506ec62db55c23e912
4
- data.tar.gz: 390ff50f4868d3708fe9004073f1dd623033c1db
3
+ metadata.gz: 9dd9e8ceeeb702906ee20396cc1ff13ec168b018
4
+ data.tar.gz: 987011641c7ca2d72792fe11fc330718641fd177
5
5
  SHA512:
6
- metadata.gz: 6d409c7a3c70a87461eb824667b7114fb61594bfc33376fc7c7e9990bc67d716df732e6a6a6ae1ac0792e4efa97a40531d23fb86ee96dc657b318fabf1d6f1e4
7
- data.tar.gz: 4cc901132b51f3bafee07877784f844d8fddb92d899d59d10189fee159e7aa7192de6f81c8a271f6e0619b2894ac19a78be8999b40c393181fc789b7351a21bd
6
+ metadata.gz: 6ba4670b62df8500975ab1d595c4ffa68a198ad386147c92efab9268616b635eb15b9ffd440b5445a88f861c75587d3c4c8d695ee8928f59bc97ca3dac03c743
7
+ data.tar.gz: 8015389702b692e1339896d1aac1d50f5a369f67d3a4923379646799f610b837d31963f17a4815188fb9613d9d0f2b0f0da8c93cc79a8a425f1273a1b1852fc5
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,3 +1,3 @@
1
1
  module OptimusPrime
2
- VERSION = "4.10.2"
2
+ VERSION = "4.10.3"
3
3
  end
data/lib/optimus_prime.rb CHANGED
@@ -12,7 +12,8 @@ module OptimusPrime
12
12
 
13
13
  if match = env["QUERY_STRING"].match(/_OpID=(\d){13}-(\d){5}(.*)?/)
14
14
 
15
- if path_to_be_prepended = match[match.size - 1]
15
+ path_to_be_prepended = match[match.size - 1]
16
+ if path_to_be_prepended != "" && path_to_be_prepended != nil
16
17
  timestamps = env["QUERY_STRING"].match(/[_OpID=](\d){13}-(\d){5}/)
17
18
 
18
19
  path_to_be_prepended.insert(0, '/') unless path_to_be_prepended.start_with?('/')
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optimus_prime
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.10.2
4
+ version: 4.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antonio Nalesso
metadata.gz.sig CHANGED
Binary file