gcal4ruby 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +2 -0
  2. data/lib/gcal4ruby/event.rb +3 -2
  3. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
1
  #=CHANGELOG
2
+ #==version 0.2.7
3
+ #* Added fix for finding events in calendars that have more than 25 entries
2
4
  #==version 0.2.6
3
5
  #* Added fix for updated google calendar XML per http://cookingandcoding.wordpress.com/2009/06/08/new-ruby-google-calendar-api-gem-gcal4ruby/#comment-183
4
6
  #==version 0.2.5
@@ -380,9 +380,9 @@ module GCal4Ruby
380
380
 
381
381
  if test
382
382
  puts "id passed, finding event by id" if calendar.service.debug
383
- es = calendar.service.send_get("http://www.google.com/calendar/feeds/#{calendar.id}/private/full")
383
+ es = calendar.service.send_get("http://www.google.com/calendar/feeds/#{calendar.id}/private/full?max-results=1000000")
384
384
  REXML::Document.new(es.read_body).root.elements.each("entry"){}.map do |entry|
385
- puts "element = "+entry.name if calendar.service.debug
385
+ puts "element = "+entry.name if calendar.service.debug
386
386
  id = ''
387
387
  entry.elements.each("id") {|v| id = v.text}
388
388
  puts "id = #{id}" if calendar.service.debug
@@ -396,6 +396,7 @@ module GCal4Ruby
396
396
  return event
397
397
  end
398
398
  end
399
+ return nil
399
400
  end
400
401
 
401
402
 
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.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Reich
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-01 00:00:00 +10:00
12
+ date: 2009-12-31 00:00:00 +11:00
13
13
  default_executable:
14
14
  dependencies: []
15
15