add_to_calendar_links 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/add_to_calendar_links.rb +5 -1
- data/lib/add_to_calendar_links/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3935ec3af4f96608e045c493af0023ded0d4e7bc1ab5a0a54eea0a4fda76f152
|
4
|
+
data.tar.gz: 527d15154d5761d981cdd45d07efe8a4ac80137c39764c7e7fd4cb2fd4ffc973
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93780860c00aaa06c46d0a93345484530b7640b4b096c94a793c12e60b2999bc5dc651782dbd8f2bef15a91e96da9867b99b6c45be30f01a2cbd0d47690368ec
|
7
|
+
data.tar.gz: 7f2e84c53eb136bc07c78e5398a03dff59beccd1410a2652234cd1df8f08e3cc22124095747aacd544a3272307ab58ec24046a13a98a9c9c93d4e462f5ef3f98
|
@@ -180,7 +180,11 @@ module AddToCalendarLinks
|
|
180
180
|
|
181
181
|
new_line = "%0A"
|
182
182
|
params.each do |key, value|
|
183
|
-
|
183
|
+
if key == :ORGANIZER
|
184
|
+
calendar_url << "\n#{key}#{value}"
|
185
|
+
else
|
186
|
+
calendar_url << "\n#{key}:#{value}"
|
187
|
+
end
|
184
188
|
end
|
185
189
|
|
186
190
|
calendar_url << "%0AEND:VEVENT%0AEND:VCALENDAR"
|