gcal4ruby 0.2.0 → 0.2.1

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.
Files changed (3) hide show
  1. data/CHANGELOG +2 -0
  2. data/lib/gcal4ruby/event.rb +1 -1
  3. metadata +1 -1
data/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
1
  #=CHANGELOG
2
+ #==version 0.2.1
3
+ #* fixed Event.find calendar specification
2
4
  #==version 0.2.0
3
5
  #* Fixed redirect URI query params problem
4
6
  #* Updated syntax for finding events to include most google api parameters, Non-backwards compatible.
@@ -381,7 +381,7 @@ module GCal4Ruby
381
381
  query_string += "&ctz=#{timezone.gsub(" ", "_")}" if timezone
382
382
  query_string += "&singleevents#{single_events}" if single_events
383
383
  if query_string
384
- events = calendar.service.send_get("http://www.google.com/calendar/feeds/default/private/full?"+query_string)
384
+ events = calendar.service.send_get("http://www.google.com/calendar/feeds/#{calendar.id}/private/full?"+query_string)
385
385
  ret = []
386
386
  REXML::Document.new(events.read_body).root.elements.each("entry"){}.map do |entry|
387
387
  entry.attributes["xmlns:gCal"] = "http://schemas.google.com/gCal/2005"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gcal4ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Reich