analytical 1.7.0 → 1.8.0
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/README.rdoc +3 -3
- data/VERSION +1 -1
- data/analytical.gemspec +4 -4
- data/lib/analytical/api.rb +2 -2
- data/spec/analytical/api_spec.rb +3 -2
- metadata +13 -4
data/README.rdoc
CHANGED
|
@@ -10,7 +10,7 @@ Service implementations include:
|
|
|
10
10
|
* Hubspot[http://hubspot.com]
|
|
11
11
|
* CrazyEgg[http://www.crazyegg.com]
|
|
12
12
|
* Chartbeat[http://chartbeat.com]
|
|
13
|
-
*
|
|
13
|
+
* {ComScore Direct}[http://direct.comscore.com]
|
|
14
14
|
* Optimizely[http://www.optimizely.com]
|
|
15
15
|
|
|
16
16
|
== Usage
|
|
@@ -79,8 +79,8 @@ I would be extremely happy to accept contributions to this project! If you thin
|
|
|
79
79
|
|
|
80
80
|
These fine folks have contributed patches and new features to this project:
|
|
81
81
|
|
|
82
|
-
*
|
|
83
|
-
*
|
|
82
|
+
* {Adam Anderson}[http://github.com/scudco]
|
|
83
|
+
* {Bryan Liles}[http://github.com/bryanl]
|
|
84
84
|
|
|
85
85
|
Thanks guys!
|
|
86
86
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.8.0
|
data/analytical.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{analytical}
|
|
8
|
-
s.version = "1.
|
|
8
|
+
s.version = "1.8.0"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Joshua Krall", "Nathan Phelps", "Adam Anderson"]
|
|
12
|
-
s.date = %q{2010-09-
|
|
12
|
+
s.date = %q{2010-09-11}
|
|
13
13
|
s.description = %q{Gem for managing multiple analytics services in your rails app.}
|
|
14
14
|
s.email = %q{josh@transfs.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -106,7 +106,7 @@ Gem::Specification.new do |s|
|
|
|
106
106
|
s.homepage = %q{http://github.com/jkrall/analytical}
|
|
107
107
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
108
108
|
s.require_paths = ["lib"]
|
|
109
|
-
s.rubygems_version = %q{1.3.
|
|
109
|
+
s.rubygems_version = %q{1.3.7}
|
|
110
110
|
s.summary = %q{Gem for managing multiple analytics services in your rails app.}
|
|
111
111
|
s.test_files = [
|
|
112
112
|
"spec/analytical/api_spec.rb",
|
|
@@ -126,7 +126,7 @@ Gem::Specification.new do |s|
|
|
|
126
126
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
127
127
|
s.specification_version = 3
|
|
128
128
|
|
|
129
|
-
if Gem::Version.new(Gem::
|
|
129
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
130
130
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
|
131
131
|
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
|
132
132
|
else
|
data/lib/analytical/api.rb
CHANGED
data/spec/analytical/api_spec.rb
CHANGED
|
@@ -58,9 +58,10 @@ describe "Analytical::Api" do
|
|
|
58
58
|
|
|
59
59
|
@console.should_receive(:track).with('something', {:a=>1, :b=>2}).and_return('console track')
|
|
60
60
|
@clicky.should_receive(:track).with('something', {:a=>1, :b=>2}).and_return('clicky track')
|
|
61
|
-
@google.should_receive(:
|
|
61
|
+
@google.should_receive(:respond_to?).with(:track).and_return(false)
|
|
62
|
+
@google.should_not_receive(:track)
|
|
62
63
|
|
|
63
|
-
@api.now.track('something', {:a=>1, :b=>2}).should == "console track\
|
|
64
|
+
@api.now.track('something', {:a=>1, :b=>2}).should == "console track\nclicky track"
|
|
64
65
|
end
|
|
65
66
|
end
|
|
66
67
|
|
metadata
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: analytical
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 55
|
|
4
5
|
prerelease: false
|
|
5
6
|
segments:
|
|
6
7
|
- 1
|
|
7
|
-
-
|
|
8
|
+
- 8
|
|
8
9
|
- 0
|
|
9
|
-
version: 1.
|
|
10
|
+
version: 1.8.0
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- Joshua Krall
|
|
@@ -16,16 +17,18 @@ autorequire:
|
|
|
16
17
|
bindir: bin
|
|
17
18
|
cert_chain: []
|
|
18
19
|
|
|
19
|
-
date: 2010-09-
|
|
20
|
+
date: 2010-09-11 00:00:00 -05:00
|
|
20
21
|
default_executable:
|
|
21
22
|
dependencies:
|
|
22
23
|
- !ruby/object:Gem::Dependency
|
|
23
24
|
name: rspec
|
|
24
25
|
prerelease: false
|
|
25
26
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
27
|
+
none: false
|
|
26
28
|
requirements:
|
|
27
29
|
- - ">="
|
|
28
30
|
- !ruby/object:Gem::Version
|
|
31
|
+
hash: 13
|
|
29
32
|
segments:
|
|
30
33
|
- 1
|
|
31
34
|
- 2
|
|
@@ -37,9 +40,11 @@ dependencies:
|
|
|
37
40
|
name: activesupport
|
|
38
41
|
prerelease: false
|
|
39
42
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
43
|
+
none: false
|
|
40
44
|
requirements:
|
|
41
45
|
- - ">="
|
|
42
46
|
- !ruby/object:Gem::Version
|
|
47
|
+
hash: 3
|
|
43
48
|
segments:
|
|
44
49
|
- 0
|
|
45
50
|
version: "0"
|
|
@@ -150,23 +155,27 @@ rdoc_options:
|
|
|
150
155
|
require_paths:
|
|
151
156
|
- lib
|
|
152
157
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
|
+
none: false
|
|
153
159
|
requirements:
|
|
154
160
|
- - ">="
|
|
155
161
|
- !ruby/object:Gem::Version
|
|
162
|
+
hash: 3
|
|
156
163
|
segments:
|
|
157
164
|
- 0
|
|
158
165
|
version: "0"
|
|
159
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
|
+
none: false
|
|
160
168
|
requirements:
|
|
161
169
|
- - ">="
|
|
162
170
|
- !ruby/object:Gem::Version
|
|
171
|
+
hash: 3
|
|
163
172
|
segments:
|
|
164
173
|
- 0
|
|
165
174
|
version: "0"
|
|
166
175
|
requirements: []
|
|
167
176
|
|
|
168
177
|
rubyforge_project:
|
|
169
|
-
rubygems_version: 1.3.
|
|
178
|
+
rubygems_version: 1.3.7
|
|
170
179
|
signing_key:
|
|
171
180
|
specification_version: 3
|
|
172
181
|
summary: Gem for managing multiple analytics services in your rails app.
|