analytics_goo 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/analytics_goo.gemspec +5 -6
- data/lib/analytics_goo/google_analytics_adapter.rb +2 -1
- data/test/test_helper.rb +1 -1
- metadata +19 -7
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ begin
|
|
6
6
|
require 'jeweler'
|
7
7
|
Jeweler::Tasks.new do |gem|
|
8
8
|
gem.name = "analytics_goo"
|
9
|
-
gem.summary = %Q{
|
9
|
+
gem.summary = %Q{AnalyticsGoo provides server side non-javascript tracking using google analytics.}
|
10
10
|
gem.email = "robchristie@gmail.com"
|
11
11
|
gem.homepage = "http://github.com/eyestreet/analytics_goo"
|
12
12
|
gem.files.include "rails/**/*"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/analytics_goo.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{analytics_goo}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Rob Christie"]
|
9
|
-
s.date = %q{
|
9
|
+
s.date = %q{2011-05-31}
|
10
10
|
s.email = %q{robchristie@gmail.com}
|
11
11
|
s.extra_rdoc_files = [
|
12
12
|
"README.markdown"
|
@@ -35,12 +35,11 @@ Gem::Specification.new do |s|
|
|
35
35
|
"test/analytics_goo_test.rb",
|
36
36
|
"test/test_helper.rb"
|
37
37
|
]
|
38
|
-
s.has_rdoc = true
|
39
38
|
s.homepage = %q{http://github.com/eyestreet/analytics_goo}
|
40
39
|
s.rdoc_options = ["--charset=UTF-8"]
|
41
40
|
s.require_paths = ["lib"]
|
42
|
-
s.rubygems_version = %q{1.3.
|
43
|
-
s.summary = %q{
|
41
|
+
s.rubygems_version = %q{1.3.6}
|
42
|
+
s.summary = %q{AnalyticsGoo provides server side non-javascript tracking using google analytics.}
|
44
43
|
s.test_files = [
|
45
44
|
"test/analytics_goo_test.rb",
|
46
45
|
"test/test_helper.rb"
|
@@ -48,7 +47,7 @@ Gem::Specification.new do |s|
|
|
48
47
|
|
49
48
|
if s.respond_to? :specification_version then
|
50
49
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
51
|
-
s.specification_version =
|
50
|
+
s.specification_version = 3
|
52
51
|
|
53
52
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
54
53
|
else
|
@@ -189,7 +189,8 @@ module AnalyticsGoo
|
|
189
189
|
"&utmac=" + self.utmac +
|
190
190
|
"&utmcc=" + self.utmcc +
|
191
191
|
"&utmvid="+ self.utmvid +
|
192
|
-
"&utmip=" + self.utmip
|
192
|
+
"&utmip=" + self.utmip +
|
193
|
+
"&utmdt=" + CGI.escape(self.utmdt)
|
193
194
|
Net::HTTP.start(GA_DOMAIN) {|http|
|
194
195
|
http.request_get(utm_uri, {"User-Agent" => self.user_agent, "Accept-Language" => self.http_accept_language})
|
195
196
|
}
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: analytics_goo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Rob Christie
|
@@ -9,7 +15,7 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date:
|
18
|
+
date: 2011-05-31 00:00:00 -04:00
|
13
19
|
default_executable:
|
14
20
|
dependencies: []
|
15
21
|
|
@@ -53,24 +59,30 @@ rdoc_options:
|
|
53
59
|
require_paths:
|
54
60
|
- lib
|
55
61
|
required_ruby_version: !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
56
63
|
requirements:
|
57
64
|
- - ">="
|
58
65
|
- !ruby/object:Gem::Version
|
66
|
+
hash: 3
|
67
|
+
segments:
|
68
|
+
- 0
|
59
69
|
version: "0"
|
60
|
-
version:
|
61
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
62
72
|
requirements:
|
63
73
|
- - ">="
|
64
74
|
- !ruby/object:Gem::Version
|
75
|
+
hash: 3
|
76
|
+
segments:
|
77
|
+
- 0
|
65
78
|
version: "0"
|
66
|
-
version:
|
67
79
|
requirements: []
|
68
80
|
|
69
81
|
rubyforge_project:
|
70
|
-
rubygems_version: 1.3.
|
82
|
+
rubygems_version: 1.3.6
|
71
83
|
signing_key:
|
72
|
-
specification_version:
|
73
|
-
summary:
|
84
|
+
specification_version: 3
|
85
|
+
summary: AnalyticsGoo provides server side non-javascript tracking using google analytics.
|
74
86
|
test_files:
|
75
87
|
- test/analytics_goo_test.rb
|
76
88
|
- test/test_helper.rb
|