g2_command 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/gemfiles/rails_5.1.gemfile.lock +1 -1
- data/gemfiles/rails_5.2.gemfile.lock +1 -1
- data/gemfiles/rails_6.0.gemfile.lock +1 -1
- data/gemfiles/rails_6.1.gemfile.lock +1 -1
- data/lib/command.rb +2 -2
- data/lib/command/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1c4f9ab0d59f753d75d5bb7cbc5c192bcd439948743fe961cc9a01694100265
|
4
|
+
data.tar.gz: 9df11cdc0c347adc088dfc71c8250fa0f93421643474d4673c77c7bb66bd6d80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1efe1b711a961cf41a1e94e623ff15a0d4e8ebb71f5ed87296e35007646a02b055b639b20af46b195112f153a97ef6688cedea675880e031be7ab4310e4fe6d9
|
7
|
+
data.tar.gz: f4f52986d616a8984efae1e1a36fcbe142b02019a1d7407a39322d1775f9e353e18e22d33c83096524ac02e1536b1c5fb329aeb3ebc29e0bf719df3a46e73a3a
|
data/Gemfile.lock
CHANGED
data/lib/command.rb
CHANGED
@@ -38,8 +38,8 @@ module Command
|
|
38
38
|
errors.empty? ? Success(result) : Failure(Command::Failure.new(result, errors))
|
39
39
|
end
|
40
40
|
|
41
|
-
def compose(command,
|
42
|
-
outcome = command.run(
|
41
|
+
def compose(command, *args)
|
42
|
+
outcome = command.run(*args)
|
43
43
|
|
44
44
|
raise Command::Interrupt, outcome.failure.errors if outcome.failure?
|
45
45
|
|
data/lib/command/version.rb
CHANGED