ri_cal 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -1
- data/VERSION +1 -1
- data/lib/ri_cal/component/calendar.rb +1 -1
- data/ri_cal.gemspec +2 -2
- data/spec/ri_cal/bugreports_spec.rb +14 -0
- metadata +3 -3
data/History.txt
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
=== 0.8.
|
1
|
+
=== 0.8.7
|
2
|
+
fix ticket #29-supress x-rical-tzsource when not relevant
|
3
|
+
=== 0.8.6 - 15 April 2010
|
2
4
|
Fixes an issue of RFC 2445 non-conformance - change management time attributes (dtstamp, last_modified, and created) MUST be zulu time
|
3
5
|
Changed VTIMEZONE export from tz_info
|
4
6
|
Discovered that RFC 2445 expects a timezone period onset to be local time before the change, while TZInfo gives it after the change
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.7
|
@@ -35,7 +35,7 @@ module RiCal
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def export_properties_to(export_stream) # :nodoc:
|
38
|
-
prodid_property.params["X-RICAL-TZSOURCE"] = @tz_source
|
38
|
+
prodid_property.params["X-RICAL-TZSOURCE"] = @tz_source if @tz_source
|
39
39
|
export_prop_to(export_stream, "PRODID", prodid_property)
|
40
40
|
export_prop_to(export_stream, "CALSCALE", calscale_property)
|
41
41
|
export_prop_to(export_stream, "VERSION", version_property)
|
data/ri_cal.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ri_cal}
|
8
|
-
s.version = "0.8.
|
8
|
+
s.version = "0.8.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Rick DeNatale"]
|
12
|
-
s.date = %q{2010-04-
|
12
|
+
s.date = %q{2010-04-16}
|
13
13
|
s.default_executable = %q{ri_cal}
|
14
14
|
s.description = %q{A new Ruby implementation of RFC2445 iCalendar.
|
15
15
|
|
@@ -247,3 +247,17 @@ context "ticket #26" do
|
|
247
247
|
end
|
248
248
|
end
|
249
249
|
|
250
|
+
context "ticket 29:supress-x-rical-tzsource-when-not-relevant" do
|
251
|
+
it "should parse its own output" do
|
252
|
+
cal_string = %Q(BEGIN:VCALENDAR
|
253
|
+
PRODID:-//Google Inc//Google Calendar 70.9054//EN
|
254
|
+
BEGIN:VEVENT
|
255
|
+
DTSTART:20100610T100000
|
256
|
+
DTEND:20100610T110000
|
257
|
+
END:VEVENT
|
258
|
+
END:VCALENDAR)
|
259
|
+
lambda {RiCal.parse_string(RiCal.parse_string(cal_string).first.to_s)}.should_not raise_error
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 8
|
8
|
-
-
|
9
|
-
version: 0.8.
|
8
|
+
- 7
|
9
|
+
version: 0.8.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Rick DeNatale
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-16 00:00:00 -04:00
|
18
18
|
default_executable: ri_cal
|
19
19
|
dependencies: []
|
20
20
|
|