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 +2 -0
- data/lib/gcal4ruby/calendar.rb +2 -1
- data/lib/gcal4ruby/event.rb +2 -1
- metadata +1 -1
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
|
data/lib/gcal4ruby/calendar.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/gcal4ruby/event.rb
CHANGED
@@ -415,7 +415,8 @@ module GCal4Ruby
|
|
415
415
|
else
|
416
416
|
date_range = ''
|
417
417
|
if range.size > 0
|
418
|
-
|
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
|