icalendar 2.11.0 → 2.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a3ae780c56015cbd4ff657ce042c086038f2f922069fa40eaaeaeedd3b7144c
4
- data.tar.gz: 88d669f06da7a9b91c3c8a92dd08e11e70b8712a2c4b05a752427abc1ed56435
3
+ metadata.gz: d203d559d0522f82ba0036892eb054a5be722cd6e19af063a85563c9b8357d3b
4
+ data.tar.gz: 711e78355b4f08581ce8fc6d69d81ac0851e55c50f2931e56bf38344f594c3c8
5
5
  SHA512:
6
- metadata.gz: 250a5156dbb7f7ec7cd7f9fddd51982676d81b5a41ae2815c85b41f3f114e3b3c812c07794463d3563f85a93d8097075a19bb7d37b2ca4694682cc8804ff9be7
7
- data.tar.gz: 11c71867043fd1fd94cc6199e470b9ff4ce55c7c5e2455d0435b46676b4017743cec130de8f5383faf66eee4e28a400b6b807bf76eb1c781fd47604b7276a4c5
6
+ metadata.gz: 30825c56f9cabbc358966a315f1678b785013cb3316eaec30c5f91f512746ca7bbdc6384c322d404b67f1d8bcf60b1e9a85ad2b3b9d5b0399c64cc2c4695b718
7
+ data.tar.gz: 2776f4a9dfb99205c392f1f13d12d281dea120d9626b94341d520c297417f32ca1f5b9a1378ec4edea8e63d2ccfaaf16945cc4cc52bb0901bd869da0f2121e5a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 2.11.1 - 2025-06-06
4
+ - Gracefully deal with malformed ics files that use spaces in the value parameter instead of hyphens
5
+
3
6
  ## 2.11.0 - 2025-04-12
4
7
  - Require gems for ruby 3.4 that used to be in stdlib - Go Sueyoshi
5
8
  - Refactor how timezone offsets are calculated - Pat Allan
@@ -105,7 +105,7 @@ module Icalendar
105
105
  ((multi_property && value =~ WRAP_IN_ARRAY_REGEX_1) || value =~ WRAP_IN_ARRAY_REGEX_2)
106
106
  end
107
107
 
108
- GET_WRAPPER_CLASS_GSUB_REGEX = /(?:\A|-)(.)/.freeze
108
+ GET_WRAPPER_CLASS_GSUB_REGEX = /(?:\A|-|\s+)(.)/.freeze
109
109
 
110
110
  def get_wrapper_class(component, fields)
111
111
  klass = component.class.default_property_types[fields[:name]]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Icalendar
4
4
 
5
- VERSION = '2.11.0'
5
+ VERSION = '2.11.1'
6
6
 
7
7
  end
@@ -38,7 +38,7 @@ SEQUENCE:13
38
38
  BEGIN:VALARM
39
39
  X-WR-ALARMUID:6F54CD66-F2A9-491D-8892-7E3209F6A2E4
40
40
  UID:6F54CD66-F2A9-491D-8892-7E3209F6A2E4
41
- TRIGGER;VALUE=DATE-TIME:19760401T005545Z
41
+ TRIGGER;VALUE=DATE TIME:19760401T005545Z
42
42
  ACTION:NONE
43
43
  END:VALARM
44
44
  END:VEVENT
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.11.0
4
+ version: 2.11.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: 2025-04-12 00:00:00.000000000 Z
11
+ date: 2025-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64