jruby-rfc2445 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ical_parse_util.rb +2 -2
  2. metadata +38 -26
@@ -67,9 +67,9 @@ class ICalParseUtil
67
67
  parse_jtime(s, tzid)
68
68
  end
69
69
 
70
- def parse_datetime(s)
70
+ def parse_datetime(s, tzid = nil)
71
71
  s =~ /(;TZID=([^\s]+))?:([^\s]+)/
72
- parse_jtime($3, $2)
72
+ parse_jtime($3, $2 || tzid)
73
73
  end
74
74
  end
75
75
  end
metadata CHANGED
@@ -1,15 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-rfc2445
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ hash: 15
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 6
9
+ - 4
10
+ version: 0.6.4
5
11
  platform: ruby
6
12
  authors:
7
- - Jerry Luk
13
+ - Jerry Luk
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-02-02 00:00:00 -08:00
18
+ date: 2010-12-23 00:00:00 -08:00
13
19
  default_executable:
14
20
  dependencies: []
15
21
 
@@ -22,18 +28,18 @@ extensions: []
22
28
  extra_rdoc_files: []
23
29
 
24
30
  files:
25
- - README
26
- - MIT-LICENSE
27
- - lib/ical_parse_util.rb
28
- - lib/jtime.rb
29
- - lib/rdate_list.rb
30
- - lib/recurrence_time.rb
31
- - lib/rfc2445.rb
32
- - lib/rfc2445.jar
33
- - lib/rrule.rb
34
- - lib/weekday.rb
35
- - lib/weekday_num.rb
36
- - spec/rfc2445_spec.rb
31
+ - README
32
+ - MIT-LICENSE
33
+ - lib/ical_parse_util.rb
34
+ - lib/jtime.rb
35
+ - lib/rdate_list.rb
36
+ - lib/recurrence_time.rb
37
+ - lib/rfc2445.rb
38
+ - lib/rfc2445.jar
39
+ - lib/rrule.rb
40
+ - lib/weekday.rb
41
+ - lib/weekday_num.rb
42
+ - spec/rfc2445_spec.rb
37
43
  has_rdoc: true
38
44
  homepage: http://www.linkedin.com/in/jerryluk
39
45
  licenses: []
@@ -42,25 +48,31 @@ post_install_message:
42
48
  rdoc_options: []
43
49
 
44
50
  require_paths:
45
- - lib
51
+ - lib
46
52
  required_ruby_version: !ruby/object:Gem::Requirement
53
+ none: false
47
54
  requirements:
48
- - - ">="
49
- - !ruby/object:Gem::Version
50
- version: "0"
51
- version:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
52
61
  required_rubygems_version: !ruby/object:Gem::Requirement
62
+ none: false
53
63
  requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
57
- version:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ hash: 3
67
+ segments:
68
+ - 0
69
+ version: "0"
58
70
  requirements: []
59
71
 
60
72
  rubyforge_project:
61
- rubygems_version: 1.3.5
73
+ rubygems_version: 1.3.7
62
74
  signing_key:
63
75
  specification_version: 3
64
76
  summary: A JRuby implementation of RFC 2445 (ical) recurrence rule
65
77
  test_files:
66
- - spec/rfc2445_spec.rb
78
+ - spec/rfc2445_spec.rb