analytics-rails 0.3.0 → 0.3.3

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
  SHA1:
3
- metadata.gz: 080f8fc44db20a350e36c321e1a3356e78680e8d
4
- data.tar.gz: 61190bd2756867548d6013d0c78cf9bc5bbd4e1a
3
+ metadata.gz: 2563146a9f29dfdccb49f44b3c63c9ba619574e9
4
+ data.tar.gz: 871add710bc594de772fbcbcef93fde0cd526f7c
5
5
  SHA512:
6
- metadata.gz: 65e11c64e560b197ac9a1e10c3e0d73153fa3d81acc7b4ba7a927781823c2b82a45952aa0ee6c37db8b030b837d8e113f5663b4c2ddf4c41b4ec4477d0699d2a
7
- data.tar.gz: 55b42cd6c6c5f58b80aca7cf6f941fbdae8c124f9616747724135f492e6bcee735c32c190a596bc07bbb65da938bee52bc9d35e1e4749f9d272463f24b94ddf6
6
+ metadata.gz: 22fa215df53421ea806854ff8ca92f0224a336a41130907589483a114dae995851f396dda5d7a51d1c1fdba0bf6324df8278c31e9f4ac53f622d7e34da4bb929
7
+ data.tar.gz: 7b86f73cac06c5e65f101c130fbd5641e7535c0a2f53efb61554b1eabb728ad1868d3d38c03cd246222b1a3f0546bf98a01d21edaf8b47f0660864660e529bb5
@@ -9,7 +9,7 @@ module Analytics
9
9
  options = args.extract_options!
10
10
  id = args.first
11
11
  variables = options.to_json
12
- content_tag :script, <<-SCRIPT.strip_heredoc.html_safe, type: 'text/javascript'
12
+ content_tag :script, <<-SCRIPT.html_safe, type: 'text/javascript'
13
13
  (function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){
14
14
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
15
15
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
@@ -25,7 +25,7 @@ module Analytics
25
25
  options = args.extract_options!
26
26
  args = args.map(&:to_json).join(', ')
27
27
  variables = options.to_json
28
- content_tag :script, <<-SCRIPT.strip_heredoc.html_safe, type: 'text/javascript'
28
+ content_tag :script, <<-SCRIPT.html_safe, type: 'text/javascript'
29
29
  ga("send", "event", #{args}, #{variables});
30
30
  SCRIPT
31
31
  end
@@ -1,7 +1,7 @@
1
1
  module Analytics
2
2
  module Rails
3
3
 
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.3'
5
5
 
6
6
  end
7
7
  end
@@ -106,3 +106,15 @@ TagTest: test_include
106
106
  -------------------
107
107
  TagTest: test_event
108
108
  -------------------
109
+ -------------------
110
+ TagTest: test_event
111
+ -------------------
112
+ ---------------------
113
+ TagTest: test_include
114
+ ---------------------
115
+ -------------------
116
+ TagTest: test_event
117
+ -------------------
118
+ ---------------------
119
+ TagTest: test_include
120
+ ---------------------
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: analytics-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmontossi