command_line 2.0.0 → 2.0.1
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/command_line.rb +2 -2
- data/lib/command_line/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: 88caa2a583a725227d69d654f25ebc84e3b1f0d9aeacc18d0b3ced12aad52351
|
|
4
|
+
data.tar.gz: fad54f5ea6e4cc8d61dfcea26032564bdb3ba629f2486d3ce5a0484b1c0cc2ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e6c040d5c945a7d830348cf297602b0c45d47283ca9f5fc783cd4530dfc851dd85b5aa29e7ab0c3c86ca7abeffeaf45b3dfbf18a0acd6d65fa01ac6329e92aee
|
|
7
|
+
data.tar.gz: 4b15d0deb3a09b5f3e9eeee73140f2551f4962e76896adc1ad805d05c7eaf7194eda7a4e549ee9f4b72be5aeff5f63055ca1e6f0e6afc9d0238cdccd2a9bde05
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# [2.0.1] (2020-04-17)
|
|
2
|
+
|
|
3
|
+
## Fixed
|
|
4
|
+
|
|
5
|
+
- Deprecation warning about keyword arguments.
|
|
6
|
+
|
|
1
7
|
# [2.0.0] (2020-04-13)
|
|
2
8
|
|
|
3
9
|
## Changed
|
|
@@ -31,6 +37,7 @@
|
|
|
31
37
|
|
|
32
38
|
Initial release.
|
|
33
39
|
|
|
40
|
+
[2.0.1]: https://github.com/DragonRuby/command_line/compare/v2.0.0...v2.0.1
|
|
34
41
|
[2.0.0]: https://github.com/DragonRuby/command_line/compare/v1.1.0...v2.0.0
|
|
35
42
|
[1.1.0]: https://github.com/DragonRuby/command_line/compare/v1.0.1...v1.1.0
|
|
36
43
|
[1.0.1]: https://github.com/DragonRuby/command_line/compare/v1.0.0...v1.0.1
|
data/lib/command_line.rb
CHANGED
|
@@ -92,8 +92,8 @@ module CommandLine
|
|
|
92
92
|
# @return [Result]
|
|
93
93
|
# @raise [CommandLine::ExitFailureError] If the application exits with an
|
|
94
94
|
# error status. The message will be the contents of Result#stderr.
|
|
95
|
-
def command_line!(*args, &block)
|
|
96
|
-
command_line(*args, &block).tap do |result|
|
|
95
|
+
def command_line!(*args, **kwargs, &block)
|
|
96
|
+
command_line(*args, **kwargs, &block).tap do |result|
|
|
97
97
|
raise ExitFailureError, result.stderr if result.failure?
|
|
98
98
|
end
|
|
99
99
|
end
|
data/lib/command_line/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: command_line
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aaron Lasseigne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-04-
|
|
11
|
+
date: 2020-04-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|