gcal4ruby 0.5.2 → 0.5.3

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 +3 -0
  2. data/lib/gcal4ruby/event.rb +3 -4
  3. metadata +3 -3
data/CHANGELOG CHANGED
@@ -1,7 +1,10 @@
1
1
  #=CHANGELOG
2
+ #==version 0.5.3
3
+ #* Fixed bug when loading event attributes when initializing
2
4
  #==version 0.5.2
3
5
  #* Fixed calendar.public functionality for making calendars publicly viewable.
4
6
  #* Fixed to_iframe output methods
7
+ #* Fixed issue with creating new events
5
8
  #==version 0.5.1
6
9
  #* Minor fixes to to_iframe methods
7
10
  #==version 0.5.0 - MAJOR CHANGES
@@ -121,16 +121,15 @@ module GCal4Ruby
121
121
  #Creates a new Event. Accepts a valid Service object and optional attributes hash.
122
122
  def initialize(service, attributes = {})
123
123
  super(service, attributes)
124
- attributes.each do |key, value|
125
- self.send("#{key}=", value)
126
- end
127
124
  @xml = EVENT_XML
128
125
  @transparency ||= :busy
129
126
  @status ||= :confirmed
130
127
  @attendees ||= []
131
128
  @all_day ||= false
132
129
  @reminder = []
133
- @start_time = @end_time = @calendar_id = nil
130
+ attributes.each do |key, value|
131
+ self.send("#{key}=", value)
132
+ end
134
133
  end
135
134
 
136
135
  #Sets the reminder options for the event. Parameter must be a hash a :minutes key with a value of 5 up to 40320 (4 weeks)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 2
9
- version: 0.5.2
8
+ - 3
9
+ version: 0.5.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mike Reich
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-13 00:00:00 +10:00
17
+ date: 2010-05-19 00:00:00 +10:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency