lite-command 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +3 -3
- data/lib/lite/command/procedure.rb +2 -2
- data/lib/lite/command/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: beadcca1b29f3daf78ef1b066fde11e3ec7906b1b077c1e1db69502ac1e3b11a
|
4
|
+
data.tar.gz: ef3c8db30d607dd73b6c44775c79e7d9df06cc8c364a8bac763ce0fcc0a167d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49b3733322873804f0ea4bc858ff8ca65f6be400338e1f4604d5dba313da8ee6aabc5361b07b1e28631e9a8802ecfa04cb730e472341fc863ae538e29561b484
|
7
|
+
data.tar.gz: 0f2f7ff8d8d5bf9198763f6f3d33cf0bae77e43b32705060008bda68019a8759968c87d865d24939ddc956923216b41171e19acf52d4ce274c5a1307630f66f2
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.1.1] - 2019-06-08
|
10
|
+
### Changed
|
11
|
+
- Improve procedure error merging
|
12
|
+
|
9
13
|
## [1.1.0] - 2019-06-06
|
10
14
|
### Added
|
11
15
|
- Added procedure support for running multiple commands
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lite-command (1.1.
|
4
|
+
lite-command (1.1.1)
|
5
5
|
lite-errors
|
6
6
|
lite-memoize
|
7
7
|
|
@@ -58,7 +58,7 @@ GEM
|
|
58
58
|
minitest (5.14.2)
|
59
59
|
nokogiri (1.10.10)
|
60
60
|
mini_portile2 (~> 2.4.0)
|
61
|
-
parallel (1.
|
61
|
+
parallel (1.20.0)
|
62
62
|
parser (2.7.2.0)
|
63
63
|
ast (~> 2.4.1)
|
64
64
|
rack (2.2.3)
|
@@ -116,7 +116,7 @@ GEM
|
|
116
116
|
sqlite3 (1.4.2)
|
117
117
|
thor (1.0.1)
|
118
118
|
thread_safe (0.3.6)
|
119
|
-
tzinfo (1.2.
|
119
|
+
tzinfo (1.2.8)
|
120
120
|
thread_safe (~> 0.1)
|
121
121
|
unicode-display_width (1.7.0)
|
122
122
|
zeitwerk (2.4.1)
|
@@ -12,8 +12,8 @@ module Lite
|
|
12
12
|
steps.each_with_object([]) do |command, results|
|
13
13
|
command.call
|
14
14
|
|
15
|
-
if
|
16
|
-
merge_errors!(command)
|
15
|
+
if command.respond_to?(:errors) && command.failure?
|
16
|
+
merge_errors!(command) if respond_to?(:errors)
|
17
17
|
break results if exit_on_failure?
|
18
18
|
else
|
19
19
|
results << command.result
|
data/lib/lite/command/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lite-command
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lite-errors
|