gotsha 1.2.3 → 1.2.4
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 +3 -0
- data/lib/gotsha/bash_command.rb +1 -1
- data/lib/gotsha/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: e2cc7b0a6d638757b14677caaa43f31683cdabd4726ad8488a2168ef08ca501a
|
|
4
|
+
data.tar.gz: 9020d7cd3e6145ca125fd761b6d9e25ccf99e6844dad32c2825482b552f81e39
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 508c0197ce27724c515f79239ace2664efe793ec0f39475f89b0efb0bc35ee84548199d86a54761efa28817728a7b1305be5afb283f3649fb17a4f6b0f1eadf6
|
|
7
|
+
data.tar.gz: e9e2487529629a31be43cb7e4889cc0bda5ee99f97febe8e69a1c1c17168ee4dab2e40f95603496a8a4cbbed19b6134a7faeb427878f6a3034cf574ec3ec4885
|
data/CHANGELOG.md
CHANGED
data/lib/gotsha/bash_command.rb
CHANGED
|
@@ -18,7 +18,7 @@ module Gotsha
|
|
|
18
18
|
exit_code = nil
|
|
19
19
|
|
|
20
20
|
# This block is an ugly workaround to ensure the color output is stored both on Linux and Mac
|
|
21
|
-
PTY.spawn("bash", "-
|
|
21
|
+
PTY.spawn("bash", "-c", "#{command}; printf \"\\n#{MARKER}%d\\n\" $?") do |r, _w, pid|
|
|
22
22
|
r.each do |line|
|
|
23
23
|
if line.start_with?(MARKER)
|
|
24
24
|
exit_code = line.sub(MARKER, "").to_i
|
data/lib/gotsha/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gotsha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vitek Meloun
|
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
95
|
version: '0'
|
|
96
96
|
requirements: []
|
|
97
|
-
rubygems_version: 4.0.
|
|
97
|
+
rubygems_version: 4.0.3
|
|
98
98
|
specification_version: 4
|
|
99
99
|
summary: 'Gotsha: your local testing CI'
|
|
100
100
|
test_files: []
|