garb 0.2.6 → 0.2.8

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/Rakefile CHANGED
@@ -10,14 +10,15 @@ spec = Gem::Specification.new do |s|
10
10
  s.name = 'garb'
11
11
  s.version = Garb::Version.to_s
12
12
  s.has_rdoc = false
13
+ s.rubyforge_project = 'garb'
13
14
  s.summary = "Google Analytics API Ruby Wrapper"
14
- s.authors = ['Tony Pitale','Justin Marney', 'Patrick Reagan']
15
+ s.authors = ['Tony Pitale', 'Patrick Reagan']
15
16
  s.email = 'tony.pitale@viget.com'
16
17
  s.homepage = 'http://github.com/vigetlabs/garb'
17
18
  s.files = %w(README.md Rakefile) + Dir.glob("lib/**/*")
18
19
  s.test_files = Dir.glob("test/**/*")
19
20
 
20
- s.add_dependency("happymapper", [">= 0.2.5"])
21
+ s.add_dependency("happymapper", ["~> 0.3.0"])
21
22
  end
22
23
 
23
24
  Rake::GemPackageTask.new(spec) do |pkg|
@@ -7,7 +7,7 @@ module Garb
7
7
  include HappyMapper
8
8
 
9
9
  tag 'property'
10
- namespace 'dxp'
10
+ namespace 'http://schemas.google.com/analytics/2009'
11
11
 
12
12
  attribute :name, String
13
13
  attribute :value, String
@@ -23,7 +23,7 @@ module Garb
23
23
  tag 'entry'
24
24
 
25
25
  element :title, String
26
- element :tableId, String, :namespace => 'dxp'
26
+ element :tableId, String, :namespace => 'http://schemas.google.com/analytics/2009'
27
27
 
28
28
  has_many :properties, Property
29
29
  end
@@ -34,7 +34,7 @@ module Garb
34
34
  include HappyMapper
35
35
 
36
36
  tag 'metric'
37
- namespace 'dxp'
37
+ namespace 'http://schemas.google.com/dataexport/2009'
38
38
 
39
39
  attribute :name, String
40
40
  attribute :value, String
@@ -44,7 +44,7 @@ module Garb
44
44
  include HappyMapper
45
45
 
46
46
  tag 'dimension'
47
- namespace 'dxp'
47
+ namespace 'http://schemas.google.com/dataexport/2009'
48
48
 
49
49
  attribute :name, String
50
50
  attribute :value, String
@@ -3,7 +3,7 @@ module Garb
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- TINY = 6
6
+ TINY = 8
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
@@ -1,33 +1,40 @@
1
1
  <?xml version='1.0' encoding='UTF-8'?>
2
- <feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:dxp='http://schemas.google.com/analytics/2009'>
3
- <id>http://www.google.com/analytics/feeds/accounts/email@example.com</id>
4
- <updated>2009-03-27T08:14:28.000-07:00</updated>
5
- <title type='text'>Profile list for email@example.com</title>
6
- <link rel='self' type='application/atom+xml' href='http://www.google.com/analytics/feeds/accounts/email@example.com'/>
7
- <author><name>Google Analytics</name></author>
8
- <generator version='1.0'>Google Analytics</generator>
9
- <openSearch:totalResults>2</openSearch:totalResults>
10
- <openSearch:startIndex>1</openSearch:startIndex>
11
- <openSearch:itemsPerPage>2</openSearch:itemsPerPage>
2
+ <feed xmlns='http://www.w3.org/2005/Atom' xmlns:dxp='http://schemas.google.com/analytics/2009' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'>
3
+ <id>http://www.google.com/analytics/feeds/accounts/tpitale@gmail.com</id>
4
+ <updated>2009-10-02T07:47:35.000-07:00</updated>
5
+ <title type='text'>Profile list for tpitale@gmail.com</title><link rel='self' type='application/atom+xml' href='http://www.google.com/analytics/feeds/accounts/default'/>
6
+ <author>
7
+ <name>Google Analytics</name>
8
+ </author>
9
+ <generator version='1.0'>Google Analytics</generator>
10
+ <openSearch:totalResults>2</openSearch:totalResults>
11
+ <openSearch:startIndex>1</openSearch:startIndex>
12
+ <openSearch:itemsPerPage>2</openSearch:itemsPerPage>
12
13
  <entry>
13
14
  <id>http://www.google.com/analytics/feeds/accounts/ga:12345</id>
14
15
  <updated>2008-07-21T14:05:57.000-07:00</updated>
15
16
  <title type='text'>Historical</title>
16
- <dxp:tableId>ga:12345</dxp:tableId>
17
+ <link rel='alternate' type='text/html' href='http://www.google.com/analytics'/>
17
18
  <dxp:property name='ga:accountId' value='1111'/>
18
19
  <dxp:property name='ga:accountName' value='Blog Beta'/>
19
20
  <dxp:property name='ga:profileId' value='1212'/>
20
21
  <dxp:property name='ga:webPropertyId' value='UA-1111-1'/>
22
+ <dxp:property name='ga:currency' value='USD'/>
23
+ <dxp:property name='ga:timezone' value='America/New_York'/>
24
+ <dxp:tableId>ga:12345</dxp:tableId>
21
25
  </entry>
22
26
  <entry>
23
27
  <id>http://www.google.com/analytics/feeds/accounts/ga:12346</id>
24
28
  <updated>2008-11-24T11:51:07.000-08:00</updated>
25
29
  <title type='text'>Presently</title>
26
- <dxp:tableId>ga:12346</dxp:tableId>
30
+ <link rel='alternate' type='text/html' href='http://www.google.com/analytics'/>
27
31
  <dxp:property name='ga:accountId' value='1111'/>
28
32
  <dxp:property name='ga:accountName' value='Blog Beta'/>
29
33
  <dxp:property name='ga:profileId' value='1213'/>
30
34
  <dxp:property name='ga:webPropertyId' value='UA-1111-2'/>
35
+ <dxp:property name='ga:currency' value='USD'/>
36
+ <dxp:property name='ga:timezone' value='America/New_York'/>
37
+ <dxp:tableId>ga:12346</dxp:tableId>
31
38
  </entry>
32
39
  </feed>
33
40
 
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Pitale
8
- - Justin Marney
9
8
  - Patrick Reagan
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
12
 
14
- date: 2009-06-30 00:00:00 -04:00
13
+ date: 2009-10-12 00:00:00 -04:00
15
14
  default_executable:
16
15
  dependencies:
17
16
  - !ruby/object:Gem::Dependency
@@ -20,9 +19,9 @@ dependencies:
20
19
  version_requirement:
21
20
  version_requirements: !ruby/object:Gem::Requirement
22
21
  requirements:
23
- - - ">="
22
+ - - ~>
24
23
  - !ruby/object:Gem::Version
25
- version: 0.2.5
24
+ version: 0.3.0
26
25
  version:
27
26
  description:
28
27
  email: tony.pitale@viget.com
@@ -92,8 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
91
  version:
93
92
  requirements: []
94
93
 
95
- rubyforge_project:
96
- rubygems_version: 1.3.4
94
+ rubyforge_project: garb
95
+ rubygems_version: 1.3.5
97
96
  signing_key:
98
97
  specification_version: 3
99
98
  summary: Google Analytics API Ruby Wrapper