thieso2-gattica 0.3.3.1 → 0.3.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/gattica/data_set.rb +2 -1
  2. metadata +3 -3
@@ -6,7 +6,7 @@ module Gattica
6
6
 
7
7
  include Convertible
8
8
 
9
- attr_reader :total_results, :start_index, :items_per_page, :start_date, :end_date, :points, :xml
9
+ attr_reader :total_results, :start_index, :items_per_page, :start_date, :end_date, :points, :xml, :updated
10
10
 
11
11
  def initialize(xml)
12
12
  @xml = xml.to_s
@@ -15,6 +15,7 @@ module Gattica
15
15
  @items_per_page = xml.at('openSearch:itemsPerPage').inner_html.to_i
16
16
  @start_date = Date.parse(xml.at('dxp:startDate').inner_html)
17
17
  @end_date = Date.parse(xml.at('dxp:endDate').inner_html)
18
+ @updated = DateTime.parse(xml.at('updated').inner_html)
18
19
  @points = xml.search(:entry).collect { |entry| DataPoint.new(entry) }
19
20
  end
20
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thieso2-gattica
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3.1
4
+ version: 0.3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Cameron
@@ -13,8 +13,8 @@ date: 2009-05-18 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: Gattica is a Ruby library for extracting data from the Google Analytics API.
17
- email: cannikinn@gmail.com
16
+ description: Gattica is a Ruby library for extracting data from the Google Analytics, frked from http://github.com/cannikin/gattica.
17
+ email: thieso@gmail.com
18
18
  executables: []
19
19
 
20
20
  extensions: []