analytics-rails 0.0.3 → 0.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.
@@ -5,7 +5,7 @@ module Analytics
5
5
 
6
6
  def google_analytics_include_tag(account)
7
7
  if ::Rails.env.production?
8
- script = <<-SCRIPT.strip_heredoc
8
+ script = <<-SCRIPT
9
9
  var _gaq = _gaq || [];
10
10
  _gaq.push(['_setAccount', '#{account}']);
11
11
  _gaq.push(['_trackPageview']);
@@ -15,7 +15,7 @@ module Analytics
15
15
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
16
16
  })();
17
17
  SCRIPT
18
- content_tag(:script, "\n#{script}".html_safe, :type => 'text/javascript')
18
+ content_tag(:script, script.html_safe, :type => 'text/javascript')
19
19
  end
20
20
  end
21
21
 
@@ -1,7 +1,7 @@
1
1
  module Analytics
2
2
  module Rails
3
3
 
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
 
6
6
  end
7
7
  end
@@ -73,3 +73,9 @@ Connecting to database specified by database.yml
73
73
  Connecting to database specified by database.yml
74
74
   (0.2ms) begin transaction
75
75
   (0.0ms) rollback transaction
76
+ Connecting to database specified by database.yml
77
+  (0.2ms) begin transaction
78
+  (0.0ms) rollback transaction
79
+ Connecting to database specified by database.yml
80
+  (0.2ms) begin transaction
81
+  (0.0ms) rollback transaction
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.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-17 00:00:00.000000000 Z
12
+ date: 2013-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails