icalPal 3.7.0 → 3.7.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: ba338929f0377bfae8aec2fd52aee889987fe891f434ae060791efc7b328d90e
4
- data.tar.gz: 3c3dfd531eb50be50ef04c89f9a5960744ee7c0f11a811d837e4e35f847e63bf
3
+ metadata.gz: f3334419bc5644203db9bde2b96e1cb3d213bf767150a58e9adabc7238755b76
4
+ data.tar.gz: 8dfa347e6bf5bd9ef02a4512a72573719a4a241d2d8660954c3b9c286e02445a
5
5
  SHA512:
6
- metadata.gz: c9ad992af30cd496af96b2bdbb7c069c9982dd737c2d139c6106f6cdf04ab95a2da0de407245da074111a4e867aca6c5c2ecc84469662f003fab0c739c7a85b8
7
- data.tar.gz: 9d84127d8ee6341902ea6b9844b7630995e576c615c2d5a8a04f790b8538ec00e1b319e7db5e1f7fcd7965793b21a643186c6c0d2c3905162fd5a7be8539455c
6
+ metadata.gz: ca0cd2fc4f82278fe2ff9a09f3aebf7f6a24ad9c548fb4810e3368454fc51aa4c964da2751fb29ee2ff4bdb65ea62462259ceb47cc96e86cb861d01c9c2ca3c9
7
+ data.tar.gz: efc907d25a32059e1b99920f608acae7233808072d5a946c6df7daa78fc182bb8749720b2aa1130997d0f04fb07bca5629a1c619d49d406a17f399c76919c59e
data/bin/icalPal CHANGED
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ # rubocop: disable Style/RedundantBegin
4
+
3
5
  # require a gem
4
6
  #
5
7
  # @param gem [String] The gem
@@ -29,6 +31,8 @@ def rr(library)
29
31
  end
30
32
  end
31
33
 
34
+ # rubocop: enable Style/RedundantBegin
35
+
32
36
  %w[ logger csv json rdoc sqlite3 yaml ].each { |g| r g }
33
37
  %w[ icalPal defaults options utils ].each { |l| rr l }
34
38
 
@@ -235,7 +239,7 @@ mu = case $opts[:output]
235
239
  ##################################################
236
240
  # Print the data
237
241
 
238
- items = $items[0..$opts[:li] - 1]
242
+ items = $items[0..($opts[:li] - 1)]
239
243
 
240
244
  unless mu
241
245
  $log.debug("Output in #{$opts[:output]} format")
data/bin/icalpal CHANGED
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ # rubocop: disable Style/RedundantBegin
4
+
3
5
  # require a gem
4
6
  #
5
7
  # @param gem [String] The gem
@@ -29,6 +31,8 @@ def rr(library)
29
31
  end
30
32
  end
31
33
 
34
+ # rubocop: enable Style/RedundantBegin
35
+
32
36
  %w[ logger csv json rdoc sqlite3 yaml ].each { |g| r g }
33
37
  %w[ icalPal defaults options utils ].each { |l| rr l }
34
38
 
@@ -235,7 +239,7 @@ mu = case $opts[:output]
235
239
  ##################################################
236
240
  # Print the data
237
241
 
238
- items = $items[0..$opts[:li] - 1]
242
+ items = $items[0..($opts[:li] - 1)]
239
243
 
240
244
  unless mu
241
245
  $log.debug("Output in #{$opts[:output]} format")
data/lib/defaults.rb CHANGED
@@ -64,7 +64,7 @@ $defaults = {
64
64
  },
65
65
 
66
66
  stores: {
67
- itp: %w[ account type ],
67
+ iep: %w[ account type ],
68
68
  sort: 'account',
69
69
  },
70
70
 
data/lib/event.rb CHANGED
@@ -304,7 +304,7 @@ module ICalPal
304
304
  end
305
305
 
306
306
  # Check if an event starts or ends between from and to, or if it's
307
- # running now (for -n)
307
+ # running now (for eventsNow)
308
308
  #
309
309
  # @param s [RDT] Event start
310
310
  # @param e [RDT] Event end
data/lib/utils.rb CHANGED
@@ -34,5 +34,5 @@ def ancestor
34
34
  ppid = ps[/^[0-9 ]+ /].to_i
35
35
  end
36
36
 
37
- ps[ps.rindex('/') + 1..].chop
37
+ ps[(ps.rindex('/') + 1)..].chop
38
38
  end
data/lib/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module ICalPal
2
2
  NAME = 'icalPal'.freeze
3
- VERSION = '3.7.0'.freeze
3
+ VERSION = '3.7.1'.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.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Rosen
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-05-22 00:00:00.000000000 Z
10
+ date: 2025-07-27 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: |
13
13
  Inspired by icalBuddy and maintains close compatability. Includes