icalendar 2.6.0 → 2.6.1

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: 165b0d4192335c7fb36354195666ea4d386d63029190d7c1248ab3d4fe1554ec
4
- data.tar.gz: 3781a361f70f099aff7e891e7f3bc26eaaac059c615a40d377634d41d4905d3c
3
+ metadata.gz: 4fd1e657ab9c20d0576627a5d04bcc6991205bf8f086ad8150e5bcbc179f6c49
4
+ data.tar.gz: 2a29f3a0da940f8c2caa83bc49e2cfad4cb2fa31b72a64c1b7f200a65571bfb9
5
5
  SHA512:
6
- metadata.gz: 682932f688906567e95fc58b4952b05664e9eeece75708bd83c1ebc42362e927a252f77a8124bf028500359e23aa1d7b071b9af5ccf1032d92074c29cecd6f3f
7
- data.tar.gz: 38a5153c80c3b170c2d973104f565d3e0ff5a3c74b8573870331cc842e23e2918de712b6a0046cecb758a1aa3450c72f4aedaa2f22bb302a7343332f2c0a017a
6
+ metadata.gz: '02840f7036575111fdfce4253131e15b574a38f1f48061229863a52514d661943e119c859a983df0ce3d16818e86a34cbcd9b7e2813fb4b91e38d09d8be5e9e2'
7
+ data.tar.gz: 59eb643eafb0a108da246806fe737c58e5592e0baf14af7d04ccd131ebc03e164bd3433ce2eced74e9d2054fa648a52aad64252d3eaecdc6df7a367ebbdf2107
@@ -1,3 +1,6 @@
1
+ === 2.6.1 2019-12-07
2
+ * Improve performance when generating large ICS files - Alex Balhatchet
3
+
1
4
  === 2.6.0 2019-11-26
2
5
  * Improve performance for calculating timezone offsets - Justin Howard
3
6
  * Make it possible to de/serialize with Marshal - Pawel Niewiadomski
@@ -71,6 +71,8 @@ module Icalendar
71
71
  # than 75 octets, but you need to split between characters, not bytes.
72
72
  # This is challanging with Unicode composing accents, for example.
73
73
 
74
+ return long_line if long_line.bytesize <= Icalendar::MAX_LINE_LENGTH
75
+
74
76
  chars = long_line.scan(/\P{M}\p{M}*/u) # split in graphenes
75
77
  folded = ['']
76
78
  bytes = 0
@@ -1,5 +1,5 @@
1
1
  module Icalendar
2
2
 
3
- VERSION = '2.6.0'
3
+ VERSION = '2.6.1'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icalendar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Ahearn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-27 00:00:00.000000000 Z
11
+ date: 2019-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ice_cube
@@ -246,7 +246,7 @@ metadata: {}
246
246
  post_install_message: 'ActiveSupport is required for TimeWithZone support, but not
247
247
  required for general use.
248
248
 
249
- '
249
+ '
250
250
  rdoc_options: []
251
251
  require_paths:
252
252
  - lib