rugalytics 0.1.0 → 0.1.1
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/CHANGELOG +2 -0
- data/lib/rugalytics.rb +1 -1
- data/lib/rugalytics/item.rb +3 -3
- data/rugalytics.gemspec +3 -3
- data/spec/lib/rugalytics/item_spec.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/rugalytics.rb
CHANGED
data/lib/rugalytics/item.rb
CHANGED
|
@@ -13,10 +13,10 @@ module Rugalytics
|
|
|
13
13
|
morph(attribute, value)
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
if respond_to?(:
|
|
17
|
-
self.path =
|
|
16
|
+
if respond_to?(:page)
|
|
17
|
+
self.path = page
|
|
18
18
|
# todo: For drilldown report, URLs need to be cumulatively created e.g. /health/ -> http://theyworkforyou.co.nz/portfolios/health/
|
|
19
|
-
self.url = "http://#{base_url}#{
|
|
19
|
+
self.url = "http://#{base_url}#{page}"
|
|
20
20
|
end
|
|
21
21
|
end
|
|
22
22
|
end
|
data/rugalytics.gemspec
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
# Gem::Specification for Rugalytics-0.1.
|
|
2
|
+
# Gem::Specification for Rugalytics-0.1.1
|
|
3
3
|
# Originally generated by Echoe
|
|
4
4
|
|
|
5
5
|
--- !ruby/object:Gem::Specification
|
|
6
6
|
name: rugalytics
|
|
7
7
|
version: !ruby/object:Gem::Version
|
|
8
|
-
version: 0.1.
|
|
8
|
+
version: 0.1.1
|
|
9
9
|
platform: ruby
|
|
10
10
|
authors:
|
|
11
11
|
- Rob McKinnon
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
|
|
15
|
-
date: 2008-
|
|
15
|
+
date: 2008-09-28 00:00:00 +01:00
|
|
16
16
|
default_executable:
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
@@ -4,7 +4,7 @@ describe Rugalytics::Item, 'when creating' do
|
|
|
4
4
|
|
|
5
5
|
before :all do
|
|
6
6
|
@url = 'theyworkforyou.co.nz'
|
|
7
|
-
@attributes = '
|
|
7
|
+
@attributes = 'Page,Page Views,Unique Page Views,Time on Page,Bounce Rate,% Exit,$ Index'
|
|
8
8
|
@values = '/,189,157,54.94957983193277,0.4862385392189026,0.37037035822868347,0.0'
|
|
9
9
|
end
|
|
10
10
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rugalytics
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rob McKinnon
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-
|
|
12
|
+
date: 2008-09-28 00:00:00 +01:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|