workarea-listrak 5.0.3 → 5.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: adc6b2b9f326e598e599a6051a0d31a331c07991160fe644ac56bdf223ebf874
4
- data.tar.gz: af9c49ae07e17142cd958332ad3eb87b23e6c0be4c60ced7c071b77830cfe972
3
+ metadata.gz: a825266c025647ac12f7ac920a5f5d9aa62cd1d1fef0a6398ee133be10bcaf45
4
+ data.tar.gz: 87191f77c8bf498d083f750275bbb89b8ab0400a2cc196884d92cf06aed7f9e7
5
5
  SHA512:
6
- metadata.gz: 4aeeb4a36e112aba784ae1653ca47e1af635017ebe24fde80636f7ba208f86c6bdb99b3878c52ff9eae3fcbd8efe63d3c7c716753239ba77b82b51dc8ed6c27f
7
- data.tar.gz: 3b887af7e5dc99b0b98f85f62c2e31239442b1162ce4572a25de5ab1a2275814f549f32cc19350469fc3b81289f7b271b8991150f5874f960840ba6100adcd6c
6
+ metadata.gz: d9924a792d26db6b4fc4d2ab26a46790306351724de20bdf2139c33eb5cbba28a07c921d3451a6fb752861250cd2caa3f212b93685c2018e69ae892d9aa0234c
7
+ data.tar.gz: 511d92e62f11f9c4778005987577728769ceb37d67d387608b1644a0485a4c46a57142c79080ea63a674908d8ce175d6ebbe4f1113b928fecc75270166841223
@@ -1,3 +1,25 @@
1
+ Workarea Listrak 5.0.4 (2020-09-11)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Bump version for release
5
+
6
+
7
+ Ben Crouse
8
+
9
+ * Ignore Tracking Params In Rack Cache
10
+
11
+ Set the `Rack::Cache::Key` proc to ignore any param that starts with
12
+ `trk_`, as these parameters are sent by Listrak and are unique per
13
+ email, and used to track clicks from emails on the site. This avoids a
14
+ potential over-caching situation in which a given request cannot be cached
15
+ due to the constantly changing query parameters.
16
+
17
+ LISTRAK-3
18
+
19
+ Tom Scott
20
+
21
+
22
+
1
23
  Workarea Listrak 5.0.3 (2020-02-05)
2
24
  --------------------------------------------------------------------------------
3
25
 
@@ -0,0 +1,9 @@
1
+ previous_ignore = Workarea::Cache::RackCacheKey.query_string_ignore
2
+
3
+ Workarea::Cache::RackCacheKey.query_string_ignore = proc do |key, value|
4
+ if previous_ignore.blank?
5
+ key =~ /\Atrk_/
6
+ else
7
+ previous_ignore.call(key, value) && key =~ /\Atrk_/
8
+ end
9
+ end
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module Listrak
3
- VERSION = "5.0.3".freeze
3
+ VERSION = "5.0.4".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-listrak
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.3
4
+ version: 5.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Pigeon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-05 00:00:00.000000000 Z
11
+ date: 2020-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea
@@ -103,6 +103,7 @@ files:
103
103
  - bin/rubocop
104
104
  - config/initializers/append_points.rb
105
105
  - config/initializers/configuration.rb
106
+ - config/initializers/rack_cache.rb
106
107
  - config/locales/en.yml
107
108
  - config/routes.rb
108
109
  - docs/Listrak Technical Integration Guide.docx
@@ -222,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
223
  - !ruby/object:Gem::Version
223
224
  version: '0'
224
225
  requirements: []
225
- rubygems_version: 3.0.6
226
+ rubygems_version: 3.0.3
226
227
  signing_key:
227
228
  specification_version: 4
228
229
  summary: Listrak plugin for Workarea