gaah 0.3.2 → 0.3.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da0bfd32ba10b45287203c0dc816ce337a0d6420
4
- data.tar.gz: b10cb0a100589f7353b75c91f366a8c7f2f92d6b
3
+ metadata.gz: 4838ead72ceb5c77c0f2450f5972d3af88276017
4
+ data.tar.gz: ffd47c6fd5633b9cefbbe1d3790a3b0bd37fd4a3
5
5
  SHA512:
6
- metadata.gz: 926c47ff0453cb4da79cfbcacce7e9b93c94401c6bd36c83ffb7310f518d0345ec6b2202a51e9761a73f9868f2115d7e2e7b2578289176fe52d69c51e290d8a7
7
- data.tar.gz: a2ce0959270c1b704adcb1d8be18916c9130617ccd751cadfea48a7dd639b1190941fe254ac00d93e68c6e3ac0d559f372d6d13623af912dc01c3553fb6751bd
6
+ metadata.gz: 77f0e1fa1587770a342e5a5a85812ee6663e82bd283c7d03d5042873bafd320c2fffc791e8512871170c39b98002e8179da9a4fcce5dd8ff61bfd3898b56422b
7
+ data.tar.gz: 5e8bb68155615d1ba576f081cc45f44b1354fc54161f813f64f8a6576c9f089a6c29a98519d981e7b9b67986e448b913e470c0c6fe2cada59606da7db2a5e403
@@ -1,7 +1,7 @@
1
1
  module Gaah
2
2
  module Calendar
3
3
  class Event < Gaah::ApiModel
4
- attr_reader :updated, :summary, :description, :attendees, :when, :location, :creator, :transparency, :visibility, :ical_uid, :organizer, :sequence, :status
4
+ attr_reader :updated, :summary, :description, :attendees, :when, :location, :creator, :transparency, :visibility, :ical_uid, :organizer, :sequence, :status, :url
5
5
 
6
6
  def initialize(json)
7
7
  store_json(json)
@@ -5,13 +5,13 @@ module Gaah
5
5
  class Api
6
6
  class << self
7
7
  def resources
8
- fetch_resources("https://apps-apis.google.com/a/feeds/#{Gaah.domain}/user/2.0")
8
+ url = "https://apps-apis.google.com/a/feeds/calendar/resource/2.0/#{Gaah.domain}"
9
+ fetch_resources(url)
9
10
  end
10
11
 
11
12
  private
12
13
 
13
14
  def fetch_resources(url)
14
- url = "https://apps-apis.google.com/a/feeds/calendar/resource/2.0/#{Gaah.domain}"
15
15
  xml = ApiClient.instance.get(url)
16
16
  parsed = Nokogiri::XML(xml)
17
17
 
data/lib/gaah/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Gaah
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaah
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hwan-Joon Choi