firespring_dev_commands 2.2.0 → 2.2.1.pre.alpha.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/lib/firespring_dev_commands/common.rb +2 -2
- data/lib/firespring_dev_commands/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6b28be62e65a274b5dc6b3ac1476d926c6d1c9232a845a31279ca5f03d626a5d
|
|
4
|
+
data.tar.gz: 57ecb8d254a210ecc99b787577a58ea9e00fb761df350990fd9607c757ee71e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c8a062464820475012a32d643b62e68fba662fa6e1e0d87e5b5658d08916922000f62d35cd92708c8bdb765b382c08bf5f8dd64f7f4cb175591ec635f33e09e
|
|
7
|
+
data.tar.gz: 051f0483014854cc8bb4644c734b5b5b6171c5ec4dfd720f359c6b6c7e7b9d1beedcaae8975d8a65377be04b9f4e2393d2fa7bcc2af6a3df09da6a503cccf1aa
|
|
@@ -7,7 +7,7 @@ module Dev
|
|
|
7
7
|
# By default, the subshell is connected to the stdin/stdout/stderr of the current program
|
|
8
8
|
# By default, the current environment is passed to the subshell
|
|
9
9
|
# You can capture the output of the command by setting capture to true
|
|
10
|
-
def run_command(command, stdin: $stdin, stdout: $stdout, stderr: $stderr, env: ENV, capture: false)
|
|
10
|
+
def run_command(command, stdin: $stdin, stdout: $stdout, stderr: $stderr, env: ENV, capture: false, fail_on_error: true)
|
|
11
11
|
command = Array(command)
|
|
12
12
|
output = nil
|
|
13
13
|
|
|
@@ -31,7 +31,7 @@ module Dev
|
|
|
31
31
|
unless result.exitstatus.zero?
|
|
32
32
|
puts output if capture
|
|
33
33
|
LOG.error "#{result.exitstatus} exit status while running [ #{command.join(' ')} ]\n".red
|
|
34
|
-
exit result.exitstatus
|
|
34
|
+
exit result.exitstatus if fail_on_error
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
output
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: firespring_dev_commands
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.1.pre.alpha.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Firespring
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-06-
|
|
11
|
+
date: 2024-06-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -432,9 +432,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
432
432
|
version: '3.1'
|
|
433
433
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
434
434
|
requirements:
|
|
435
|
-
- - "
|
|
435
|
+
- - ">"
|
|
436
436
|
- !ruby/object:Gem::Version
|
|
437
|
-
version:
|
|
437
|
+
version: 1.3.1
|
|
438
438
|
requirements: []
|
|
439
439
|
rubygems_version: 3.4.10
|
|
440
440
|
signing_key:
|