gcal4ruby 0.5.0 → 0.5.1

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/calendar.rb +3 -6
  3. metadata +20 -9
data/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
1
  #=CHANGELOG
2
+ #==version 0.5.1
3
+ #* Minor fixes to to_iframe methods
2
4
  #==version 0.5.0 - MAJOR CHANGES
3
5
  #* Now using GData4Ruby library as base class for service, calendar, and event objects. This removed the base.rb class, which is now inherited from
4
6
  # GData4ruby
@@ -289,13 +289,13 @@ module GCal4Ruby
289
289
  def to_iframe(params = {})
290
290
  params[:height] ||= "600"
291
291
  params[:width] ||= "600"
292
- params[:title] ||= (self.account ? self.account : '')
292
+ params[:title] ||= (self.title ? self.title : '')
293
293
  params[:bgcolor] ||= "#FFFFFF"
294
294
  params[:color] ||= "#2952A3"
295
295
  params[:border] ||= "0"
296
- puts "params = #{params.inspect}" if self.debug
296
+ puts "params = #{params.inspect}" if service.debug
297
297
  output = "?#{params.to_a.collect{|a| a.join("=")}.join("&")}&"
298
- puts "param_string = #{output}" if self.debug
298
+ puts "param_string = #{output}" if service.debug
299
299
 
300
300
  output += "src=#{@id}&color=#{params[:color]}"
301
301
 
@@ -324,13 +324,10 @@ module GCal4Ruby
324
324
  def self.to_iframe(id, params = {})
325
325
  params[:height] ||= "600"
326
326
  params[:width] ||= "600"
327
- params[:title] ||= (self.account ? self.account : '')
328
327
  params[:bgcolor] ||= "#FFFFFF"
329
328
  params[:color] ||= "#2952A3"
330
329
  params[:border] ||= "0"
331
- puts "params = #{params.inspect}" if self.debug
332
330
  output = "?#{params.to_a.collect{|a| a.join("=")}.join("&")}&"
333
- puts "param_string = #{output}" if self.debug
334
331
 
335
332
  output += "src=#{id}&color=#{params[:color]}"
336
333
 
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gcal4ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 5
8
+ - 1
9
+ version: 0.5.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - Mike Reich
@@ -14,15 +19,19 @@ default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: gdata4ruby
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 1
30
+ - 0
23
31
  version: 0.1.0
24
- version:
25
- 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:\n\n* Create and edit calendar events\n* Add and invite users to events\n* Set reminders\n* Make recurring events
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ 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:<br>* Create and edit calendar events<br>* Add and invite users to events<br>* Set reminders<br>* Make recurring events
26
35
  email: mike@seabourneconsulting.com
27
36
  executables: []
28
37
 
@@ -51,18 +60,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
60
  requirements:
52
61
  - - ">="
53
62
  - !ruby/object:Gem::Version
63
+ segments:
64
+ - 0
54
65
  version: "0"
55
- version:
56
66
  required_rubygems_version: !ruby/object:Gem::Requirement
57
67
  requirements:
58
68
  - - ">="
59
69
  - !ruby/object:Gem::Version
70
+ segments:
71
+ - 0
60
72
  version: "0"
61
- version:
62
73
  requirements: []
63
74
 
64
75
  rubyforge_project: gcal4ruby
65
- rubygems_version: 1.3.5
76
+ rubygems_version: 1.3.6
66
77
  signing_key:
67
78
  specification_version: 3
68
79
  summary: A full featured wrapper for interacting with the Google Calendar API