gcal4ruby 0.2.5 → 0.2.6

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/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
1
  #=CHANGELOG
2
+ #==version 0.2.6
3
+ #* Added fix for updated google calendar XML per http://cookingandcoding.wordpress.com/2009/06/08/new-ruby-google-calendar-api-gem-gcal4ruby/#comment-183
2
4
  #==version 0.2.5
3
5
  #* Added calendar color support to to_iframe methods in Calendar and Service.
4
6
  #==version 0.2.4
@@ -76,6 +76,7 @@ class Calendar
76
76
  REXML::Document.new(ret.body).root.elements.each("entry"){}.map do |entry|
77
77
  entry.attributes["xmlns:gCal"] = "http://schemas.google.com/gCal/2005"
78
78
  entry.attributes["xmlns:gd"] = "http://schemas.google.com/g/2005"
79
+ entry.attributes["xmlns:app"] = "http://www.w3.org/2007/app"
79
80
  entry.attributes["xmlns"] = "http://www.w3.org/2005/Atom"
80
81
  e = Event.new(self)
81
82
  if e.load(entry.to_s)
@@ -389,6 +389,7 @@ module GCal4Ruby
389
389
  if id == query
390
390
  entry.attributes["xmlns:gCal"] = "http://schemas.google.com/gCal/2005"
391
391
  entry.attributes["xmlns:gd"] = "http://schemas.google.com/g/2005"
392
+ entry.attributes["xmlns:app"] = "http://www.w3.org/2007/app" #Per http://twitter.com/mgornick
392
393
  entry.attributes["xmlns"] = "http://www.w3.org/2005/Atom"
393
394
  event = Event.new(calendar)
394
395
  event.load("<?xml version='1.0' encoding='UTF-8'?>#{entry.to_s}")
@@ -427,6 +428,7 @@ module GCal4Ruby
427
428
  REXML::Document.new(events.read_body).root.elements.each("entry"){}.map do |entry|
428
429
  entry.attributes["xmlns:gCal"] = "http://schemas.google.com/gCal/2005"
429
430
  entry.attributes["xmlns:gd"] = "http://schemas.google.com/g/2005"
431
+ entry.attributes["xmlns:app"] = "http://www.w3.org/2007/app"
430
432
  entry.attributes["xmlns"] = "http://www.w3.org/2005/Atom"
431
433
  event = Event.new(calendar)
432
434
  event.load("<?xml version='1.0' encoding='UTF-8'?>#{entry.to_s}")
@@ -59,6 +59,7 @@ class Service < Base
59
59
  REXML::Document.new(ret.body).root.elements.each("entry"){}.map do |entry|
60
60
  entry.attributes["xmlns:gCal"] = "http://schemas.google.com/gCal/2005"
61
61
  entry.attributes["xmlns:gd"] = "http://schemas.google.com/g/2005"
62
+ entry.attributes["xmlns:app"] = "http://www.w3.org/2007/app"
62
63
  entry.attributes["xmlns"] = "http://www.w3.org/2005/Atom"
63
64
  cal = Calendar.new(self)
64
65
  cal.load("<?xml version='1.0' encoding='UTF-8'?>#{entry.to_s}")
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.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Reich
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  requirements: []
55
55
 
56
56
  rubyforge_project: gcal4ruby
57
- rubygems_version: 1.3.4
57
+ rubygems_version: 1.3.5
58
58
  signing_key:
59
59
  specification_version: 3
60
60
  summary: A full featured wrapper for interacting with the Google Calendar API