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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 423f11257d10d8dfee4255bc96b497c91c88a92f0fc2d6efeffb201954b806fb
4
- data.tar.gz: 92879e7e0a0e9fdc37491ea9f08a8bcade115c13042e520a64b592f4909967b8
3
+ metadata.gz: 3935ec3af4f96608e045c493af0023ded0d4e7bc1ab5a0a54eea0a4fda76f152
4
+ data.tar.gz: 527d15154d5761d981cdd45d07efe8a4ac80137c39764c7e7fd4cb2fd4ffc973
5
5
  SHA512:
6
- metadata.gz: 39be1c44951c564f8f702f692b82599d842758640fd7d53b6fe7e5acbf0dca1a6bc3989908ad130971b3b108ec25d9fb45e93f836fae8bd03205ff6c61a33a08
7
- data.tar.gz: 847d3f5cbc60407c601177c9d9beaf065f10d4e153f2df93dbb337f28dadb009d16d1543d887c0f81137da4ecb7c8e4f164fadfd7a4df40033a57bb7b5e41890
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
- calendar_url << "#{new_line}#{key}:#{value}"
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"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AddToCalendarLinks
4
- VERSION = '0.4.5'
4
+ VERSION = '0.4.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: add_to_calendar_links
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared Turner