gcal4ruby 0.5.3 → 0.5.4

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/service.rb +2 -2
  3. metadata +3 -3
data/CHANGELOG CHANGED
@@ -1,4 +1,6 @@
1
1
  #=CHANGELOG
2
+ #==version 0.5.4
3
+ #* Fixed Service#to_iframe bgcolor bug
2
4
  #==version 0.5.3
3
5
  #* Fixed bug when loading event attributes when initializing
4
6
  #==version 0.5.2
@@ -135,13 +135,13 @@ module GCal4Ruby
135
135
  params[:bgcolor] ||= "#FFFFFF"
136
136
  params[:border] ||= "0"
137
137
  params.each{|key, value| params[key] = CGI::escape(value)}
138
- output = "#{params.to_a.collect{|a| a.join("=")}.join("&")}"
138
+ output = "#{params.to_a.collect{|a| a.join("=")}.join("&")}&"
139
139
 
140
140
  if cals.is_a?(Array)
141
141
  for c in cals
142
142
  output += "src=#{c}&"
143
143
  if colors and colors[c]
144
- output += "color=#{colors[c]}&"
144
+ output += "color=%23#{colors[c].gsub("#", "")}&"
145
145
  end
146
146
  end
147
147
  elsif cals == :all
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 3
9
- version: 0.5.3
8
+ - 4
9
+ version: 0.5.4
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-19 00:00:00 +10:00
17
+ date: 2010-05-24 00:00:00 +10:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency