gcal4ruby 0.2.7 → 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/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
1
  #=CHANGELOG
2
+ #==version 0.2.8
3
+ #* Merged changes from edruder and h13ronim from the unofficial github repo - http://github.com/h13ronim/gcal4ruby/commits/master
2
4
  #==version 0.2.7
3
5
  #* Added fix for finding events in calendars that have more than 25 entries
4
6
  #==version 0.2.6
@@ -299,7 +299,8 @@ class Calendar
299
299
  ele.elements.each do |e|
300
300
  #puts "e = "+e.to_s if @service.debug
301
301
  #puts "previous element = "+e.previous_element.to_s if @service.debug
302
- if e.name == 'role' and e.previous_element.name == 'scope' and e.previous_element.attributes['type'] == 'default'
302
+ #added per eruder http://github.com/h13ronim/gcal4ruby/commit/3074ebde33bd3970500f6de992a66c0a4578062a
303
+ if e.name == 'role' and e.previous_element and e.previous_element.name == 'scope' and e.previous_element.attributes['type'] == 'default'
303
304
  if e.attributes['value'].match('#read')
304
305
  @public = true
305
306
  else
@@ -415,7 +415,8 @@ module GCal4Ruby
415
415
  else
416
416
  date_range = ''
417
417
  if range.size > 0
418
- query_string += "&start-min=#{range[:start].xmlschema}&start-max=#{range[:end].xmlschema}"
418
+ #Added via patch from Fabio Inguaggiato
419
+ query_string += "&start-min=#{CGI::escape(range[:start].xmlschema)}&start-max=#{CGI::escape(range[:end].xmlschema)}"
419
420
  end
420
421
  end
421
422
  end
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.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Reich