jordandcarter-rugalytics 0.3.0 → 0.3.2

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.8. fixed reported bug due to missing 'www' in export url
2
+
1
3
  v0.1.7. rugalytics server, rugrat greasemonkey script
2
4
 
3
5
  v0.1.6. better fix for double quotes in csv causing fastercsv to fail
@@ -72,7 +72,7 @@ module Rugalytics
72
72
  def get_report_csv(options={})
73
73
  options = set_default_options(options)
74
74
  params = convert_options_to_uri_params(options)
75
- self.class.get("https://google.com/analytics/reporting/export", :query_hash => params)
75
+ self.class.get("https://www.google.com/analytics/reporting/export", :query_hash => params)
76
76
  end
77
77
 
78
78
  def convert_options_to_uri_params(options)
@@ -84,7 +84,7 @@ module Rugalytics
84
84
  :view => options[:view],
85
85
  :tab => options[:tab],
86
86
  :trows=> options[:rows],
87
- :tst => options[:start_row],
87
+ :tst => options[:offset],
88
88
  :gdfmt=> options[:gdfmt],
89
89
  :id => profile_id
90
90
  }
@@ -117,7 +117,7 @@ module Rugalytics
117
117
  :tab => 0,
118
118
  :format => FORMAT_CSV,
119
119
  :rows => 50,
120
- :start_row => 0,
120
+ :offset => 0,
121
121
  :compute => 'average',
122
122
  :gdfmt => 'nth_day',
123
123
  :view => 0
@@ -184,4 +184,4 @@ module Rugalytics
184
184
  end
185
185
  end
186
186
  end
187
- end
187
+ end
data/lib/rugalytics.rb CHANGED
@@ -12,7 +12,7 @@ require 'fastercsv'
12
12
 
13
13
  # See README for usage documentation.
14
14
  module Rugalytics
15
- VERSION = "0.1.7"
15
+ VERSION = "0.1.8"
16
16
 
17
17
  FORMAT_PDF = '0' unless defined? FORMAT_PDF
18
18
  FORMAT_XML = '1' unless defined? FORMAT_XML
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jordandcarter-rugalytics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Carter
@@ -9,7 +9,7 @@ autorequire: rugalytics
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-27 00:00:00 -07:00
12
+ date: 2009-02-25 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15