dsu 2.1.2 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +1 -1
- data/lib/dsu/subcommands/list.rb +2 -1
- data/lib/dsu/support/command_options/time_mnemonic.rb +1 -1
- data/lib/dsu/support/command_options/time_mnemonics.rb +2 -2
- data/lib/dsu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f96d328d7aa210c34ec21066d11d393bfab30cc18575b404c65ee1c20b8594b
|
4
|
+
data.tar.gz: da67601c29bee6c44d10d52561ccfd5196452539158dbf78137de54590654929
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13654ef47f6b35b8fcc3c27e0f7cdeca43791220001e24157dae4ab9d47964c3c3b08f8d961fbfd8458dd804e1e9e23e00306538b4f8ff5786abdde8d377465f
|
7
|
+
data.tar.gz: '0233403599e4a3b82266b4fe68a4d31cfb4c539572e321d5fb79e8539d0eaa1864d9ea348bd40b3fb2c26c2d835d4050847a88ca4c2d201e84a7ff085408e429'
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
## [2.1.4] 2023-12-19
|
2
|
+
|
3
|
+
Changes
|
4
|
+
|
5
|
+
- Minor code refactors.
|
6
|
+
|
7
|
+
Bug fixes
|
8
|
+
|
9
|
+
- Fix bug in relative date mnemonic (RDMs) regex matcher that incorrectly matched dates whose separater happened to be a "-" (e.g. 2023-12-31). The old regex (/[+-]\d+/) incorrectly interpreted this as an RDM. This bug would cause the `dsu list dates` command (for example) to create erroneous, relative dates.
|
10
|
+
|
11
|
+
## [2.1.3] 2023-12-17
|
12
|
+
|
13
|
+
Bug fixes
|
14
|
+
|
15
|
+
- Fix bug that did not recognize the `include_all` configuration option when using the `dsu list dates` command. The `include_all` configuration option is now recognized and used properly when using the `dsu list dates` command. See `dsu help list dates` for more information.
|
16
|
+
|
1
17
|
## [2.1.2] 2023-12-17
|
2
18
|
|
3
19
|
Changes
|
data/Gemfile.lock
CHANGED
data/lib/dsu/subcommands/list.rb
CHANGED
@@ -66,7 +66,8 @@ module Dsu
|
|
66
66
|
mnemonic_option_description: mnemonic_option_description)
|
67
67
|
option :from, type: :string, required: true, aliases: '-f', banner: 'DATE|MNEMONIC'
|
68
68
|
option :to, type: :string, required: true, aliases: '-t', banner: 'DATE|MNEMONIC'
|
69
|
-
option :include_all, default:
|
69
|
+
option :include_all, default: nil, type: :boolean, aliases: '-a',
|
70
|
+
desc: I18n.t('options.include_all')
|
70
71
|
def dates
|
71
72
|
options = configuration.to_h.merge(self.options).with_indifferent_access
|
72
73
|
times, errors = Support::CommandOptions::DsuTimes.dsu_times_for(from_option: options[:from], to_option: options[:to]) # rubocop:disable Layout/LineLength
|
data/lib/dsu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dsu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene M. Angelo, Jr.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|