gsiener-analytical 2.10.0 → 2.10.1
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.10.
|
1
|
+
2.10.1
|
data/gsiener-analytical.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{gsiener-analytical}
|
8
|
-
s.version = "2.10.
|
8
|
+
s.version = "2.10.1"
|
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", "Kevin Menard", "Ablyamitov Ablyamit", "Kurt Werle", "Olivier Lauzon"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-07-09}
|
13
13
|
s.description = %q{Gem for managing multiple analytics services in your rails app.}
|
14
14
|
s.email = %q{josh@feefighters.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -7,7 +7,7 @@ describe "Analytical::Modules::Mixpanel" do
|
|
7
7
|
describe 'on initialize' do
|
8
8
|
it 'should set the command_location' do
|
9
9
|
a = Analytical::Modules::Mixpanel.new :parent=>@parent, :js_url_key=>'abc'
|
10
|
-
a.tracking_command_location.should == :
|
10
|
+
a.tracking_command_location.should == :body_prepend
|
11
11
|
end
|
12
12
|
it 'should set the options' do
|
13
13
|
a = Analytical::Modules::Mixpanel.new :parent=>@parent, :js_url_key=>'abc'
|
@@ -63,9 +63,9 @@ describe "Analytical::Modules::Mixpanel" do
|
|
63
63
|
@api = Analytical::Modules::Mixpanel.new :parent=>@parent, :js_url_key=>'abcdef'
|
64
64
|
@api.init_javascript(:head_prepend).should == ''
|
65
65
|
@api.init_javascript(:head_append).should == ''
|
66
|
-
@api.init_javascript(:
|
67
|
-
@api.init_javascript(:
|
68
|
-
@api.init_javascript(:
|
66
|
+
@api.init_javascript(:body_append).should == ''
|
67
|
+
@api.init_javascript(:body_prepend).should =~ /api\.mixpanel\.com\/site_media\/js\/api\/mixpanel\.js/
|
68
|
+
@api.init_javascript(:body_prepend).should =~ /new MixpanelLib\('.*'\)/
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gsiener-analytical
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 37
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 10
|
9
|
-
-
|
10
|
-
version: 2.10.
|
9
|
+
- 1
|
10
|
+
version: 2.10.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Joshua Krall
|
@@ -21,7 +21,7 @@ autorequire:
|
|
21
21
|
bindir: bin
|
22
22
|
cert_chain: []
|
23
23
|
|
24
|
-
date: 2011-
|
24
|
+
date: 2011-07-09 00:00:00 -04:00
|
25
25
|
default_executable:
|
26
26
|
dependencies:
|
27
27
|
- !ruby/object:Gem::Dependency
|