rugalytics 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.1.1. fixed bug due to change in google's graph csv
2
+
1
3
  v0.1.0. fixed bug due to change in google's graph csv; removed deprecated load_report method
2
4
 
3
5
  v0.0.9. allowed setting of :url and :page_title options for drilldown and content reports; merged masolino's changes
data/lib/rugalytics.rb CHANGED
@@ -11,7 +11,7 @@ require 'yaml'
11
11
 
12
12
  # See README for usage documentation.
13
13
  module Rugalytics
14
- VERSION = "0.1.0"
14
+ VERSION = "0.1.1"
15
15
 
16
16
  FORMAT_PDF = '0' unless defined? FORMAT_PDF
17
17
  FORMAT_XML = '1' unless defined? FORMAT_XML
@@ -13,10 +13,10 @@ module Rugalytics
13
13
  morph(attribute, value)
14
14
  end
15
15
 
16
- if respond_to?(:url)
17
- self.path = url
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}#{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.0
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.0
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-08-30 00:00:00 +01:00
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 = 'URL,Page Views,Unique Page Views,Time on Page,Bounce Rate,% Exit,$ Index'
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.0
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-08-30 00:00:00 +01:00
12
+ date: 2008-09-28 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency