easy_command 1.0.0.pre.rc1

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.
Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/.github/CODEOWNERS +5 -0
  3. data/.github/workflows/ci.yaml +52 -0
  4. data/.github/workflows/lint.yaml +38 -0
  5. data/.github/workflows/release.yml +43 -0
  6. data/.gitignore +14 -0
  7. data/.release-please-manifest.json +3 -0
  8. data/.rspec +1 -0
  9. data/.rubocop.yml +14 -0
  10. data/.rubocop_maintainer_style.yml +34 -0
  11. data/.rubocop_style.yml +142 -0
  12. data/.rubocop_todo.yml +453 -0
  13. data/.ruby-version +1 -0
  14. data/CHANGELOG.md +89 -0
  15. data/Gemfile +19 -0
  16. data/LICENSE.txt +22 -0
  17. data/README.md +736 -0
  18. data/easy_command.gemspec +26 -0
  19. data/lib/easy_command/chainable.rb +16 -0
  20. data/lib/easy_command/errors.rb +85 -0
  21. data/lib/easy_command/result.rb +53 -0
  22. data/lib/easy_command/ruby-2-7-specific.rb +49 -0
  23. data/lib/easy_command/ruby-2-specific.rb +53 -0
  24. data/lib/easy_command/ruby-3-specific.rb +49 -0
  25. data/lib/easy_command/spec_helpers/command_matchers.rb +89 -0
  26. data/lib/easy_command/spec_helpers/mock_command_helper.rb +89 -0
  27. data/lib/easy_command/spec_helpers.rb +2 -0
  28. data/lib/easy_command/version.rb +3 -0
  29. data/lib/easy_command.rb +94 -0
  30. data/locales/en.yml +2 -0
  31. data/release-please-config.json +11 -0
  32. data/spec/easy_command/errors_spec.rb +121 -0
  33. data/spec/easy_command/result_spec.rb +176 -0
  34. data/spec/easy_command_spec.rb +298 -0
  35. data/spec/factories/addition_command.rb +12 -0
  36. data/spec/factories/callback_command.rb +20 -0
  37. data/spec/factories/failure_command.rb +12 -0
  38. data/spec/factories/missed_call_command.rb +7 -0
  39. data/spec/factories/multiplication_command.rb +12 -0
  40. data/spec/factories/sub_command.rb +19 -0
  41. data/spec/factories/subcommand_command.rb +14 -0
  42. data/spec/factories/success_command.rb +11 -0
  43. data/spec/spec_helper.rb +16 -0
  44. metadata +102 -0
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,453 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2022-10-06 15:40:29 UTC using RuboCop version 1.18.4.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 2
10
+ # Configuration parameters: EnforcedStyle, Include, AllowedGems.
11
+ # SupportedStyles: required, forbidden
12
+ # Include: **/*.gemfile, **/Gemfile, **/gems.rb
13
+ Bundler/GemVersion:
14
+ Exclude:
15
+ - 'Gemfile'
16
+
17
+ # Offense count: 1
18
+ # Cop supports --auto-correct.
19
+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
20
+ # Include: **/*.gemfile, **/Gemfile, **/gems.rb
21
+ Bundler/OrderedGems:
22
+ Exclude:
23
+ - 'Gemfile'
24
+
25
+ # Offense count: 1
26
+ # Cop supports --auto-correct.
27
+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
28
+ # Include: **/*.gemspec
29
+ Gemspec/OrderedDependencies:
30
+ Exclude:
31
+ - 'command.gemspec'
32
+
33
+ # Offense count: 1
34
+ # Configuration parameters: Include.
35
+ # Include: **/*.gemspec
36
+ Gemspec/RequiredRubyVersion:
37
+ Exclude:
38
+ - 'command.gemspec'
39
+
40
+ # Offense count: 2
41
+ # Cop supports --auto-correct.
42
+ Layout/ElseAlignment:
43
+ Exclude:
44
+ - 'lib/command/errors.rb'
45
+ - 'lib/command/spec_helpers/mock_command_helper.rb'
46
+
47
+ # Offense count: 1
48
+ # Cop supports --auto-correct.
49
+ Layout/EmptyLineAfterMagicComment:
50
+ Exclude:
51
+ - 'command.gemspec'
52
+
53
+ # Offense count: 6
54
+ # Cop supports --auto-correct.
55
+ # Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
56
+ Layout/EmptyLineBetweenDefs:
57
+ Exclude:
58
+ - 'lib/command.rb'
59
+ - 'lib/command/result.rb'
60
+ - 'lib/command/ruby-2-specific.rb'
61
+
62
+ # Offense count: 1
63
+ # Cop supports --auto-correct.
64
+ Layout/EmptyLines:
65
+ Exclude:
66
+ - 'lib/command/ruby-2-specific.rb'
67
+
68
+ # Offense count: 1
69
+ # Cop supports --auto-correct.
70
+ # Configuration parameters: AllowAliasSyntax, AllowedMethods.
71
+ # AllowedMethods: alias_method, public, protected, private
72
+ Layout/EmptyLinesAroundAttributeAccessor:
73
+ Exclude:
74
+ - 'lib/command.rb'
75
+
76
+ # Offense count: 2
77
+ # Cop supports --auto-correct.
78
+ # Configuration parameters: EnforcedStyleAlignWith, Severity.
79
+ # SupportedStylesAlignWith: keyword, variable, start_of_line
80
+ Layout/EndAlignment:
81
+ Exclude:
82
+ - 'lib/command/errors.rb'
83
+ - 'lib/command/spec_helpers/mock_command_helper.rb'
84
+
85
+ # Offense count: 2
86
+ # Cop supports --auto-correct.
87
+ # Configuration parameters: Width, IgnoredPatterns.
88
+ Layout/IndentationWidth:
89
+ Exclude:
90
+ - 'lib/command/errors.rb'
91
+ - 'lib/command/spec_helpers/mock_command_helper.rb'
92
+
93
+ # Offense count: 5
94
+ # Cop supports --auto-correct.
95
+ # Configuration parameters: EnforcedStyle.
96
+ # SupportedTypes: block, case, class, if, kwbegin, module
97
+ # SupportedStyles: same_line, new_line
98
+ Layout/MultilineAssignmentLayout:
99
+ Exclude:
100
+ - 'lib/command/errors.rb'
101
+ - 'lib/command/result.rb'
102
+ - 'lib/command/spec_helpers/mock_command_helper.rb'
103
+
104
+ # Offense count: 2
105
+ # Cop supports --auto-correct.
106
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
107
+ # SupportedStyles: aligned, indented, indented_relative_to_receiver
108
+ Layout/MultilineMethodCallIndentation:
109
+ Exclude:
110
+ - 'lib/command/errors.rb'
111
+
112
+ # Offense count: 2
113
+ # Cop supports --auto-correct.
114
+ Layout/SingleLineBlockChain:
115
+ Exclude:
116
+ - 'spec/command_spec.rb'
117
+
118
+ # Offense count: 11
119
+ # Cop supports --auto-correct.
120
+ Layout/SpaceAfterComma:
121
+ Exclude:
122
+ - 'spec/command_spec.rb'
123
+ - 'spec/factories/addition_command.rb'
124
+ - 'spec/factories/multiplication_command.rb'
125
+ - 'spec/factories/subcommand_command.rb'
126
+
127
+ # Offense count: 2
128
+ # Cop supports --auto-correct.
129
+ Layout/SpaceBeforeComma:
130
+ Exclude:
131
+ - 'lib/command/spec_helpers/command_matchers.rb'
132
+
133
+ # Offense count: 2
134
+ # Cop supports --auto-correct.
135
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
136
+ # SupportedStyles: space, no_space, compact
137
+ # SupportedStylesForEmptyBraces: space, no_space
138
+ Layout/SpaceInsideHashLiteralBraces:
139
+ Exclude:
140
+ - 'spec/command/errors_spec.rb'
141
+
142
+ # Offense count: 1
143
+ # Cop supports --auto-correct.
144
+ Lint/NonDeterministicRequireOrder:
145
+ Exclude:
146
+ - 'spec/spec_helper.rb'
147
+
148
+ # Offense count: 1
149
+ Lint/UnreachableCode:
150
+ Exclude:
151
+ - 'spec/command_spec.rb'
152
+
153
+ # Offense count: 2
154
+ # Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
155
+ Metrics/AbcSize:
156
+ Max: 57
157
+
158
+ # Offense count: 1
159
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
160
+ # IgnoredMethods: refine
161
+ Metrics/BlockLength:
162
+ Max: 28
163
+
164
+ # Offense count: 1
165
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
166
+ Metrics/MethodLength:
167
+ Max: 33
168
+
169
+ # Offense count: 1
170
+ # Configuration parameters: IgnoredMethods.
171
+ Metrics/PerceivedComplexity:
172
+ Max: 10
173
+
174
+ # Offense count: 3
175
+ # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, Regex, IgnoreExecutableScripts, AllowedAcronyms.
176
+ # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
177
+ Naming/FileName:
178
+ Exclude:
179
+ - 'lib/command/ruby-2-7-specific.rb'
180
+ - 'lib/command/ruby-2-specific.rb'
181
+ - 'lib/command/ruby-3-specific.rb'
182
+
183
+ # Offense count: 2
184
+ # Configuration parameters: EnforcedStyleForLeadingUnderscores.
185
+ # SupportedStylesForLeadingUnderscores: disallowed, required, optional
186
+ Naming/MemoizedInstanceVariableName:
187
+ Exclude:
188
+ - 'lib/command.rb'
189
+ - 'lib/command/result.rb'
190
+
191
+ # Offense count: 7
192
+ # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
193
+ # AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
194
+ Naming/MethodParameterName:
195
+ Exclude:
196
+ - 'spec/factories/addition_command.rb'
197
+ - 'spec/factories/multiplication_command.rb'
198
+ - 'spec/factories/subcommand_command.rb'
199
+
200
+ # Offense count: 5
201
+ # Configuration parameters: Prefixes.
202
+ # Prefixes: when, with, without
203
+ RSpec/ContextWording:
204
+ Exclude:
205
+ - 'spec/command/result_spec.rb'
206
+
207
+ # Offense count: 2
208
+ # Cop supports --auto-correct.
209
+ # Configuration parameters: SkipBlocks, EnforcedStyle.
210
+ # SupportedStyles: described_class, explicit
211
+ RSpec/DescribedClass:
212
+ Exclude:
213
+ - 'spec/command/errors_spec.rb'
214
+
215
+ # Offense count: 5
216
+ # Cop supports --auto-correct.
217
+ # Configuration parameters: CustomTransform, IgnoredWords.
218
+ RSpec/ExampleWording:
219
+ Exclude:
220
+ - 'spec/command_spec.rb'
221
+
222
+ # Offense count: 5
223
+ # Configuration parameters: EnforcedStyle.
224
+ # SupportedStyles: allow, expect
225
+ RSpec/MessageExpectation:
226
+ Exclude:
227
+ - 'spec/command/errors_spec.rb'
228
+ - 'spec/command/result_spec.rb'
229
+ - 'spec/command_spec.rb'
230
+
231
+ # Offense count: 7
232
+ # Configuration parameters: EnforcedStyle.
233
+ # SupportedStyles: have_received, receive
234
+ RSpec/MessageSpies:
235
+ Exclude:
236
+ - 'spec/command/errors_spec.rb'
237
+ - 'spec/command/result_spec.rb'
238
+ - 'spec/command_spec.rb'
239
+
240
+ # Offense count: 4
241
+ # Cop supports --auto-correct.
242
+ # Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers.
243
+ # SupportedStyles: inflected, explicit
244
+ RSpec/PredicateMatcher:
245
+ Exclude:
246
+ - 'spec/command_spec.rb'
247
+
248
+ # Offense count: 2
249
+ RSpec/RepeatedExample:
250
+ Exclude:
251
+ - 'spec/command/errors_spec.rb'
252
+
253
+ # Offense count: 2
254
+ RSpec/StubbedMock:
255
+ Exclude:
256
+ - 'spec/command/errors_spec.rb'
257
+
258
+ # Offense count: 1
259
+ # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
260
+ RSpec/VerifiedDoubles:
261
+ Exclude:
262
+ - 'spec/command/errors_spec.rb'
263
+
264
+ # Offense count: 1
265
+ # Cop supports --auto-correct.
266
+ # Configuration parameters: EnforcedStyle.
267
+ # SupportedStyles: prefer_alias, prefer_alias_method
268
+ Style/Alias:
269
+ Exclude:
270
+ - 'lib/command/errors.rb'
271
+
272
+ # Offense count: 2
273
+ # Cop supports --auto-correct.
274
+ Style/BlockComments:
275
+ Exclude:
276
+ - 'lib/command/spec_helpers/command_matchers.rb'
277
+ - 'lib/command/spec_helpers/mock_command_helper.rb'
278
+
279
+ # Offense count: 4
280
+ # Cop supports --auto-correct.
281
+ # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
282
+ # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
283
+ # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
284
+ # FunctionalMethods: let, let!, subject, watch
285
+ # IgnoredMethods: lambda, proc, it
286
+ Style/BlockDelimiters:
287
+ Exclude:
288
+ - 'lib/command/spec_helpers/mock_command_helper.rb'
289
+ - 'spec/command_spec.rb'
290
+
291
+ # Offense count: 1
292
+ # Cop supports --auto-correct.
293
+ # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
294
+ # SupportedStyles: assign_to_condition, assign_inside_condition
295
+ Style/ConditionalAssignment:
296
+ Exclude:
297
+ - 'lib/command/spec_helpers/mock_command_helper.rb'
298
+
299
+ # Offense count: 2
300
+ # Cop supports --auto-correct.
301
+ # Configuration parameters: EnforcedStyle.
302
+ # SupportedStyles: compact, expanded
303
+ Style/EmptyMethod:
304
+ Exclude:
305
+ - 'spec/factories/callback_command.rb'
306
+ - 'spec/factories/sub_command.rb'
307
+
308
+ # Offense count: 1
309
+ # Cop supports --auto-correct.
310
+ Style/Encoding:
311
+ Exclude:
312
+ - 'command.gemspec'
313
+
314
+ # Offense count: 2
315
+ # Cop supports --auto-correct.
316
+ Style/ExpandPathArguments:
317
+ Exclude:
318
+ - 'command.gemspec'
319
+ - 'spec/spec_helper.rb'
320
+
321
+ # Offense count: 1
322
+ # Cop supports --auto-correct.
323
+ # Configuration parameters: EnforcedStyle.
324
+ # SupportedStyles: format, sprintf, percent
325
+ Style/FormatString:
326
+ Exclude:
327
+ - 'lib/command/errors.rb'
328
+
329
+ # Offense count: 2
330
+ # Configuration parameters: MaxUnannotatedPlaceholdersAllowed, IgnoredMethods.
331
+ # SupportedStyles: annotated, template, unannotated
332
+ Style/FormatStringToken:
333
+ EnforcedStyle: unannotated
334
+
335
+ # Offense count: 20
336
+ # Cop supports --auto-correct.
337
+ # Configuration parameters: EnforcedStyle.
338
+ # SupportedStyles: always, always_true, never
339
+ Style/FrozenStringLiteralComment:
340
+ Enabled: false
341
+
342
+ # Offense count: 1
343
+ # Cop supports --auto-correct.
344
+ Style/HashTransformValues:
345
+ Exclude:
346
+ - 'lib/command/spec_helpers/mock_command_helper.rb'
347
+
348
+ # Offense count: 47
349
+ # Cop supports --auto-correct.
350
+ # Configuration parameters: IgnoreMacros, IgnoredMethods, IgnoredPatterns, IncludedMacros, AllowParenthesesInMultilineCall, AllowParenthesesInChaining, AllowParenthesesInCamelCaseMethod, AllowParenthesesInStringInterpolation, EnforcedStyle.
351
+ # SupportedStyles: require_parentheses, omit_parentheses
352
+ Style/MethodCallWithArgsParentheses:
353
+ Exclude:
354
+ - 'lib/command.rb'
355
+ - 'lib/command/chainable.rb'
356
+ - 'lib/command/ruby-2-7-specific.rb'
357
+ - 'lib/command/ruby-2-specific.rb'
358
+ - 'lib/command/ruby-3-specific.rb'
359
+ - 'lib/command/spec_helpers/command_matchers.rb'
360
+ - 'lib/command/spec_helpers/mock_command_helper.rb'
361
+ - 'spec/command/errors_spec.rb'
362
+ - 'spec/command/result_spec.rb'
363
+ - 'spec/command_spec.rb'
364
+ - 'spec/factories/callback_command.rb'
365
+ - 'spec/factories/sub_command.rb'
366
+ - 'spec/factories/subcommand_command.rb'
367
+ - 'spec/spec_helper.rb'
368
+
369
+ # Offense count: 2
370
+ Style/MethodCalledOnDoEndBlock:
371
+ Exclude:
372
+ - 'lib/command/spec_helpers/mock_command_helper.rb'
373
+ - 'spec/command_spec.rb'
374
+
375
+ # Offense count: 1
376
+ # Cop supports --auto-correct.
377
+ # Configuration parameters: EnforcedStyle.
378
+ # SupportedStyles: literals, strict
379
+ Style/MutableConstant:
380
+ Exclude:
381
+ - 'lib/command/version.rb'
382
+
383
+ # Offense count: 3
384
+ # Cop supports --auto-correct.
385
+ Style/RedundantFileExtensionInRequire:
386
+ Exclude:
387
+ - 'lib/command.rb'
388
+
389
+ # Offense count: 1
390
+ # Cop supports --auto-correct.
391
+ Style/RedundantSelf:
392
+ Exclude:
393
+ - 'lib/command/errors.rb'
394
+
395
+ # Offense count: 2
396
+ # Cop supports --auto-correct.
397
+ # Configuration parameters: EnforcedStyle, AllowInnerSlashes.
398
+ # SupportedStyles: slashes, percent_r, mixed
399
+ Style/RegexpLiteral:
400
+ Exclude:
401
+ - 'command.gemspec'
402
+
403
+ # Offense count: 3
404
+ Style/Send:
405
+ Exclude:
406
+ - 'lib/command/ruby-2-7-specific.rb'
407
+ - 'lib/command/ruby-2-specific.rb'
408
+ - 'lib/command/ruby-3-specific.rb'
409
+
410
+ # Offense count: 1
411
+ # Cop supports --auto-correct.
412
+ # Configuration parameters: EnforcedStyle.
413
+ # SupportedStyles: only_raise, only_fail, semantic
414
+ Style/SignalException:
415
+ Exclude:
416
+ - 'lib/command.rb'
417
+
418
+ # Offense count: 5
419
+ # Cop supports --auto-correct.
420
+ # Configuration parameters: AllowIfMethodIsEmpty.
421
+ Style/SingleLineMethods:
422
+ Exclude:
423
+ - 'lib/command/result.rb'
424
+ - 'spec/command/result_spec.rb'
425
+
426
+ # Offense count: 1
427
+ # Cop supports --auto-correct.
428
+ # Configuration parameters: Mode.
429
+ Style/StringConcatenation:
430
+ Exclude:
431
+ - 'lib/command/i18n.rb'
432
+
433
+ # Offense count: 96
434
+ # Cop supports --auto-correct.
435
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
436
+ # SupportedStyles: single_quotes, double_quotes
437
+ Style/StringLiterals:
438
+ Enabled: false
439
+
440
+ # Offense count: 1
441
+ # Cop supports --auto-correct.
442
+ # Configuration parameters: AllowMethodsWithArguments, IgnoredMethods.
443
+ # IgnoredMethods: respond_to, define_method
444
+ Style/SymbolProc:
445
+ Exclude:
446
+ - 'lib/command.rb'
447
+
448
+ # Offense count: 1
449
+ # Cop supports --auto-correct.
450
+ # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
451
+ # URISchemes: http, https
452
+ Layout/LineLength:
453
+ Max: 162
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.7.8
data/CHANGELOG.md ADDED
@@ -0,0 +1,89 @@
1
+ # Changelog
2
+
3
+ ## [1.0.0-rc1](https://github.com/Swile/easy_command/compare/v0.7.0...v1.0.0-rc1) (2024-06-20)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * Migrate app from private TheMenu/command to public Swile/easy_command
9
+
10
+ ### Features
11
+
12
+ * Migrate app from private TheMenu/command to public Swile/easy_command ([06db431](https://github.com/Swile/easy_command/commit/06db4318fd68a6330d59b34ed40cab6bbdd8aa85))
13
+
14
+
15
+ # Historical releases
16
+
17
+ ## [0.7.0](https://github.com/TheMenu/command/compare/v0.6.0...v0.7.0) (2024-06-14)
18
+
19
+
20
+ ### Features
21
+
22
+ * Allow to return a result even when failing ([#54](https://github.com/TheMenu/command/issues/54)) ([e6d2f8a](https://github.com/TheMenu/command/commit/e6d2f8a9cb6d8222c44178b07a5caeae7fb5a5eb))
23
+
24
+ ## [0.6.0](https://github.com/TheMenu/command/compare/v0.5.0...v0.6.0) (2023-07-18)
25
+
26
+
27
+ ### Features
28
+
29
+ * changing the readme to state that it uses automated release ([#48](https://github.com/TheMenu/command/issues/48)) ([dfdaf2d](https://github.com/TheMenu/command/commit/dfdaf2d0ebfb860cedb6127d2110ac220cdd1aab))
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * readme typo ([#50](https://github.com/TheMenu/command/issues/50)) ([0e381a2](https://github.com/TheMenu/command/commit/0e381a2fd4ccb744918333967746a48dfcf51247))
35
+
36
+ ## [0.5.0](https://github.com/TheMenu/command/compare/v0.4.2...v0.5.0) (2023-04-21)
37
+
38
+
39
+ ### Features
40
+
41
+ * use gh app token to release ([#47](https://github.com/TheMenu/command/issues/47)) ([2e1aff1](https://github.com/TheMenu/command/commit/2e1aff1476544304870051fcd36843a523edebcf))
42
+ * use github token instead of PAT to publish gem ([#45](https://github.com/TheMenu/command/issues/45)) ([8dd5dcb](https://github.com/TheMenu/command/commit/8dd5dcba4d57a537c26c0ea600adddcb87ca4292))
43
+
44
+ ## [0.4.2](https://github.com/TheMenu/command/compare/v0.4.1...v0.4.2) (2023-03-31)
45
+
46
+
47
+ ### Bug Fixes
48
+
49
+ * use PAT instead of github token to publish gem to GPR ([#43](https://github.com/TheMenu/command/issues/43)) ([dee404b](https://github.com/TheMenu/command/commit/dee404b4805742d3bfef40a040e745f68221a8da))
50
+
51
+ ## [0.4.1](https://github.com/TheMenu/command/compare/v0.4.0...v0.4.1) (2023-03-31)
52
+
53
+
54
+ ### Bug Fixes
55
+
56
+ * change gemspec metadata to follow git hub repo ([#41](https://github.com/TheMenu/command/issues/41)) ([807db00](https://github.com/TheMenu/command/commit/807db0017fad6eb203fb14da49b65bb605878d7d))
57
+
58
+ ## [0.4.0](https://github.com/TheMenu/command/compare/v0.3.2...v0.4.0) (2023-03-31)
59
+
60
+
61
+ ### Features
62
+
63
+ * add contributing block to readme ([#40](https://github.com/TheMenu/command/issues/40)) ([8aa6a67](https://github.com/TheMenu/command/commit/8aa6a67ec936da6800e9a1b356cf140af26d6c86))
64
+
65
+
66
+ ### Bug Fixes
67
+
68
+ * rework release publishing token ([#38](https://github.com/TheMenu/command/issues/38)) ([75029e6](https://github.com/TheMenu/command/commit/75029e695c2b4c7829e9620342c1b2418d9e80b2))
69
+
70
+ ## [0.3.2](https://github.com/TheMenu/command/compare/v0.3.1...v0.3.2) (2023-03-31)
71
+
72
+
73
+ ### Bug Fixes
74
+
75
+ * gem publishing env var must begin with Bearer ([#36](https://github.com/TheMenu/command/issues/36)) ([f06d5ad](https://github.com/TheMenu/command/commit/f06d5ad8a310a4ff8c517d5c50c3e60754af087e))
76
+
77
+ ## [0.3.1](https://github.com/TheMenu/command/compare/v0.3.0...v0.3.1) (2023-03-31)
78
+
79
+
80
+ ### Bug Fixes
81
+
82
+ * release please should not run bundle install ([#34](https://github.com/TheMenu/command/issues/34)) ([6cb2cf0](https://github.com/TheMenu/command/commit/6cb2cf01a9c3a884ba420e8ae0a7a3860486c587))
83
+
84
+ ## [0.3.0](https://github.com/TheMenu/command/compare/v0.2.0...v0.3.0) (2023-03-31)
85
+
86
+
87
+ ### Features
88
+
89
+ * document automatic release management ([#32](https://github.com/TheMenu/command/issues/32)) ([eec0a23](https://github.com/TheMenu/command/commit/eec0a23167e63b98f8a0140c607fb28ee52ce047))
data/Gemfile ADDED
@@ -0,0 +1,19 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in command.gemspec
4
+ gemspec
5
+
6
+ # Byebug - Debugger
7
+ gem 'byebug', '~> 11.1'
8
+
9
+ # I18n - Localization library - Necessary to test our integration with it
10
+ gem 'i18n', '~> 1.12'
11
+
12
+ # RSpec - Testing framework
13
+ gem 'rspec', '~> 3.11'
14
+ # RuboCop - Linter
15
+ gem 'rubocop', '~> 1.64'
16
+ # RuboCop RSpec - Spec linter rules
17
+ gem 'rubocop-rspec', '~> 2.26'
18
+ # SimpleCov - Code coverage analysis
19
+ gem 'simplecov', '~> 0.21'
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Nebulab S.r.l. (http://nebulab.it)
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.