icalPal 3.7.1 → 3.7.2

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: f3334419bc5644203db9bde2b96e1cb3d213bf767150a58e9adabc7238755b76
4
- data.tar.gz: 8dfa347e6bf5bd9ef02a4512a72573719a4a241d2d8660954c3b9c286e02445a
3
+ metadata.gz: e58fa4c25f2889085177f9914025ee4d6a6e4c3da4794b8735c7f66d585ccc59
4
+ data.tar.gz: e50b7413fd65d780e74a00818d51aa89481f51f2f1317253ac657ea88e40fdb9
5
5
  SHA512:
6
- metadata.gz: ca0cd2fc4f82278fe2ff9a09f3aebf7f6a24ad9c548fb4810e3368454fc51aa4c964da2751fb29ee2ff4bdb65ea62462259ceb47cc96e86cb861d01c9c2ca3c9
7
- data.tar.gz: efc907d25a32059e1b99920f608acae7233808072d5a946c6df7daa78fc182bb8749720b2aa1130997d0f04fb07bca5629a1c619d49d406a17f399c76919c59e
6
+ metadata.gz: 97bdc6289a47ce703869487823d1273ba182dc40a51272114745dad592748dca9acff3f91a22691e24ef766b2d21984c641dc7d7e949d9db9a66453544784f82
7
+ data.tar.gz: 8507ac86ddd34ea7eea90443c4b15c8f81aa77aa4fb1bf8438c5fb1db35c1af77d5a4d586a8b639c6a1f55049c102320c745f7b8be56dde09ca50edd55c08173
data/lib/EventKit.rb CHANGED
@@ -30,7 +30,7 @@ class EventKit
30
30
  yearly
31
31
  ].freeze
32
32
 
33
- EKReminderProperty = [
33
+ EKReminderPriority = [
34
34
  'none', # 0
35
35
  'high', nil, nil, nil, # 1
36
36
  'medium', nil, nil, nil, # 5
data/lib/defaults.rb CHANGED
@@ -8,7 +8,6 @@ $defaults = {
8
8
  common: {
9
9
  ab: '!',
10
10
  aep: [],
11
- atp: [],
12
11
  bullet: '•',
13
12
  cf: "#{Dir.home}/.icalpal",
14
13
  color: false,
@@ -20,7 +19,6 @@ $defaults = {
20
19
  df: '%b %-d, %Y',
21
20
  ec: [],
22
21
  eep: [],
23
- etp: [],
24
22
  el: [],
25
23
  es: [],
26
24
  et: [],
@@ -45,21 +43,21 @@ $defaults = {
45
43
  tasks: {
46
44
  dated: 0,
47
45
  db: [ ICalPal::Reminder::DB_PATH ],
48
- itp: %w[ title notes due priority ],
46
+ iep: %w[ title notes due priority ],
49
47
  sort: 'prio',
50
48
  },
51
49
 
52
50
  undatedTasks: {
53
51
  dated: 1,
54
52
  db: [ ICalPal::Reminder::DB_PATH ],
55
- itp: %w[ title notes due priority ],
53
+ iep: %w[ title notes due priority ],
56
54
  sort: 'prio',
57
55
  },
58
56
 
59
57
  datedTasks: {
60
58
  dated: 2,
61
59
  db: [ ICalPal::Reminder::DB_PATH ],
62
- itp: %w[ title notes due priority ],
60
+ iep: %w[ title notes due priority ],
63
61
  sort: 'prio',
64
62
  },
65
63
 
data/lib/options.rb CHANGED
@@ -282,9 +282,11 @@ module ICalPal
282
282
  opts[:version] = @op.version
283
283
 
284
284
  # From the Department of Redundancy Department
285
- (opts[:cmd].include? 'tasks')?
286
- opts[:props] = (opts[:itp] + opts[:atp] - opts[:etp]).uniq :
287
- opts[:props] = (opts[:iep] + opts[:aep] - opts[:eep]).uniq
285
+ opts[:iep] = opts[:itp] if opts[:itp]
286
+ opts[:eep] = opts[:etp] if opts[:etp]
287
+ opts[:aep] = opts[:atp] if opts[:atp]
288
+
289
+ opts[:props] = (opts[:iep] + opts[:aep] - opts[:eep]).uniq
288
290
 
289
291
  # From, to, days
290
292
  if opts[:from]
data/lib/reminder.rb CHANGED
@@ -12,7 +12,7 @@ module ICalPal
12
12
  (@self['notes'].empty?)? nil : @self['notes']
13
13
 
14
14
  when 'priority' # Integer -> String
15
- EventKit::EKReminderProperty[@self['priority']] if @self['priority'].positive?
15
+ EventKit::EKReminderPriority[@self['priority']] if @self['priority'].positive?
16
16
 
17
17
  when 'sdate' # For sorting
18
18
  @self['title']
data/lib/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module ICalPal
2
2
  NAME = 'icalPal'.freeze
3
- VERSION = '3.7.1'.freeze
3
+ VERSION = '3.7.2'.freeze
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icalPal
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.1
4
+ version: 3.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Rosen
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-07-27 00:00:00.000000000 Z
10
+ date: 2025-07-31 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: |
13
13
  Inspired by icalBuddy and maintains close compatability. Includes