intouch-gcal4ruby 0.5.7.2 → 0.5.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gcal4ruby/event.rb +2 -2
- data/lib/gcal4ruby/service.rb +2 -2
- metadata +2 -2
data/lib/gcal4ruby/event.rb
CHANGED
@@ -395,14 +395,14 @@ module GCal4Ruby
|
|
395
395
|
if args[:calendar]
|
396
396
|
feed_uri = args[:calendar].is_a?(Calendar) ? args[:calendar].content_uri : self.event_feed_uri(args[:calendar])
|
397
397
|
args.delete(:calendar)
|
398
|
-
ret = service.send_request(GData4Ruby::Request.new(:get, feed_uri,
|
398
|
+
ret = service.send_request(GData4Ruby::Request.new(:get, feed_uri, '', '', args))
|
399
399
|
xml = REXML::Document.new(ret).root
|
400
400
|
xml.elements.each("entry") do |e|
|
401
401
|
results << get_instance(service, e)
|
402
402
|
end
|
403
403
|
else
|
404
404
|
service.calendars.each do |cal|
|
405
|
-
ret = service.send_request(GData4Ruby::Request.new(:get, cal.content_uri,
|
405
|
+
ret = service.send_request(GData4Ruby::Request.new(:get, cal.content_uri, '', ';, args))
|
406
406
|
xml = REXML::Document.new(ret).root
|
407
407
|
xml.elements.each("entry") do |e|
|
408
408
|
results << get_instance(service, e)
|
data/lib/gcal4ruby/service.rb
CHANGED
@@ -90,7 +90,7 @@ module GCal4Ruby
|
|
90
90
|
raise GData4Ruby::NotAuthenticated
|
91
91
|
end
|
92
92
|
feed_url = options[:only_owner_access_level] ? GCal4Ruby::Calendar::OWN_CALENDARS_FEED : GCal4Ruby::Calendar::ALL_CALENDARS_FEED
|
93
|
-
ret = send_request(GData4Ruby::Request.new(:get, feed_url,
|
93
|
+
ret = send_request(GData4Ruby::Request.new(:get, feed_url, '', {"max-results" => "10000"}))
|
94
94
|
cals = []
|
95
95
|
REXML::Document.new(ret).root.elements.each("entry"){}.map do |entry|
|
96
96
|
entry = GData4Ruby::Utils.add_namespaces(entry)
|
@@ -106,7 +106,7 @@ module GCal4Ruby
|
|
106
106
|
if not (@auth_token || @access_token)
|
107
107
|
raise NotAuthenticated
|
108
108
|
end
|
109
|
-
ret = send_request(GData4Ruby::Request.new(:get, Event.event_feed_uri(@account),
|
109
|
+
ret = send_request(GData4Ruby::Request.new(:get, Event.event_feed_uri(@account), '', {"max-results" => "10000"}))
|
110
110
|
events = []
|
111
111
|
REXML::Document.new(ret).root.elements.each("entry"){}.map do |entry|
|
112
112
|
entry = GData4Ruby::Utils.add_namespaces(entry)
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: intouch-gcal4ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.5.7.
|
5
|
+
version: 0.5.7.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mike Reich
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.1.5.
|
23
|
+
version: 0.1.5.3
|
24
24
|
type: :runtime
|
25
25
|
version_requirements: *id001
|
26
26
|
description: "GCal4Ruby is a Ruby Gem that can be used to interact with the current version of the Google Calendar API. GCal4Ruby provides the following features: Create and edit calendar events, Add and invite users to events, Set reminders, Make recurring events."
|