calendav 0.6.0 → 0.7.0

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: 3115f578b5329042f5a89fa08d3187add9a71a45a2d31cd424b8627a1a2c236c
4
- data.tar.gz: fb6c5ba8597585660bc90adcacfa4007f8178d90b742f35d2401c9e0ab647435
3
+ metadata.gz: 34d502fbdb651ebe05b7a94b1883c68b4bf2596c45120325afba8fefef3d6097
4
+ data.tar.gz: 10ce336e86721b9619f0e0bd7cfc07d82159e49d7ed24619f10fd41c1da8578b
5
5
  SHA512:
6
- metadata.gz: a39ecdba7a8ad77379b98b96724e68bc99cd3e46836ab65764fbba7f9765d9001ed46752fb5de85018736419e1c4db5739a412020f333382e00514ba74cda782
7
- data.tar.gz: eae7061b25f20a6e5d4816e12dd11df886b4adce21caa2b5b7bd6c06837881b9141d0655ba6a6f7f5d24f6370df6fe9fce1961971801689dec02565a4573097c
6
+ metadata.gz: 16133c0de06e2ebe64e351bff39117b908cb935b1cb970b23810373bc3d6012e557dcef41fc4f3b20fdf955014bdc0a8892248e4d7a0b5f4a12e8824cc1e25d0
7
+ data.tar.gz: d384ca0f4a93db9a10aac1e5e83a0280548b87c6b4bf3f8ae1c45ff4224ed2e8d39c98e48754652e4ed52d9c5132f90af68828d553112d4c7fbf5a96eb05c042
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 0.7.0 - 2026-11-29
4
+
5
+ * Memoise expensive parsing logic for events and todos (François Ferrandis #17)
6
+ * Fix multi_json use in test suite (François Ferrandis #18)
7
+ * Drop support for Ruby versions prior to v3.2.
8
+ * Added a policy banning AI/LLM contributions.
9
+
3
10
  ## 0.6.0 - 2026-04-12
4
11
 
5
12
  * Add `current-user-privilege-set` support (Antoine Girard #15)
data/README.md CHANGED
@@ -309,7 +309,7 @@ With the CalDAV server running, you can now run `rake spec` to run the tests.
309
309
 
310
310
  ## Contributing
311
311
 
312
- Bug reports and pull requests are welcome on GitHub at https://github.com/pat/calendav. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/pat/calendav/blob/main/CODE_OF_CONDUCT.md).
312
+ Bug reports and pull requests are welcome on GitHub at https://github.com/pat/calendav. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/pat/calendav/blob/main/CODE_OF_CONDUCT.md) and [AI/LLMs policy](https://github.com/pat/calendav/blob/main/AI_POLICY.md).
313
313
 
314
314
  ## License
315
315
 
@@ -58,11 +58,11 @@ module Calendav
58
58
  attr_reader :attributes
59
59
 
60
60
  def inner_calendar
61
- Icalendar::Calendar.parse(calendar_data).first
61
+ @inner_calendar ||= Icalendar::Calendar.parse(calendar_data).first
62
62
  end
63
63
 
64
64
  def inner_event
65
- @inner_event = inner_calendar.events.first
65
+ @inner_event ||= inner_calendar.events.first
66
66
  end
67
67
  end
68
68
  end
data/lib/calendav/todo.rb CHANGED
@@ -50,11 +50,11 @@ module Calendav
50
50
  attr_reader :attributes
51
51
 
52
52
  def inner_calendar
53
- Icalendar::Calendar.parse(calendar_data).first
53
+ @inner_calendar ||= Icalendar::Calendar.parse(calendar_data).first
54
54
  end
55
55
 
56
56
  def inner_todo
57
- @inner_todo = inner_calendar.todos.first
57
+ @inner_todo ||= inner_calendar.todos.first
58
58
  end
59
59
  end
60
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calendav
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
@@ -107,14 +107,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
- version: 2.7.0
110
+ version: 3.2.0
111
111
  required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - ">="
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []
117
- rubygems_version: 3.7.2
117
+ rubygems_version: 4.0.20
118
118
  specification_version: 4
119
119
  summary: CalDAV client
120
120
  test_files: []