dsu 2.4.3 → 2.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +150 -215
  3. data/Gemfile.lock +13 -13
  4. data/README.md +7 -8
  5. data/lib/dsu/version.rb +1 -1
  6. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c8163f812eaded6f88a8fd25e501ebca51e820f7d93b06ab349a9fb4facecde
4
- data.tar.gz: e18ed74fa803102a3cc957d0b9ce420831ed4054d23d431338af2681a012d236
3
+ metadata.gz: c10a6ea372abaf638d307992a6b264c77e00401bb010ed6c9088d0ac5c692bb6
4
+ data.tar.gz: 45d0e54077c23c4ceaa73c8fbeaf763a185b9a391f3dbc2c3ab601c3c529bfe8
5
5
  SHA512:
6
- metadata.gz: b69dce6d25a7bba32473a8cfbe1c82130ffd19f37a34b8a2c1514f9397add35611dbd8d08da642b03f2eb0c5eab42a2f0b35d20335ed0f9c3f98f19ceeaef9be
7
- data.tar.gz: 353119cd18d19d9d4f77afcf437a35f1ca262aa9da5cdc91d0477a7d7d373490bac75a2d91d21ebd7dca76930bb3fbde53e4e8fa53693e4364239c8942020cd9
6
+ metadata.gz: 7d4692b7a049fc2bb18933664fbfabef1b5b30824edef65a899b4a545ef602735b6bb7f84696daa60eeec3189abefadce16b1d9efe1c7876ff0988136ec74b16
7
+ data.tar.gz: 98d7187717424c4c9ff401a5757a1c11b75cccaaec082692f67854033849a229521d221a3cd6118dcf950bf19611b78f963d70ac0cd92b962b6365aaf479411b
data/CHANGELOG.md CHANGED
@@ -1,323 +1,258 @@
1
- ## [2.4.3] 2024-01-07
1
+ # Changelog
2
2
 
3
- Changes
3
+ All notable changes to this project will be documented in this file.
4
4
 
5
- - Code refactors, nothing discernable to the end user.
5
+ ## [2.4.4] - 2024-01-28
6
+ ### Changes
7
+ [x] Update ruby gems.
6
8
 
7
- Bug fixes
9
+ ## [2.4.3] - 2024-01-07
10
+ ### Changes
11
+ [x] Code refactors, nothing discernable to the end user.
8
12
 
9
- - Fixed bug that failed to display the correct editor if the editor session failed to open. For example, if the editor session failed to open and the EDITOR environment variable was used, the editor in the configuration file would be displayed instead of the EDITOR environment variable value.
13
+ ### Bug Fixes
14
+ [x] Fixed bug displaying incorrect editor if the editor session fails to open.
10
15
 
11
- ## [2.4.2] 2024-01-06
16
+ ## [2.4.2] - 2024-01-06
17
+ ### Changes
18
+ [x] Correct gemspec to allow ruby ['>= 3.0.1', '< 4.0'].
12
19
 
13
- Changes
20
+ ## [2.4.1] - 2024-01-05
21
+ ### Changes
22
+ [x] Move gem version to footer.
23
+ [x] Update ruby gems.
14
24
 
15
- - Correct gemspec to allow ruby ['>= 3.0.1', '< 4.0'].
25
+ ## [2.4.0] - 2024-01-01
26
+ ### Enhancements
27
+ [x] Add `dsu import` command to import DSU entries from a comma-delimited csv file. See `dsu help import` for more information.
28
+ [x] Update README.md to reflect new `dsu import` command.
16
29
 
17
- ## [2.4.1] 2024-01-05
18
-
19
- Changes
20
-
21
- - Move gem version to footer.
22
- - Update ruby gems.
23
-
24
- ## [2.4.0] 2024-01-01
25
-
26
- Enhancements
27
-
28
- - Add `dsu import` command to import DSU entries from a comma-delimited csv file. See `dsu help import` for more information.
29
- - Update README.md to reflect new `dsu import` command.
30
-
31
- Changes
32
-
33
- - Update ruby gems.
30
+ ### Changes
31
+ [x] Update ruby gems.
34
32
 
35
33
  ## [2.3.2] 2023-12-30
36
-
37
- Changes
38
-
39
- - Display a "Nothing to export" message if no entries are found, rather than prompting the user "export 0 entry groups" when using the `dsu export` command.
40
- - Add specs for Export::AllPresenter and Export::DatesPresenter
34
+ ### Changes
35
+ [x] Display a "Nothing to export" message if no entries are found, rather than prompting the user "export 0 entry groups" when using the `dsu export` command.
36
+ [x] Add specs for Export::AllPresenter and Export::DatesPresenter
41
37
 
42
38
  ## [2.3.1] 2023-12-25
43
-
44
- Changes
45
-
46
- - Update gemspec spec.post_install_message to reflect new `dsu export` command.
39
+ ### Changes
40
+ [x] Update gemspec spec.post_install_message to reflect new `dsu export` command.
47
41
 
48
42
  ## [2.3.0] 2023-12-25
49
43
 
50
- Enhancements
51
-
52
- - Added `dsu export` command to export all DSU entries or DSU entries between two given dates. Entries are written to a comma-delimited csv file located in your OS temp folder. For more information see `dsu help export` or the README.md file.
53
-
54
- Changes
44
+ ### Enhancements
45
+ [x] Added `dsu export` command to export all DSU entries or DSU entries between two given dates. Entries are written to a comma-delimited csv file located in your OS temp folder. For more information see `dsu help export` or the README.md file.
55
46
 
56
- - Updated README.md to reflect new `dsu export` command.
57
- - Fix misspelling of "cancelable" to "cancellable" in the codebase.
58
- - Update ruby gems.
47
+ ### Changes
48
+ [x] Updated README.md to reflect new `dsu export` command.
49
+ [x] Fix misspelling of "cancelable" to "cancellable" in the codebase.
50
+ [x] Update ruby gems.
59
51
 
60
52
  ## [2.2.2] 2023-12-23
53
+ ### Changes
54
+ [x] README.md updates.
61
55
 
62
- Changes
63
-
64
- - README.md updates.
65
-
66
- Bug fix
67
-
68
- - Fix `dsu config` shortcut command mapping bug that caused `dsu c` to display `dsu delete` command help instead of `dsu config` command help.
56
+ ### Bug fix
57
+ [x] Fix `dsu config` shortcut command mapping bug that caused `dsu c` to display `dsu delete` command help instead of `dsu config` command help.
69
58
 
70
59
  ## [2.2.1] 2023-12-23
71
-
72
- Changes
73
-
74
- - Add specs for `dsu browse` command.
75
- - Code refactors, nothing discernable to the end user.
60
+ ### Changes
61
+ [x] Add specs for `dsu browse` command.
62
+ [x] Code refactors, nothing discernable to the end user.
76
63
 
77
64
  ## [2.2.0] 2023-12-23
78
-
79
65
  Stable release.
80
66
 
81
67
  ## [2.2.0.rc.2] 2023-12-23
68
+ ### Enhancements
69
+ [x] Added "christmas" theme, see `dsu theme list` or `dsu theme show christmas` for more information.
82
70
 
83
- Enhancements
84
-
85
- - Added "christmas" theme, see `dsu theme list` or `dsu theme show christmas` for more information.
86
-
87
- Changes
88
-
89
- - Refactors Dsu::VERSION_REGEX to include rc releases (e.g. 2.2.0.rc.1, 2.2.0.rc.2, etc.).
71
+ ### Changes
72
+ [x] Refactors Dsu::VERSION_REGEX to include rc releases (e.g. 2.2.0.rc.1, 2.2.0.rc.2, etc.).
90
73
 
91
74
  ## [2.2.0.rc.1] 2023-12-23
75
+ ### Enhancements
76
+ [x] Added `dsu browse` command to interactively page through DSU entries.
77
+ [x] Added "light" theme for terminals with light backgrounds, see `dsu theme list` or `dsu theme show light` for more information.
92
78
 
93
- Enhancements
94
-
95
- - Added `dsu browse` command to interactively page through DSU entries.
96
- - Added "light" theme for terminals with light backgrounds, see `dsu theme list` or `dsu theme show light` for more information.
97
-
98
- Changes
99
-
100
- - Refactors to use activesupport Time#in_time_zone, including tests.
101
- - Various code refactors to support the aforementioned change.
79
+ ### Changes
80
+ [x] Refactors to use activesupport Time#in_time_zone, including tests.
81
+ [x] Various code refactors to support the aforementioned change.
102
82
 
103
83
  ## [2.1.4] 2023-12-19
84
+ ### Changes
85
+ [x] Minor code refactors.
104
86
 
105
- Changes
106
-
107
- - Minor code refactors.
108
-
109
- Bug fixes
110
-
111
- - 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.
87
+ ### Bug fixes
88
+ [x] 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.
112
89
 
113
90
  ## [2.1.3] 2023-12-17
114
-
115
- Bug fixes
116
-
117
- - 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.
91
+ ### Bug fixes
92
+ [x] 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.
118
93
 
119
94
  ## [2.1.2] 2023-12-17
95
+ ### Changes
96
+ [x] WIP, continued I18n integration. See [2.1.0] for more information.
97
+ [x] Removed shortcut mappings for all commands (see `dsu help`) to remove dash ("-") preceeding command shortcuts. For example, `dsu -a` (i.e. shortcut for `dsu add`) is now `dsu a`, `dsu -c` (i.e. shortcut for `dsu config`) is now `dsu c`, etc. This was done to avoid confusion as this format is typically used for options, not shortcut commands. The only exception is `dsu version` which will accept shortcuts `dsu v` and `dsu -v`, as `-v` is generally used to display version information.
98
+ [x] Various code refactors.
99
+ [x] Massive updates to README.md.
120
100
 
121
- Changes
122
-
123
- - WIP, continued I18n integration. See [2.1.0] for more information.
124
- - Removed shortcut mappings for all commands (see `dsu help`) to remove dash ("-") preceeding command shortcuts. For example, `dsu -a` (i.e. shortcut for `dsu add`) is now `dsu a`, `dsu -c` (i.e. shortcut for `dsu config`) is now `dsu c`, etc. This was done to avoid confusion as this format is typically used for options, not shortcut commands. The only exception is `dsu version` which will accept shortcuts `dsu v` and `dsu -v`, as `-v` is generally used to display version information.
125
- - Various code refactors.
126
- - Massive updates to README.md.
127
-
128
- Bug fixes
129
-
130
- - Fix bug that did not apply the current theme to `dsu help add` help.
101
+ ### Bug fixes
102
+ [x] Fix bug that did not apply the current theme to `dsu help add` help.
131
103
 
132
104
  ## [2.1.1] 2023-12-17
133
-
134
- Bug fixes
135
-
136
- - Fix bug that did not included I18n locale files in yanked version 2.1.0.
105
+ ### Bug fixes
106
+ [x] Fix bug that did not included I18n locale files in yanked version 2.1.0.
137
107
 
138
108
  ## [2.1.0] 2023-12-16
109
+ ### Enhancements
110
+ [x] Added `dsu delete` command to incorporate color themes. See `dsu help delete` for more information.
139
111
 
140
- Enhancements
141
-
142
- - Added `dsu delete` command to incorporate color themes. See `dsu help delete` for more information.
143
-
144
- Bug fixes
145
-
146
- - Fix bug that failed to show "(nothing to display for <day>, <date> <local time designator> through <day>, <date> <local time designator>)" for `dsu list dates` command when no entries existed for the entry groups associated with the given dates.
112
+ ### Bug fixes
113
+ [x] Fix bug that failed to show "(nothing to display for <day>, <date> <local time designator> through <day>, <date> <local time designator>)" for `dsu list dates` command when no entries existed for the entry groups associated with the given dates.
147
114
 
148
- Miscellaneous
149
-
150
- - WIP, begin I18n support/integration.
151
- - Update ruby gems.
152
- - Updated README.md to reflect new `dsu delete` command.
153
- - Fix rubocop violations.
115
+ ### Miscellaneous
116
+ [x] WIP, begin I18n support/integration.
117
+ [x] Update ruby gems.
118
+ [x] Updated README.md to reflect new `dsu delete` command.
119
+ [x] Fix rubocop violations.
154
120
 
155
121
  ## [2.0.8] 2023-12-02
156
-
157
- - Update ruby gems.
122
+ ### Changes
123
+ [x] Update ruby gems.
158
124
 
159
125
  ## [2.0.7] 2023-11-24
160
-
161
- - Update ruby gems.
162
- - Remove stale/unnecessary code.
126
+ ### Changes
127
+ [x] Update ruby gems.
128
+ [x] Remove stale/unnecessary code.
163
129
 
164
130
  ## [2.0.6] 2023-10-30
165
-
166
- - Update ruby gems.
131
+ ### Changes
132
+ [x] Update ruby gems.
167
133
 
168
134
  ## [2.0.5] 2023-10-30
169
-
170
- - Update ruby gems.
135
+ ### Changes
136
+ [x] Update ruby gems.
171
137
 
172
138
  ## [2.0.4] 2023-08-28
173
-
174
- - Update ruby gems.
139
+ ### Changes
140
+ [x] Update ruby gems.
175
141
 
176
142
  ## [2.0.3] 2023-08-17
177
-
178
- - Bump activesupport from 7.0.5 to 7.0.7
179
- - Bump simplecov from 0.21.2 to 0.22.0
143
+ ### Changes
144
+ [x] Bump activesupport from 7.0.5 to 7.0.7
145
+ [x] Bump simplecov from 0.21.2 to 0.22.0
180
146
 
181
147
  ## [2.0.2] 2023-08-17
182
-
183
- - Bumps activemodel from 7.0.5 to 7.0.7.
184
- - Update colorize requirement from ~> 0.8.1 to >= 0.8.1, < 1.2.0
185
- - Bump rubocop-rspec from 2.22.0 to 2.23.2
186
- - Bump rubocop-performance from 1.18.0 to 1.19.0
187
- - Bump rubocop from 1.52.0 to 1.56.0
188
-
189
- Changes
190
-
191
- - Fix rubocop violations
148
+ ### Changes
149
+ [x] Bumps activemodel from 7.0.5 to 7.0.7.
150
+ [x] Update colorize requirement from ~> 0.8.1 to >= 0.8.1, < 1.2.0
151
+ [x] Bump rubocop-rspec from 2.22.0 to 2.23.2
152
+ [x] Bump rubocop-performance from 1.18.0 to 1.19.0
153
+ [x] Bump rubocop from 1.52.0 to 1.56.0
154
+ [x] Fix rubocop violations
192
155
 
193
156
  ## [2.0.1] 2023-08-16
194
-
195
- Changes
196
-
197
- - Bump to official release.
198
- - None (see below).
157
+ ### Changes
158
+ [x] Bump to official release.
159
+ [x] None (see below).
199
160
 
200
161
  ## [2.0.0] 2023-08-16 (yanked)
201
162
 
202
163
  ## [2.0.0.alpha.1] 2023-08-16
164
+ ### Changes
165
+ [x] Major refactors to the `dsu` codebase.
166
+ [x] Added `dsu theme` command to incorporate color themes. See `dsu help theme` for more information.
167
+ [x] Added `dsu info` command to display details about the current dsu release. See `dsu help info` for more information.
168
+ [x] Added "migrations", which is really a method of backup whereby user data is backed up to the dsu folder under `backup/<migration version>`. Backups will occur whenever a breaking change is made to any of the dsu models (ColorTheme, Configuration, EntryGroup or MigrationVersion). In this way, users can create their own scripts to migrate their associated model `.json`` files to the latest model version, and move them back into the appropriate dsu folder structure so data can be retained.
169
+ [x] Changes to command help to be more uniform.
203
170
 
204
- Changes
205
-
206
- - Major refactors to the `dsu` codebase.
207
- - Added `dsu theme` command to incorporate color themes. See `dsu help theme` for more information.
208
- - Added `dsu info` command to display details about the current dsu release. See `dsu help info` for more information.
209
- - Added "migrations", which is really a method of backup whereby user data is backed up to the dsu folder under `backup/<migration version>`. Backups will occur whenever a breaking change is made to any of the dsu models (ColorTheme, Configuration, EntryGroup or MigrationVersion). In this way, users can create their own scripts to migrate their associated model `.json`` files to the latest model version, and move them back into the appropriate dsu folder structure so data can be retained.
210
- - Changes to command help to be more uniform.
211
-
212
- Bug fixes
213
-
214
- - Various bug fixes.
171
+ ### Bug fixes
172
+ [x] Various bug fixes.
215
173
 
216
174
  ## [2.0.0.alpha.0] 2023-06-26 (yanked)
217
175
 
218
176
  ## [1.2.1] 2023-06-02
177
+ ### Bug fixes
219
178
 
220
- Bug fixes
221
-
222
- - Fixed a bug that raises an error `NoMethodError` for `entry_group_file_exists?` if the `carry_over_entries_to_today` configuration option is set to true, and attempting to edit today's dsu entries.
179
+ [x] Fixed a bug that raises an error `NoMethodError` for `entry_group_file_exists?` if the `carry_over_entries_to_today` configuration option is set to true, and attempting to edit today's dsu entries.
223
180
 
224
181
  ## [1.2.0] 2023-05-26
225
-
226
- Changes
227
-
228
- - Various refactors.
229
- - Bring test coverage to >= 85%.
182
+ ### Changes
183
+ [x] Various refactors.
184
+ [x] Bring test coverage to >= 85%.
230
185
 
231
186
  ## [1.1.2] 2023-05-26
232
-
233
- Changes
234
-
235
- - Various refactors.
236
- - Add more test coverage.
187
+ ### Changes
188
+ [x] Various refactors.
189
+ [x] Add more test coverage.
237
190
 
238
191
  ## [1.1.1] 2023-05-23
239
-
240
192
  See previous alpha releases for changes.
241
193
 
242
194
  ## [1.1.1.alpha.2] 2023-05-23
195
+ ### Changes
196
+ [x] For convenience, the `dsu list date` command now takes a MNEMONIC in addition to a DATE. See `dsu list help date` for more information.
243
197
 
244
- Changes
245
-
246
- - For convenience, the `dsu list date` command now takes a MNEMONIC in addition to a DATE. See `dsu list help date` for more information.
247
-
248
- Bug fixes
249
-
250
- - Fix a bug that did not display `dsu list dates SUBCOMMAND` date list properly when the `--from` option was a date mnemonic and the `--to` optoin was a relative time mnemonic (e.g. `dsu list dates -f today -t +1`). In this case, DSU dates `Time.now` and `Time.now.tomorrow` should be displayed; instead, the bug would consider the `--to` option as relative to `Time.now`, so only 1 DSU date (`Time.now` would be returned).
198
+ ### Bug fixes
199
+ [x] Fix a bug that did not display `dsu list dates SUBCOMMAND` date list properly when the `--from` option was a date mnemonic and the `--to` optoin was a relative time mnemonic (e.g. `dsu list dates -f today -t +1`). In this case, DSU dates `Time.now` and `Time.now.tomorrow` should be displayed; instead, the bug would consider the `--to` option as relative to `Time.now`, so only 1 DSU date (`Time.now` would be returned).
251
200
 
252
201
  ## [1.1.0.alpha.1] 2023-05-23
202
+ ### Changes
253
203
 
254
- Changes
255
-
256
- - Added new configuration option `carry_over_entries_to_today` (`true|false`, default: `false`); if true, when editing DSU entries **for the first time** on any given day (e.g. `dsu edit today`), DSU entries from the previous day will be copied to the editing session. If there are no DSU entries from the previous day, `dsu` will search backwards up to 7 days to find a DSU date that has entries to copy. If after searching back 7 days, no DSU entries are found, the editor session will simply start with no previous DSU entries.
257
- - Added new configuration option `include_all` (`true|false`, default: `false`); if true, when using dsu commands that list date ranges (e.g. `dsu list dates`), the displayed list will include dates that have no dsu entries. If false, the displayed list will only include dates that have dsu entries. For all other `dsu list` commands, if true, this option will behave in the aforementioned manner. If false, the displayed list will unconditionally display the first and last dates regardless of whether or not the DSU date has entries or not; all other dates will not be displayed if the DSU date has no entries.
258
- - Changed the look of the editor template when editing entry group entries.
204
+ [x] Added new configuration option `carry_over_entries_to_today` (`true|false`, default: `false`); if true, when editing DSU entries **for the first time** on any given day (e.g. `dsu edit today`), DSU entries from the previous day will be copied to the editing session. If there are no DSU entries from the previous day, `dsu` will search backwards up to 7 days to find a DSU date that has entries to copy. If after searching back 7 days, no DSU entries are found, the editor session will simply start with no previous DSU entries.
205
+ [x] Added new configuration option `include_all` (`true|false`, default: `false`); if true, when using dsu commands that list date ranges (e.g. `dsu list dates`), the displayed list will include dates that have no dsu entries. If false, the displayed list will only include dates that have dsu entries. For all other `dsu list` commands, if true, this option will behave in the aforementioned manner. If false, the displayed list will unconditionally display the first and last dates regardless of whether or not the DSU date has entries or not; all other dates will not be displayed if the DSU date has no entries.
206
+ [x] Changed the look of the editor template when editing entry group entries.
259
207
 
260
208
  ## [1.0.0] 2023-05-18
209
+ ### First official release
210
+ [x] NOTE: If you have been using the alpha version of `dsu`, you will need to delete the `entries` folder (e.g. `/Users/<whoami>/dsu/entries` on a nix os) as the old entries .json files are incompatible with this official release.
261
211
 
262
- First official release.
263
-
264
- - NOTE: If you have been using the alpha version of `dsu`, you will need to delete the `entries` folder (e.g. `/Users/<whoami>/dsu/entries` on a nix os) as the old entries .json files are incompatible with this official release.
265
-
266
- Changes from the alpha version
267
-
268
- - When editing an entry group, editor commands are no longer necessary. Simply add, remove or change entries as needed. See the README.md for more information.
269
- - When editing an entry group and saving the results, take note of the folowing behavior:
212
+ ### Changes from the alpha version
213
+ [x] When editing an entry group, editor commands are no longer necessary. Simply add, remove or change entries as needed. See the README.md for more information.
214
+ [x] When editing an entry group and saving the results, take note of the folowing behavior:
270
215
  - Entering duplicate entries are not allowed, only one entry with a given description is allowed per entry group.
271
216
  - Entering entries whose descriptions are < 2 or > 256 characters will fail validation and will not be saved.
272
217
  - When editing and encountering any of the aforementioned, the errors will be displayed to the console after the editor file is saved.
273
- - Sha's are no longer being used, as I've not found a good use (currently) to use them. I may add them back in the future if I find a good use for them (tracking entries across entry groups, etc.).
274
- - When adding an entry (`dsu add OPTION`), it used to be that after the entry was added, the entry group for the date being edited would be displayed, as well as "yesterday's" date. This is no longer the case; now, only the entry group for the date being edited is displayed.
218
+ [x] Sha's are no longer being used, as I've not found a good use (currently) to use them. I may add them back in the future if I find a good use for them (tracking entries across entry groups, etc.).
219
+ [x] When adding an entry (`dsu add OPTION`), it used to be that after the entry was added, the entry group for the date being edited would be displayed, as well as "yesterday's" date. This is no longer the case; now, only the entry group for the date being edited is displayed.
275
220
 
276
221
  ## [0.1.0.alpha.5] 2023-05-12
277
-
278
- Changes
279
-
280
- - `dsu edit SUBCOMMAND` will now allow editing of an entry group for a date that does not yet exist. This will allow you to add entries in the editor using `+|a|add DESCRIPTION`. Be sure to follow the instructions in the editor when editing entry group entries.
281
- - `dsu edit SUBCOMMAND` will gracefully display an error if the entry sha (Entry#uuid) or entry discription (Entry#description) are not unique. In this case, the entry will not be added to the entry group.
222
+ ### Changes
223
+ [x] `dsu edit SUBCOMMAND` will now allow editing of an entry group for a date that does not yet exist. This will allow you to add entries in the editor using `+|a|add DESCRIPTION`. Be sure to follow the instructions in the editor when editing entry group entries.
224
+ [x] `dsu edit SUBCOMMAND` will gracefully display an error if the entry sha (Entry#uuid) or entry discription (Entry#description) are not unique. In this case, the entry will not be added to the entry group.
282
225
  NOTE: Not all edge cases are being handled currently by `dsu edit SUBCOMMAND`.
283
- - `dsu add OPTION` will raise an error if the entry discription (Entry#description) are not unique. This will be handled gracefully in a future release.
226
+ [x] `dsu add OPTION` will raise an error if the entry discription (Entry#description) are not unique. This will be handled gracefully in a future release.
284
227
 
285
228
  ## [0.1.0.alpha.4] 2023-05-09
286
-
287
- Changes
288
-
289
- - Gemfile gemspec description changes.
229
+ ### Changes
230
+ [x] Gemfile gemspec description changes.
290
231
 
291
232
  ## [0.1.0.alpha.3] 2023-05-09
233
+ ### Changes
234
+ [x] Entry groups are now editable using the `dsu edit SUBCOMMAND` command. See the README.md or `dsu help edit` for more information.
235
+ [x] Added `editor` configuration option to specify the editor to use when editing an entry group. This configuration option is used if the $EDITOR environment variable is not set.
292
236
 
293
- Changes
294
-
295
- - Entry groups are now editable using the `dsu edit SUBCOMMAND` command. See the README.md or `dsu help edit` for more information.
296
- - Added `editor` configuration option to specify the editor to use when editing an entry group. This configuration option is used if the $EDITOR environment variable is not set.
297
-
298
- Bug fixes
299
-
300
- - Fix bug that failed to load default configuration values properly when provided (surfaced in specs).
237
+ ### Bug fixes
238
+ [x] Fix bug that failed to load default configuration values properly when provided (surfaced in specs).
301
239
 
302
240
  ## [0.1.0.alpha.2] 2023-05-08
303
-
304
241
  ATTENTION: After installing this pre-release, run `dsu config info` and take note of the `entries_folder` config option value (e.g. something like '/Users/<whoami>/dsu/entries' on a nix os). You'll need to delete the entry group files therein ( \<YYYY\>\-\<MM\>\-\<DD\>.json e.g. 2023-05-07.json) to avoid errors when running this version of `dsu`.
305
242
 
306
243
  WIP (not fully implemented yet)
307
244
 
308
- - Added `dsu edit` command to edit an existing entry.
309
-
310
- Changes
311
-
312
- - Remove Entry#long_description and make Entry#description longer (to 256 bytes max).
313
- - Added `dsu` short-cut commands|options `a|-a`, `c|-c`, `e|-e` and `l|-l` for `add`, `config`, `edit` and `list` commands respectively. For example, can now do `dsu a` or `dsu -a` instead of `dsu add`.
314
- - Added `dsu list` short-cut subcommand|options `d|-d`, `n|-n`, `t|-t` and `y|-y` for `date DATE`, `today`, `tomorrow` and `yesterday` subcommands respectively. For example, can now do `dsu n` or `dsu -n` instead of `dsu today` to list your DSU entries for "today".
315
- - `dsu list` commands now lists all DSU entries from the date being requested (SUBCOMMAND i.e. `today`, `tomorrow`, `yesterday` or `date`), back to and including the previous Friday IF the date being being requested falls on a Monday or weekend. This is so that the DSU entries for the weekend and previous Friday can be shared at DSU if you hold a DSU on the weekend (if you're insane enough to work and have DSU on the weekend) or on a Monday if you happened to work on the weekend as well.
316
- - `dsu config info` now displays the default configuration being used if no configuration file is being used.
245
+ [x] Added `dsu edit` command to edit an existing entry.
317
246
 
318
- Bug fixes
247
+ ### Changes
248
+ [x] Remove Entry#long_description and make Entry#description longer (to 256 bytes max).
249
+ [x] Added `dsu` short-cut commands|options `a|-a`, `c|-c`, `e|-e` and `l|-l` for `add`, `config`, `edit` and `list` commands respectively. For example, can now do `dsu a` or `dsu -a` instead of `dsu add`.
250
+ [x] Added `dsu list` short-cut subcommand|options `d|-d`, `n|-n`, `t|-t` and `y|-y` for `date DATE`, `today`, `tomorrow` and `yesterday` subcommands respectively. For example, can now do `dsu n` or `dsu -n` instead of `dsu today` to list your DSU entries for "today".
251
+ [x] `dsu list` commands now lists all DSU entries from the date being requested (SUBCOMMAND i.e. `today`, `tomorrow`, `yesterday` or `date`), back to and including the previous Friday IF the date being being requested falls on a Monday or weekend. This is so that the DSU entries for the weekend and previous Friday can be shared at DSU if you hold a DSU on the weekend (if you're insane enough to work and have DSU on the weekend) or on a Monday if you happened to work on the weekend as well.
252
+ [x] `dsu config info` now displays the default configuration being used if no configuration file is being used.
319
253
 
320
- - Fix bug that fails to load/use configuration file options when a config file exists.
254
+ ### Bug fixes
255
+ [x] Fix bug that fails to load/use configuration file options when a config file exists.
321
256
 
322
257
  ## [0.1.0.alpha.1] 2023-05-06
323
258
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dsu (2.4.3)
4
+ dsu (2.4.4)
5
5
  activemodel (>= 7.0.8, < 8.0)
6
6
  activesupport (>= 7.0.8, < 8.0)
7
7
  colorize (>= 1.1, < 2.0)
@@ -12,9 +12,9 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activemodel (7.1.2)
16
- activesupport (= 7.1.2)
17
- activesupport (7.1.2)
15
+ activemodel (7.1.3)
16
+ activesupport (= 7.1.3)
17
+ activesupport (7.1.3)
18
18
  base64
19
19
  bigdecimal
20
20
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -26,11 +26,11 @@ GEM
26
26
  tzinfo (~> 2.0)
27
27
  ast (2.4.2)
28
28
  base64 (0.2.0)
29
- bigdecimal (3.1.5)
29
+ bigdecimal (3.1.6)
30
30
  byebug (11.1.3)
31
31
  coderay (1.1.3)
32
32
  colorize (1.1.0)
33
- concurrent-ruby (1.2.2)
33
+ concurrent-ruby (1.2.3)
34
34
  connection_pool (2.4.1)
35
35
  diff-lcs (1.5.0)
36
36
  docile (1.4.0)
@@ -72,11 +72,11 @@ GEM
72
72
  json (2.7.1)
73
73
  language_server-protocol (3.17.0.3)
74
74
  method_source (1.0.0)
75
- minitest (5.20.0)
75
+ minitest (5.21.2)
76
76
  mutex_m (0.2.0)
77
77
  os (1.1.4)
78
78
  parallel (1.24.0)
79
- parser (3.2.2.4)
79
+ parser (3.3.0.5)
80
80
  ast (~> 2.4.1)
81
81
  racc
82
82
  pry (0.14.2)
@@ -88,9 +88,9 @@ GEM
88
88
  racc (1.7.3)
89
89
  rainbow (3.1.1)
90
90
  rake (13.1.0)
91
- reek (6.2.0)
91
+ reek (6.3.0)
92
92
  dry-schema (~> 1.13.0)
93
- parser (~> 3.2.0)
93
+ parser (~> 3.3.0)
94
94
  rainbow (>= 2.0, < 4.0)
95
95
  rexml (~> 3.1)
96
96
  regexp_parser (2.9.0)
@@ -108,11 +108,11 @@ GEM
108
108
  diff-lcs (>= 1.2.0, < 2.0)
109
109
  rspec-support (~> 3.12.0)
110
110
  rspec-support (3.12.1)
111
- rubocop (1.59.0)
111
+ rubocop (1.60.2)
112
112
  json (~> 2.3)
113
113
  language_server-protocol (>= 3.17.0)
114
114
  parallel (~> 1.10)
115
- parser (>= 3.2.2.4)
115
+ parser (>= 3.3.0.2)
116
116
  rainbow (>= 2.2.2, < 4.0)
117
117
  regexp_parser (>= 1.8, < 3.0)
118
118
  rexml (>= 3.2.5, < 4.0)
@@ -141,7 +141,7 @@ GEM
141
141
  simplecov-html (0.12.3)
142
142
  simplecov_json_formatter (0.1.4)
143
143
  thor (1.3.0)
144
- thor_nested_subcommand (1.0.6)
144
+ thor_nested_subcommand (1.0.7)
145
145
  tzinfo (2.0.6)
146
146
  concurrent-ruby (~> 1.0)
147
147
  unicode-display_width (2.5.0)
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # `dsu`
2
2
 
3
3
  [![Ruby](https://github.com/gangelo/dsu/actions/workflows/ruby.yml/badge.svg)](https://github.com/gangelo/dsu/actions/workflows/ruby.yml)
4
- [![GitHub version](http://badge.fury.io/gh/gangelo%2Fdsu.svg?refresh=9)](https://badge.fury.io/gh/gangelo%2Fdsu)
5
- [![Gem Version](https://badge.fury.io/rb/dsu.svg?refresh=9)](https://badge.fury.io/rb/dsu)
4
+ [![GitHub version](http://badge.fury.io/gh/gangelo%2Fdsu.svg?refresh=11)](https://badge.fury.io/gh/gangelo%2Fdsu)
5
+ [![Gem Version](https://badge.fury.io/rb/dsu.svg?refresh=11)](https://badge.fury.io/rb/dsu)
6
6
  [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/dsu/)
7
7
  [![Report Issues](https://img.shields.io/badge/report-issues-red.svg)](https://github.com/gangelo/dsu/issues)
8
8
  [![License](http://img.shields.io/badge/license-MIT-yellowgreen.svg)](#license)
9
9
 
10
- `dsu` is a [ruby gem](https://rubygems.org/gems/dsu) that enables anyone practicing [Agile methodology](https://www.agilealliance.org/agile101/) to record, keep track of and manage their [daily standup (DSU)](https://www.agilealliance.org/glossary/daily-meeting/) activities.
10
+ `dsu` is a [ruby gem](https://rubygems.org/gems/dsu) that enables anyone practicing the [Agile methodology](https://www.agilealliance.org/agile101/) to record, keep track of and manage their [daily standup (DSU)](https://www.agilealliance.org/glossary/daily-meeting/) activities.
11
11
 
12
12
  - `dsu` uses _no_ network connections whatsoever.
13
13
  - `dsu` stores all of its data _locally_, in .json files.
@@ -22,12 +22,11 @@ gem install dsu
22
22
  ```
23
23
 
24
24
  # Documentation
25
- [https://github.com/gangelo/dsu/wiki](https://github.com/gangelo/dsu/wiki)
25
+ The [dsu wiki](https://github.com/gangelo/dsu/wiki) is currently the gold standard for `dsu` documentation.
26
26
 
27
27
  # Examples
28
- The [dsu wiki](https://github.com/gangelo/dsu/wiki) is repleat with practical examples on how to use `dsu`.
29
-
30
- It you're interested in how _I personally_ use `dsu` every day, I blog about it [here](https://genemangelojr.blogspot.com/2024/01/the-dsu-ruby-gem-workflow-how-to-use-it.html).
28
+ * The [dsu wiki](https://github.com/gangelo/dsu/wiki) is repleat with practical examples on how to use `dsu`.
29
+ * Visit the [How I use dsu daily as an Agile developer](https://github.com/gangelo/dsu/wiki/How-I-use-dsu-daily-as-an-Agile-developer) wiki for examples of how _I_ use `dsu` on a daily basis.
31
30
 
32
31
  # Supported ruby versions
33
32
  `dsu` _should_ work with any ruby version `['>= 3.0.1', '< 4.0']`; however, `dsu` is currently tested against the following ruby versions:
@@ -36,4 +35,4 @@ It you're interested in how _I personally_ use `dsu` every day, I blog about it
36
35
  - 3.1.4
37
36
  - 3.2.2
38
37
 
39
- Copyright (c) 2023-2024 Erik Gene Angelo. See [LICENSE](https://github.com/gangelo/dsu/blob/main/LICENSE.txt) for details.
38
+ Copyright (c) 2023-2024 Gene Angelo. See [LICENSE](https://github.com/gangelo/dsu/blob/main/LICENSE.txt) for details.
data/lib/dsu/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Dsu
4
4
  VERSION_REGEX = /\A\d+\.\d+\.\d+(\.(alpha|rc)\.\d+)?\z/
5
- VERSION = '2.4.3'
5
+ VERSION = '2.4.4'
6
6
  end
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.4.3
4
+ version: 2.4.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: 2024-01-10 00:00:00.000000000 Z
11
+ date: 2024-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport