gabba-gmp 0.0.5 → 0.0.6

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: a6e4086a057b28b3944d7a0a18bb92db0b58db33
4
- data.tar.gz: dd390b94ac1ad6aa59fdf24561b8b1fefa5e978f
3
+ metadata.gz: fa1fbbacd4ca5a11831eaa722996264acfa10816
4
+ data.tar.gz: 216b0557d338dae6f714eac54dfc3df6570a263a
5
5
  SHA512:
6
- metadata.gz: f42f220ad8d2938cb6d41623877cca980ed1af8d4ed1bfc27f8335bc798a06d463f8c1a4edf25fb7140ba979711254e21063a2c08c9ee554ec2378c9aa04377d
7
- data.tar.gz: 9a271f96641c8511bb1c9a9a6cfeccf9cfaea22ab531c10e583823962f95899b78031f311a16ce302fe71da11ebf2d3ee6abd13af198728a02a9c7373a30d6f9
6
+ metadata.gz: 64eace221e2ed9b8d30ef049b6322461c6e01d0e30bb90f7903387c613a50c58d13bdbfa19ee0190935e84093fe1b527ee396a210552ed1064a05699ea787e16
7
+ data.tar.gz: 61ec5d5326491020e9408bc807b4054d547b41286657d1ae477938ffbcdd897d89d59f41ccf5e89325f9cb6114be2f6cd1cf6a504a32ba0bbdc96be9b30885f4
@@ -64,7 +64,7 @@ module GabbaGMP
64
64
  user_agent: request.user_agent,
65
65
  user_language: preferred_language(request.accept_language)}
66
66
 
67
- @sessionopts[:document_referrer] = request.referrer if request.referrer.present?
67
+ @sessionopts[:document_referrer] = request.referrer if request.referrer.present? and !request.referrer.starts_with?("#{request.protocol}#{request.host_with_port}")
68
68
 
69
69
  debug = false
70
70
  end
@@ -1,5 +1,5 @@
1
1
  module GabbaGMP
2
2
  unless const_defined?('VERSION')
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gabba-gmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian West
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-25 00:00:00.000000000 Z
11
+ date: 2014-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-http-persistent