sfanalytics 0.2.15 → 0.2.16

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.15
1
+ 0.2.16
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sfanalytics}
8
- s.version = "0.2.15"
8
+ s.version = "0.2.16"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Graeme Lawton"]
12
- s.date = %q{2010-05-05}
12
+ s.date = %q{2010-05-11}
13
13
  s.description = %q{
14
14
  SFanalytics provides Google Analytics for your app. Probably only really
15
15
  useful for Ecommerce users of analytics, to provide the functionality to add
@@ -6,7 +6,10 @@
6
6
 
7
7
  = "#{analytics_transaction}"
8
8
  = "#{line_items}"
9
-
9
+
10
+ - if(analytics_transaction)
11
+ _gaq.push(['_trackTrans']);
12
+
10
13
  (function() {
11
14
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
12
15
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
@@ -80,6 +80,7 @@ describe SFanalytics do
80
80
  'Test Kingdom',
81
81
  ]);
82
82
 
83
+ _gaq.push(['_trackTrans']);
83
84
  (function() {
84
85
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
85
86
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 15
9
- version: 0.2.15
8
+ - 16
9
+ version: 0.2.16
10
10
  platform: ruby
11
11
  authors:
12
12
  - Graeme Lawton
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-05 00:00:00 +01:00
17
+ date: 2010-05-11 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency