ice_cube 0.2.8.2 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ice_cube/validations/day_of_week.rb +3 -3
- data/lib/ice_cube/version.rb +1 -1
- metadata +3 -4
@@ -37,9 +37,9 @@ module IceCube
|
|
37
37
|
|
38
38
|
def to_ical
|
39
39
|
representation = 'BYDAY='
|
40
|
-
@days_of_week.
|
41
|
-
|
42
|
-
end
|
40
|
+
representation << @days_of_week.map do |day, occ|
|
41
|
+
occ.map { |o| o.to_s + IceCube::ICAL_DAYS[day] }.join(',')
|
42
|
+
end.join(',')
|
43
43
|
representation
|
44
44
|
end
|
45
45
|
|
data/lib/ice_cube/version.rb
CHANGED
metadata
CHANGED
@@ -5,9 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.2.8.2
|
8
|
+
- 9
|
9
|
+
version: 0.2.9
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- John Crepezzi
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-13 00:00:00 -04:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|