prick 0.40.1 → 0.40.2

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: bed31b32457d15c5393b4b3edfdb2f338e069b058fde44f5fb32677161c6ae08
4
- data.tar.gz: 0d5a5310477c17b1ef31ff8124b190ea9625fec2e54637f53c8988af229f29ea
3
+ metadata.gz: d80ed9e4a9e952293015fa4bbdf82e6032433c9c588a403b1da37d80dffd04a3
4
+ data.tar.gz: 7395791928b6a93006f7dcca640340dcc5311e696d3d29fec7935d1eab5bf08b
5
5
  SHA512:
6
- metadata.gz: 5434d7ba61b03b67756e8ec89dbf2eeec58f17cc87d1f14fe8f7787bf6d448ef8cd3c2bb3ac2df9464ba86128b12ed3d824f1286a36b5d3284043779286b84dc
7
- data.tar.gz: 8c99d17d014c9e8de628f043ede068c260188af26975da2a136882d84171a862dddd3defdacf697839b723d75c0ae7ca569f0b26323e4063aac7ed2ea222d598
6
+ metadata.gz: 6871aa71a977fc72ec39b55369217de688eb0d6db93617435fb467c3b696729e7a9b58f4f9645a2850ff71f6d0be25cd9d9322b07c8022b5b66c715b37509b78
7
+ data.tar.gz: 88be83c01859557aae5a9b47d0ed49e7b69e3a819f49b80d316ffdfab8c428dff152c2267a7a25a8e46a9a4e1b624c3f374355b8be2bcd5e2af2a374d02abf73
@@ -169,7 +169,7 @@ module Prick
169
169
 
170
170
  def execute_system
171
171
  begin
172
- yield
172
+ Command.command(Prick.state.bash_environment, command)
173
173
  rescue Command::Error => ex
174
174
  message = "Error executing '#{command}'\n" + ex.stderr.map { |l| " #{l}" }.join("\n")
175
175
  Prick.error message
data/lib/prick/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Prick
4
- VERSION = "0.40.1"
4
+ VERSION = "0.40.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.1
4
+ version: 0.40.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen