firespring_dev_commands 2.2.0 → 2.2.1.pre.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e21d0927fcb2bd86ade4738cf7cd0f95821200e63b8d58ab9fea8f095e7d85e5
4
- data.tar.gz: 0bbeaf7d375ce02212e2c4b08cc27474a372cd41389f5b1012449b7b979af316
3
+ metadata.gz: 6b28be62e65a274b5dc6b3ac1476d926c6d1c9232a845a31279ca5f03d626a5d
4
+ data.tar.gz: 57ecb8d254a210ecc99b787577a58ea9e00fb761df350990fd9607c757ee71e6
5
5
  SHA512:
6
- metadata.gz: f4b0b807ef65b476a93fe875e5b9cfd94532729a824417adac7d621b2ba012312341da1d6fde1bde207ad12d5c26b5d5e7a77d64ca47e05d6fca7032be544b9c
7
- data.tar.gz: 3f65efdb513bd1ff812161c49d4bce4967aa7eed9aa61b3f164d530f05bf06fc65222058e6ecda08c3c5848b85b4be7a4ef3eff521775edaadabe96449e686b7
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
@@ -6,6 +6,6 @@ module Dev
6
6
  # Use 'v.v.v.pre.alpha.v' for pre-release vesions
7
7
  # Use 'v.v.v.beta.v for beta versions
8
8
  # Use semantic versioning for any releases (https://semver.org/)
9
- VERSION = '2.2.0'.freeze
9
+ VERSION = '2.2.1.pre.alpha.1'.freeze
10
10
  end
11
11
  end
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.0
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-05 00:00:00.000000000 Z
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: '0'
437
+ version: 1.3.1
438
438
  requirements: []
439
439
  rubygems_version: 3.4.10
440
440
  signing_key: