ga_events 1.3.0 → 1.3.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: acab037a84ed4bd6ff892744d24c0270023055af
4
- data.tar.gz: 6da543d25941f0128285fe2964d94118b1c6a1e1
3
+ metadata.gz: 5f618bcb8b6143f0b27f0635ba07f7a03bf43314
4
+ data.tar.gz: 243dbd6ab50485f12ef605804645f31a216b57c7
5
5
  SHA512:
6
- metadata.gz: b2fccbaa3ef57085a8676e4e639241da81b4cf460adf1bbc86180ba6ecf15446cacc1dcda3934890a999f7b21804980d6f00b0785b249f43b96ed2f4819c397a
7
- data.tar.gz: 3cdda60841102469a07254d7d5be1b5b9629f71391f79df423633367cacdb02a845e9dcacd8f439b4efed4b3b8a0f2aea65b21e5278a19943632be166034ad4a
6
+ metadata.gz: 5f6d47efb06212449d9c5d73ef7b7a9dd7fc159ec96083791e161bccfba041e153442b3eef6d9c4cf785bf60a1d465e740b78158e4a2e14ed360ff8f07c8d65d
7
+ data.tar.gz: 72d65902c21450bcb1f6e2220d7d01680a3c1745bfdd38d57785831a5c93d8bc07536082a630b2d7f45049ad1a791cb27ca9699261df1afe2931b0bd2d1c0baa
@@ -50,6 +50,9 @@ module GaEvents
50
50
  flash_hash = env[ActionDispatch::Flash::KEY]
51
51
  flash_hash ||= ActionDispatch::Flash::FlashHash.new
52
52
  flash_hash['ga_events'] = serialized_data
53
+ # Discard the flash after the action completes.
54
+ flash_hash.discard('ga_events')
55
+
53
56
  env[ActionDispatch::Flash::KEY] = flash_hash
54
57
  end
55
58
 
@@ -1,3 +1,3 @@
1
1
  module GaEvents
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ga_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Dütsch
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-11 00:00:00.000000000 Z
12
+ date: 2018-03-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails