rake-commander 0.3.5 → 0.4.0

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: f671966099a385b76b7e0535fb3a0e584072a5996265c5c56adb26f047bd6fa2
4
- data.tar.gz: 32617c52c0773ca1aeff4b8665c197cc765c9e879866eb684310bf62523709f4
3
+ metadata.gz: 5a73808173b38457d53944c3dc6d62f739746133a6d42f0b306a5d4bb40b3d23
4
+ data.tar.gz: 9f2d2754d5464e0d34fe3db2f2fcddba471652936d8e8ea73106cb33bd044e02
5
5
  SHA512:
6
- metadata.gz: 2d114f3fd737cc41f659b00d5a539c110057b9371335688e94d4777853a0082c86c2473beabc5a4ed1fdbe5595879028f6bd11683ba1fccf97b86551e7d70471
7
- data.tar.gz: c2afd435a3f70f2fdf7af647eb7facb2dbe89593ff668af6453d766f8f4346d87ccd25a555572873f1c74d6fd748a218b290f2150f22addfc8b9ee8501cfffe4
6
+ metadata.gz: caf48388e42c830e15d761a97354291c9354b94652de4e7b0f059f10303d57467970769497980cae1f2aa7eaf7559e4c5f404e9e98e34cc094ee67b256627cf1
7
+ data.tar.gz: 41e1c1afd1cb0613a9fc2c10348e7b0bb2c54c1abbbfb8d839c60edd10c827400a8777adf74f84fe54694489103a5b89f580e2b4d0d8a586b1a8ec132bc4ce72
@@ -0,0 +1,4 @@
1
+ {
2
+ "MD013": false,
3
+ "MD024": false
4
+ }
data/.rubocop.yml CHANGED
@@ -1,80 +1,93 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.7.2
3
- Exclude:
4
- - 'config/routes.rb'
2
+ TargetRubyVersion: 3.2.2
3
+ NewCops: enable
5
4
 
6
- Naming/VariableNumber:
7
- EnforcedStyle: snake_case
8
- Naming/FileName:
9
- Enabled: false
10
-
11
- Metrics/LineLength:
12
- Enabled: false
13
- Metrics/BlockLength:
14
- ExcludedMethods: [context, describe]
15
- Max: 50
16
- Metrics/MethodLength:
17
- Max: 50
18
5
  Metrics/ClassLength:
19
- Max: 200
6
+ Max: 500
20
7
  Metrics/ModuleLength:
21
- Max: 200
8
+ Max: 300
9
+ Metrics/MethodLength:
10
+ Max: 50
22
11
  Metrics/AbcSize:
12
+ Max: 30
13
+ Metrics/ParameterLists:
14
+ Max: 5
15
+ CountKeywordArgs: false
16
+ Metrics/BlockLength:
17
+ CountAsOne: ['array', 'heredoc', 'method_call']
23
18
  Max: 50
24
19
  Metrics/CyclomaticComplexity:
25
- Max: 10
20
+ Max: 30
26
21
  Metrics/PerceivedComplexity:
27
- Max: 10
22
+ Max: 30
28
23
 
29
- ParameterLists:
30
- Max: 5
31
- CountKeywordArgs: false
32
-
33
- Style/Alias:
34
- EnforcedStyle: prefer_alias_method
35
- Style/StringLiterals:
24
+ Style/AccessorGrouping:
36
25
  Enabled: false
37
- Style/FrozenStringLiteralComment:
26
+ Style/ConditionalAssignment:
38
27
  Enabled: false
39
- Style/CommentedKeyword:
28
+ Style/BlockDelimiters:
29
+ BracesRequiredMethods: ['log']
30
+ AllowedPatterns: ['proc', 'new']
31
+ Style/ClassAndModuleChildren:
40
32
  Enabled: false
41
- Style/MultilineBlockChain:
33
+ Style/FrozenStringLiteralComment:
42
34
  Enabled: false
43
- Style/Documentation:
35
+ Style/StringLiterals:
44
36
  Enabled: false
45
37
  Style/StringLiteralsInInterpolation:
46
38
  Enabled: false
47
- Style/AndOr:
39
+ Style/Documentation:
48
40
  Enabled: false
49
- Style/SlicingWithRange:
41
+ Style/CommentedKeyword:
50
42
  Enabled: false
51
- Style/ClassAndModuleChildren:
43
+ Style/MultilineBlockChain:
52
44
  Enabled: false
53
- Style/OptionalBooleanParameter:
45
+ Style/AndOr:
46
+ Enabled: false
47
+ Style/Alias:
48
+ EnforcedStyle: prefer_alias_method
49
+ Style/FetchEnvVar:
54
50
  Enabled: false
51
+ Style/RegexpLiteral:
52
+ EnforcedStyle: mixed
53
+ AllowInnerSlashes: true
55
54
 
56
55
  Layout/HashAlignment:
57
56
  EnforcedColonStyle: table
57
+ EnforcedHashRocketStyle: table
58
+ Layout/LeadingCommentSpace:
59
+ Enabled: false
60
+ AllowGemfileRubyComment: true
61
+ Layout/ParameterAlignment:
62
+ Enabled: false
63
+ Layout/MultilineMethodDefinitionBraceLayout:
64
+ EnforcedStyle: symmetrical
65
+ Layout/LineLength:
66
+ Enabled: true
67
+ Layout/SpaceInsideHashLiteralBraces:
68
+ Enabled: false
69
+ Layout/SpaceInsideBlockBraces:
70
+ Enabled: false
71
+ Layout/SpaceAroundOperators:
72
+ Enabled: false
58
73
  Layout/ExtraSpacing:
59
74
  AllowForAlignment: true
75
+ AllowBeforeTrailingComments: true
60
76
  Layout/AccessModifierIndentation:
61
77
  EnforcedStyle: indent
62
78
  Layout/DotPosition:
63
79
  EnforcedStyle: trailing
64
80
  Layout/MultilineMethodCallIndentation:
65
81
  EnforcedStyle: indented
66
- Layout/SpaceInsideHashLiteralBraces:
67
- Enabled: false
68
- Layout/SpaceInsideBlockBraces:
69
- Enabled: false
70
- Layout/SpaceAroundOperators:
71
- Enabled: false
72
82
  Layout/FirstHashElementIndentation:
73
83
  Enabled: false
74
84
  Layout/EmptyLineAfterGuardClause:
75
85
  Enabled: false
76
- Layout/LeadingCommentSpace:
77
- Enabled: false
78
86
 
79
- Lint/AssignmentInCondition:
87
+ Naming/VariableNumber:
88
+ EnforcedStyle: snake_case
89
+ CheckSymbols: false
90
+ Naming/MethodParameterName:
91
+ AllowedNames: ['x', 'y', 'i', 'j', 'id', 'io', 'to']
92
+ Naming/RescuedExceptionsVariableName:
80
93
  Enabled: false
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.2.2
data/CHANGELOG.md CHANGED
@@ -1,175 +1,203 @@
1
1
  # Change Log
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
 
4
5
  ## TO DO
5
- - Think if [`binstubs`](https://github.com/rbenv/rbenv/wiki/Understanding-binstubs) would offer a neater patch right on `Rake::Application#init`
6
- - `option_reopen` -> upsert should be optional (add `upsert: false` as default an raise missing option if not found)
7
- - The error on missing short pops up where it's not clear the short was missed in the option_reopen call.
8
- - Option results
9
- - Include the symbol name keys (configurable). Note that dash will be replaced by underscore.
10
- - Type Coercions
11
- - Add a way to define/redefine a set and use them.
12
- - Add more supported type_coercions as native to the gem (i.e. `Symbol`)
13
- - Add support [for `ActiveRecord::Enum`](https://apidock.com/rails/ActiveRecord/Enum)
14
- - Option definitions
15
- - Order: `where: [:tail, :top]` and `[after, before]: :option_name`
16
- - Configuration: allow to define option override behaviour and whether it should trigger an exception
17
- - Error handlers
18
- - See if it would be possible to parse all the valid options so we get all the valid results before some error is raised. Although this can be achieved with `OptionParser#order!`, it destroys switches; which would require to give it two parsing shots whenever there is an error.
19
- - It should be ensured that the parsed options results object is remains the same.
20
- - Think about options that modify other options. Technically this should be hold only at behaviour level
21
- - This would allow to make the order of the options irrelevant when it comes to modify error handling behaviour via options themselves.
22
- - Rake task parameters (see: https://stackoverflow.com/a/825832/4352306 & https://stackoverflow.com/a/825832/4352306)
23
- - Add `enhance` functionality (when a task is invoked it runs before it; declared with `task` as well)
24
- - Add `no_short` option (which should give the result of that option with the option name key)
25
- - Add `on_option` handler at instance level, so within a `task` definition, we can decide certain things, such as if the functionality should be active when the `self.class` does not have that option.
26
- * This is specially useful to be able to extend through inheritance chain, where we extend `task` (rather than redefining it), but we don't want options we removed (with `option_remove`) to throw unexpected results.
27
- * Example: `on_option(:t, defined: true) {|option| do-stuff}` <- block to be called only if the option is defined in the class (alternative: `defined: :only`)
28
- * Example: `on_option(:t, defined: false) {|option| do-stuff}` <- block to be called regardless the option exists (alternative: `defined: :ignore`)
29
- * Example: `on_options(:t, :s, present: true) {|options| do-stuff}` <- block to be called only when the option `:t` and `:s` are both present in the parsed `options` result.
30
- - Once this has been done, think about it being a hash-alike object with methods for the option names (i.e. `options.debug?`)
31
-
32
-
33
- ## [0.3.7] - 2023-05-xx
6
+
7
+ - Think if [`binstubs`](https://github.com/rbenv/rbenv/wiki/Understanding-binstubs) would offer a neater patch right on `Rake::Application#init`
8
+ - `option_reopen` -> upsert should be optional (add `upsert: false` as default an raise missing option if not found)
9
+ - The error on missing short pops up where it's not clear the short was missed in the option_reopen call.
10
+ - Option results
11
+ - Include the symbol name keys (configurable). Note that dash will be replaced by underscore.
12
+ - Type Coercions
13
+ - Add a way to define/redefine a set and use them.
14
+ - Add more supported type_coercions as native to the gem (i.e. `Symbol`)
15
+ - Add support [for `ActiveRecord::Enum`](https://apidock.com/rails/ActiveRecord/Enum)
16
+ - Option definitions
17
+ - Order: `where: [:tail, :top]` and `[after, before]: :option_name`
18
+ - Configuration: allow to define option override behaviour and whether it should trigger an exception
19
+ - Error handlers
20
+ - See if it would be possible to parse all the valid options so we get all the valid results before some error is raised. Although this can be achieved with `OptionParser#order!`, it destroys switches; which would require to give it two parsing shots whenever there is an error.
21
+ - It should be ensured that the parsed options results object is remains the same.
22
+ - Think about options that modify other options. Technically this should be hold only at behaviour level
23
+ - This would allow to make the order of the options irrelevant when it comes to modify error handling behaviour via options themselves.
24
+ - Rake task parameters (see: <https://stackoverflow.com/a/825832/4352306> & <https://stackoverflow.com/a/825832/4352306>)
25
+ - Add `enhance` functionality (when a task is invoked it runs before it; declared with `task` as well)
26
+ - Add `no_short` option (which should give the result of that option with the option name key)
27
+ - Add `on_option` handler at instance level, so within a `task` definition, we can decide certain things, such as if the functionality should be active when the `self.class` does not have that option.
28
+ - This is specially useful to be able to extend through inheritance chain, where we extend `task` (rather than redefining it), but we don't want options we removed (with `option_remove`) to throw unexpected results.
29
+ - Example: `on_option(:t, defined: true) {|option| do-stuff}` <- block to be called only if the option is defined in the class (alternative: `defined: :only`)
30
+ - Example: `on_option(:t, defined: false) {|option| do-stuff}` <- block to be called regardless the option exists (alternative: `defined: :ignore`)
31
+ - Example: `on_options(:t, :s, present: true) {|options| do-stuff}` <- block to be called only when the option `:t` and `:s` are both present in the parsed `options` result.
32
+ - Once this has been done, think about it being a hash-alike object with methods for the option names (i.e. `options.debug?`)
33
+
34
+ ## [0.4.1] - 2023-08-xx
34
35
 
35
36
  ### Added
37
+
36
38
  ### Fixed
39
+
40
+ ### Changed
41
+
42
+ ## [0.4.0] - 2023-08-01
43
+
37
44
  ### Changed
38
45
 
46
+ - require `ruby 3`
47
+
39
48
  ## [0.3.6] - 2023-05-15
40
49
 
41
50
  ### Fixed
42
- - `RakeCommander::Options` inheritance of options in `options_hash` was NOT doing a `dup`
51
+
52
+ - `RakeCommander::Options` inheritance of options in `options_hash` was NOT doing a `dup`
43
53
 
44
54
  ### Changed
45
- - `RakeCommander::Options#options_hash` made public method
55
+
56
+ - `RakeCommander::Options#options_hash` made public method
46
57
 
47
58
  ## [0.3.5] - 2023-05-08
48
59
 
49
60
  ### Fixed
50
- - `RakeCommander::Options#option_reopen` using name to reopen should not redefine if passed as Symbol.
61
+
62
+ - `RakeCommander::Options#option_reopen` using name to reopen should not redefine if passed as Symbol.
51
63
 
52
64
  ## [0.3.4] - 2023-05-08
53
65
 
54
66
  ### Fixed
55
- - `RakeCommand::Option#name` boolean form (`[no-]`) should not be part of the name.
67
+
68
+ - `RakeCommand::Option#name` boolean form (`[no-]`) should not be part of the name.
56
69
 
57
70
  ### Changed
58
- - Slight refactor to the patch
71
+
72
+ - Slight refactor to the patch
59
73
 
60
74
  ## [0.3.3] - 2023-05-01
61
75
 
62
76
  ### Changed
63
- - Replaced the patching method, so the `Rake` application doesn't need re-launch.
77
+
78
+ - Replaced the patching method, so the `Rake` application doesn't need re-launch.
64
79
 
65
80
  ## [0.2.12] - 2023-05-01
66
81
 
67
82
  ### Fixed
68
- - `RakeCommander::Option#type_coercion` wasn't correctly captured.
69
83
 
84
+ - `RakeCommander::Option#type_coercion` wasn't correctly captured.
70
85
 
71
86
  ## [0.2.11] - 2023-05-01
72
87
 
73
88
  ### Fixed
74
- - When `RakeCommander::Option#type_coercion` is `FalseClass`, it should reverse the result.
89
+
90
+ - When `RakeCommander::Option#type_coercion` is `FalseClass`, it should reverse the result.
75
91
 
76
92
  ## [0.2.10] - 2023-05-01
77
93
 
78
94
  ### Fixed
79
- - `RakeCommander::Options` clean `options_hash` inheritance.
80
95
 
96
+ - `RakeCommander::Options` clean `options_hash` inheritance.
81
97
 
82
98
  ## [0.2.7] - 2023-05-01
83
99
 
84
100
  ### Fixed
85
- - `RakeCommander::Option#desc` when fetching from other, should not fetch array but single value.
101
+
102
+ - `RakeCommander::Option#desc` when fetching from other, should not fetch array but single value.
86
103
 
87
104
  ## [0.2.6] - 2023-05-01
88
105
 
89
106
  ### Changed
90
- - `RakeCommander::Option` configure_other should only apply when the instance vars are not defined.
107
+
108
+ - `RakeCommander::Option` configure_other should only apply when the instance vars are not defined.
91
109
 
92
110
  ## [0.2.5] - 2023-05-01
93
111
 
94
112
  ### Changed
95
- - `RakeCommander::Base::ClassInheritable#inherited_class_value` now expects a reference to the subclass
113
+
114
+ - `RakeCommander::Base::ClassInheritable#inherited_class_value` now expects a reference to the subclass
96
115
 
97
116
  ## [0.2.4] - 2023-04-30
98
117
 
99
118
  ### Added
100
- - `RakeCommander::Options`
101
- - `::option_get` retrieves an option by name or short, may it exist.
102
- - `::option?` to check if an opion exists.
119
+
120
+ - `RakeCommander::Options`
121
+ - `::option_get` retrieves an option by name or short, may it exist.
122
+ - `::option?` to check if an opion exists.
103
123
 
104
124
  ## [0.2.3] - 2023-04-29
105
125
 
106
126
  ### Added
107
- - Include Symbol option names in the parsed option results.
127
+
128
+ - Include Symbol option names in the parsed option results.
108
129
 
109
130
  ## [0.2.2] - 2023-04-29
110
131
 
111
132
  ### Fixed
112
- - Typo in `RakeCommander::Base::ClassAutoLoader`
133
+
134
+ - Typo in `RakeCommander::Base::ClassAutoLoader`
113
135
 
114
136
  ## [0.2.1] - 2023-04-29
115
137
 
116
138
  ### Fixed
117
- - `RakeCommander::Option` type coercion was not being inherited
118
- - Typo on `coertion`: writes `coercion`
119
139
 
140
+ - `RakeCommander::Option` type coercion was not being inherited
141
+ - Typo on `coertion`: writes `coercion`
120
142
 
121
143
  ## [0.2.0] - 2023-04-28
122
144
 
123
145
  ### Added
124
- - Better support for `RakeCommander::Options::Set`
125
- - `RakeCommander::Options::options_use` accepts it as a parameter.
126
- - Added `override` parameter to specify if this should override clashed option names.
127
- - `RakeCommander::Options::class_resolver` to define the `RakeCommander::Option` class.
128
- - Serves the purpose to ease class extension through inheritance.
129
- - Ability to reopen options without changing the order.
130
- - `RakeCommander::Options::option_reopen` which upserts (adds if not existing).
131
- - New parameter `reopen` to `RakeCommander::Options::option` (redirects to the above method).
132
- - Automatic option shortcuts (`implicit_shorts`) show in help and only when applicable.
133
- - These are added automatically by `OptionParser`
134
- - `OptionParser` leftovers trigger an error by default.
135
- - This behaviour can be disabled or modified via callback/block by using `RakeCommander::Options:Error::error_on_leftovers`.
136
- - Description auto **multi-line**
137
- - Currently based on `RakeCommander::Options::Description::DESC_MAX_LENGTH`
138
- - `RakeCommander::Options#remove_option`
139
- - `RakeCommander::Options::Error::Base` and children can be raised using different methods (see `RakeCommander::Options::Error` for examples).
140
- - The **task** `name` that raised the error is included in the message.
141
- - `RakeCommander::Options::Error::Handling` which provides **configurability** around actions on specific option errors with a default to a general options parsing error.
146
+
147
+ - Better support for `RakeCommander::Options::Set`
148
+ - `RakeCommander::Options::options_use` accepts it as a parameter.
149
+ - Added `override` parameter to specify if this should override clashed option names.
150
+ - `RakeCommander::Options::class_resolver` to define the `RakeCommander::Option` class.
151
+ - Serves the purpose to ease class extension through inheritance.
152
+ - Ability to reopen options without changing the order.
153
+ - `RakeCommander::Options::option_reopen` which upserts (adds if not existing).
154
+ - New parameter `reopen` to `RakeCommander::Options::option` (redirects to the above method).
155
+ - Automatic option shortcuts (`implicit_shorts`) show in help and only when applicable.
156
+ - These are added automatically by `OptionParser`
157
+ - `OptionParser` leftovers trigger an error by default.
158
+ - This behaviour can be disabled or modified via callback/block by using `RakeCommander::Options:Error::error_on_leftovers`.
159
+ - Description auto **multi-line**
160
+ - Currently based on `RakeCommander::Options::Description::DESC_MAX_LENGTH`
161
+ - `RakeCommander::Options#remove_option`
162
+ - `RakeCommander::Options::Error::Base` and children can be raised using different methods (see `RakeCommander::Options::Error` for examples).
163
+ - The **task** `name` that raised the error is included in the message.
164
+ - `RakeCommander::Options::Error::Handling` which provides **configurability** around actions on specific option errors with a default to a general options parsing error.
142
165
 
143
166
  ### Fixed
144
- - `RakeCommander::Base::ClassAutoLoader`
145
- - Register excluded child classes (singleton classes) into their own property,
146
- rather than in the `autoloaded_children` (they are not autoloaded).
147
- - Missing `rake` dependency in gemspec file.
148
- - Boolean switch detection (pre-parse arguments) and parsing
149
- - It adds support for boolean option names such as `--[no-]verbose`
150
- - Error messaging. There were missing cases, specially with implicit short options.
151
- - `RakeCommander::Options`
152
- - `#option_reopen` fixed
153
- - **Inheritance fixed**
167
+
168
+ - `RakeCommander::Base::ClassAutoLoader`
169
+ - Register excluded child classes (singleton classes) into their own property,
170
+ rather than in the `autoloaded_children` (they are not autoloaded).
171
+ - Missing `rake` dependency in gemspec file.
172
+ - Boolean switch detection (pre-parse arguments) and parsing
173
+ - It adds support for boolean option names such as `--[no-]verbose`
174
+ - Error messaging. There were missing cases, specially with implicit short options.
175
+ - `RakeCommander::Options`
176
+ - `#option_reopen` fixed
177
+ - **Inheritance fixed**
154
178
 
155
179
  ### Changed
156
- - Development: examples invokation via `Rake`
157
- - Refactored `RakeCommander::Options` to acquire functionality through extension.
158
- - `attr_inheritable` and `inheritable_class_var` are the new names of previous methods
159
- - Behaviour has been changed, so you define if it should `dup` the variables, and you can pass a `block` to do the `dup` yourself. They won **NOT** `freeze` anymore, as we are mostly working at class level.
180
+
181
+ - Development: examples invokation via `Rake`
182
+ - Refactored `RakeCommander::Options` to acquire functionality through extension.
183
+ - `attr_inheritable` and `inheritable_class_var` are the new names of previous methods
184
+ - Behaviour has been changed, so you define if it should `dup` the variables, and you can pass a `block` to do the `dup` yourself. They won **NOT** `freeze` anymore, as we are mostly working at class level.
160
185
 
161
186
  ## [0.1.4] - 2023-04-20
162
187
 
163
188
  ### Fixed
164
- - `rubocop` offenders
165
- - Added implicity `exit(0)` when wrapping the `task` block
189
+
190
+ - `rubocop` offenders
191
+ - Added implicity `exit(0)` when wrapping the `task` block
166
192
 
167
193
  ## [0.1.3] - 2023-04-20
168
194
 
169
195
  ### Fixed
170
- - Reference to repo and gem
196
+
197
+ - Reference to repo and gem
171
198
 
172
199
  ## [0.1.2] - 2023-04-19
173
200
 
174
201
  ### Added
175
- - First commit
202
+
203
+ - First commit
data/README.md CHANGED
@@ -32,6 +32,10 @@ Or install it yourself as:
32
32
 
33
33
  $ gem install rake-commander
34
34
 
35
+ ## Changelog
36
+
37
+ See {file:CHANGELOG.md} for a list of changes.
38
+
35
39
  ## Usage
36
40
 
37
41
  See [**the `examples`**](https://github.com/rellampec/rake-commander/tree/main/examples).
@@ -1,3 +1,3 @@
1
1
  class RakeCommander
2
- VERSION = '0.3.5'.freeze
2
+ VERSION = '0.4.0'.freeze
3
3
  end
@@ -12,17 +12,18 @@ Gem::Specification.new do |spec|
12
12
  spec.homepage = "https://github.com/rellampec/rake-commander"
13
13
  spec.licenses = %w[MIT]
14
14
 
15
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
15
+ spec.metadata['rubygems_mfa_required'] = 'true'
16
+
17
+ spec.required_ruby_version = '>= 3.2.2'
18
+
19
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
16
20
  f.match(%r{^(test|spec|features)/})
17
21
  end
18
22
  spec.bindir = "exe"
19
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
24
  spec.require_paths = ["lib"]
21
25
 
22
- spec.required_ruby_version = '>= 2.7.2'
23
-
24
- spec.add_development_dependency "bundler", ">= 2.4.9", "< 3"
25
- spec.add_development_dependency 'dotenv', '>= 2.7.6', '< 3'
26
+ spec.add_development_dependency 'dotenv', '~> 3'
26
27
  spec.add_development_dependency "rake", ">= 13.0.6", "< 14"
27
28
  spec.add_development_dependency "redcarpet", ">= 3.6.0", "< 4"
28
29
  spec.add_development_dependency "rspec", ">= 3.10.0", "< 4"
metadata CHANGED
@@ -1,53 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-commander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura Samper
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-15 00:00:00.000000000 Z
11
+ date: 2024-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 2.4.9
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '3'
23
- type: :development
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 2.4.9
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '3'
33
13
  - !ruby/object:Gem::Dependency
34
14
  name: dotenv
35
15
  requirement: !ruby/object:Gem::Requirement
36
16
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 2.7.6
40
- - - "<"
17
+ - - "~>"
41
18
  - !ruby/object:Gem::Version
42
19
  version: '3'
43
20
  type: :development
44
21
  prerelease: false
45
22
  version_requirements: !ruby/object:Gem::Requirement
46
23
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 2.7.6
50
- - - "<"
24
+ - - "~>"
51
25
  - !ruby/object:Gem::Version
52
26
  version: '3'
53
27
  - !ruby/object:Gem::Dependency
@@ -158,8 +132,10 @@ extensions: []
158
132
  extra_rdoc_files: []
159
133
  files:
160
134
  - ".gitignore"
135
+ - ".markdownlint.json"
161
136
  - ".rspec"
162
137
  - ".rubocop.yml"
138
+ - ".ruby-version"
163
139
  - ".yardopts"
164
140
  - CHANGELOG.md
165
141
  - Gemfile
@@ -212,7 +188,8 @@ files:
212
188
  homepage: https://github.com/rellampec/rake-commander
213
189
  licenses:
214
190
  - MIT
215
- metadata: {}
191
+ metadata:
192
+ rubygems_mfa_required: 'true'
216
193
  post_install_message:
217
194
  rdoc_options: []
218
195
  require_paths:
@@ -221,14 +198,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
221
198
  requirements:
222
199
  - - ">="
223
200
  - !ruby/object:Gem::Version
224
- version: 2.7.2
201
+ version: 3.2.2
225
202
  required_rubygems_version: !ruby/object:Gem::Requirement
226
203
  requirements:
227
204
  - - ">="
228
205
  - !ruby/object:Gem::Version
229
206
  version: '0'
230
207
  requirements: []
231
- rubygems_version: 3.4.12
208
+ rubygems_version: 3.5.6
232
209
  signing_key:
233
210
  specification_version: 4
234
211
  summary: Classing rake tasks with options. Creating re-usable tasks, options and samples