rack_google_tag_manager 1.0.1 → 1.0.2

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: 495afeaac736fcb44e18c3b8dd1cabfb3f13b237
4
- data.tar.gz: c92e9c8c5c58321d4db9947da5c617b50992c2ee
3
+ metadata.gz: ee02a49bfedcb46c1ef772f9e0cdd4921a86a283
4
+ data.tar.gz: 3388fe2a4df54b23868b89f0d5fc517b01911513
5
5
  SHA512:
6
- metadata.gz: c98ec973e8616c1c87f00b3af6094942f8bda8b29748ea24b7d7dda4ef16de42b2597fe9624d7af3352cd11a81c8151a26e74e447b23717143efa68823e7c5ef
7
- data.tar.gz: 49c226d82fb43f6a59e3b4d5b4cdc3d10089b2482ededc900fcc541d14550ee4bf1322b8e87f1f3309ad25a7c7e2ed7f0481c7a920827fed5577546aed84685b
6
+ metadata.gz: 5b8fe41048e9b08df0392cb73f4c953c7293bdefb5fbabdbf03d7fb860794b6ee1a1785eb5111b0fb8eeef4915d113ab04137bff1c554d89c1fe9cbb14689798
7
+ data.tar.gz: 8e3955ea653c3dbc9b7dee1a3edd7b536f722efa54679743251bd7180bca21f3855b5501562e6ab8d3139d63b46008eb9a4ab3f3b01ad5bb51e54bbcf6fe9258
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### v1.0.1, 2015-03-27
2
+
3
+ * Remove dataLayer explicit declaration on top of the container snippet
4
+
1
5
  ### v1.0.0, 2014-12-12
2
6
 
3
7
  * Initial release
data/README.md CHANGED
@@ -19,7 +19,7 @@ And then execute:
19
19
 
20
20
  Add this line to your application's config/application.rb:
21
21
 
22
- config.middleware.use 'Rack::GoogleTagManager', tacker: 'GTM-XXXXXX'
22
+ config.middleware.use 'Rack::GoogleTagManager', tracker: 'GTM-XXXXXX'
23
23
 
24
24
  To pass inforamtion to GTM from your application you can do it with a JavaScript
25
25
  array called *dataLayer*. There are two ways to use it:
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class GoogleTagManager
3
- VERSION = '1.0.1'
3
+ VERSION = '1.0.2'
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@ require 'rack'
2
2
 
3
3
  module Rack
4
4
  class GoogleTagManager
5
- def initialize(app, tracker: tracker)
5
+ def initialize(app, tracker: nil)
6
6
  @app, @tracker = app, tracker
7
7
  end
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack_google_tag_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ancor Cruz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-27 00:00:00.000000000 Z
11
+ date: 2015-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  requirements: []
142
142
  rubyforge_project:
143
- rubygems_version: 2.2.2
143
+ rubygems_version: 2.4.5.1
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: Rack Middleware to inject Google Tag Manager code snippet into server html