trent 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/command/sh/sh.rb +1 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9343dcc3d2737393299fe01ca4f25e7b15df7f8ddd6d4b9db566faafab0ee84
4
- data.tar.gz: 4b863521a37dde2547b46329c8639d511807307fd520476f1d06d5cad6b1a23c
3
+ metadata.gz: a21fefc0b5f22d12a24c553deba8f7407ae3e8e82649c00b4c2fd772dd85d478
4
+ data.tar.gz: bfc28c7a4b7fcb99b45e4087c138f6439ff75a569850d6569c8fc293546edadb
5
5
  SHA512:
6
- metadata.gz: 56026a07e2bd98127dc4eae8dae393a39d194098e00df9225c8e3ee6652175db5436c8ebd7fd75ac00a047469efca175d42b57ead5f0822d4e9385e3035f5918
7
- data.tar.gz: 7056a4663e23abc420934c2e3a798ca9149d4d899c28be757232ff444a149ca58e4f4f242e244c86fa1ca99706556adbda7175fa4473e6534a289fba4b2a15c6
6
+ metadata.gz: bbeae5926416ffec213b212dc1e3ee7de0e6ee0f9783c8dffa0a1e279e1b4f1de83df868f4071d50f0b578d8abb56850c8d9d474ca13c4e239521837ff573d65
7
+ data.tar.gz: f4609d0e6abf0befd92cf39c0f2f645b1cbcfc6c701cb2a7d1dbffc63b09fa2191513cbbedde143689629d9991930f66ffe73d64b220c869fc9ea04029f6e82e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### [0.2.3] 2018-09-04
2
+
3
+ ### Fixed
4
+ - Running `sh()` commands did not allow sending anything into STDIN.
5
+
1
6
  ### [0.2.2] 2018-08-27
2
7
 
3
8
  ### Fixed
data/lib/command/sh/sh.rb CHANGED
@@ -10,8 +10,7 @@ class Sh
10
10
  def run(command)
11
11
  output = ''
12
12
  exit_status = nil
13
- Open3.popen3(command) do |stdin, stdout, stderr, wait_thr|
14
- stdin.close
13
+ Open3.popen3(command) do |_stdin, stdout, stderr, wait_thr|
15
14
  stdout.each_line do |line|
16
15
  puts line
17
16
  output += line
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Levi Bostian