dsu 1.1.0.alpha.2 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3777862e1325eb15cbc55524b264de3bd503be3b551b8ed9dccbb913e4193dc8
4
- data.tar.gz: 046f11a023fc2ade553fe962ec20a33e7ea72f9b03a8ad01917c5cc01ec6cd93
3
+ metadata.gz: 01e8ee8331cd245ac664fd67acbc1cb3ffdab02f0693acdce44d73a9f9d7d161
4
+ data.tar.gz: 1e83c417a55ccffe97b616ac907264dd589da4bafc333ff572f44574b4a671c2
5
5
  SHA512:
6
- metadata.gz: 4dfa639c9749044a738e0584f7bd84baf7a7ae509db6a7bb0787fa2b3dd0c92a0deac2d15a15865fdce7d9bed6adfef57b2ce6d244f10864febfc1a6e0ec6957
7
- data.tar.gz: 83aa24e6ee5178c4e4aaf5e4d3847c0b9e21ed498d7a0751e093d06f6acee84496ce2e40c3c89ca6c849336a6c9ec0a0e9c7fbbe8dd6b45092d37c63e5d828b5
6
+ metadata.gz: 0d3c6832cbbea8cc42aef3d947d6040963fb182318578bd98e52a6c2be435767fb2d0a1755927657068a74ebec88003fbfcc17108072a41d2aabc5b6dd3f507c
7
+ data.tar.gz: e0fc66db534b39c8fa72ef2bffaa49f3f3bcde9dc18d8facd5573462cf389188d3359f3501d11570529dd8ee1dee76b1c468ec6cb3aa3ec21ed44d26751d1b0c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## [1.1.1] - 2023-05-23
2
+ * See previous alpha releases for changes.
1
3
  ## [1.1.1.alpha.2] - 2023-05-23
2
4
  * Changes
3
5
  - For convenience, the `dsu list date` command now takes a MNEUMONIC in addition to a DATE. See `dsu list help date` for more information.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dsu (1.1.0.alpha.2)
4
+ dsu (1.1.1)
5
5
  activemodel (~> 7.0, >= 7.0.4.3)
6
6
  activesupport (~> 7.0, >= 7.0.4)
7
7
  colorize (~> 0.8.1)
data/lib/dsu/base_cli.rb CHANGED
@@ -31,7 +31,7 @@ module Dsu
31
31
 
32
32
  def date_option_description
33
33
  <<-OPTION_DESC
34
- DATE:
34
+ DATE
35
35
  \x5
36
36
  This may be any date string that can be parsed using `Time.parse`. Consequently, you may use also use '/' as date separators, as well as omit thee year if the date you want to display is the current year (e.g. <month>/<day>, or 1/31). For example: `require 'time'; Time.parse('01/02/2023'); Time.parse('1/2') # etc.`
37
37
  OPTION_DESC
@@ -39,7 +39,7 @@ module Dsu
39
39
 
40
40
  def mneumonic_option_description
41
41
  <<-OPTION_DESC
42
- MNEUMONIC:
42
+ MNEUMONIC
43
43
  \x5
44
44
  This may be any of the following: n|today|t|tomorrow|y|yesterday|+n|-n.
45
45
 
@@ -70,7 +70,6 @@ module Dsu
70
70
 
71
71
  Default: "'#{Dsu::Support::FolderLocations.root_folder}/dsu/entries'"
72
72
  LONG_DESC
73
-
74
73
  def init
75
74
  create_config_file!
76
75
  end
@@ -84,7 +84,7 @@ module Dsu
84
84
  \x5
85
85
  `dsu dates|dd OPTIONS`
86
86
 
87
- OPTIONS:
87
+ OPTIONS
88
88
  \x5
89
89
  -a|--include-all true|false: If true, all DSU dates within the specified range will be displayed. If false, DSU dates between the first and last DSU dates that have NO entries will NOT be displayed.. The default is taken from the dsu configuration setting :include_all, see `dsu config info`.
90
90
 
@@ -74,14 +74,6 @@ module Dsu
74
74
  yesterday_mneumonic?(mneumonic)
75
75
  end
76
76
 
77
- # This method returns true if mneumonic is a valid relative
78
- # time mneumonic.
79
- def relative_time_mneumonic?(mneumonic)
80
- return false unless mneumonic.is_a?(String)
81
-
82
- mneumonic.match?(RELATIVE_REGEX)
83
- end
84
-
85
77
  def today_mneumonic?(mneumonic)
86
78
  TODAY.include?(mneumonic)
87
79
  end
data/lib/dsu/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dsu
4
- VERSION = '1.1.0.alpha.2'
4
+ VERSION = '1.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dsu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0.alpha.2
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene M. Angelo, Jr.
@@ -216,9 +216,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
216
216
  version: 3.0.1
217
217
  required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  requirements:
219
- - - ">"
219
+ - - ">="
220
220
  - !ruby/object:Gem::Version
221
- version: 1.3.1
221
+ version: '0'
222
222
  requirements: []
223
223
  rubygems_version: 3.3.22
224
224
  signing_key: