kommando 0.1.1 → 0.1.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
  SHA1:
3
- metadata.gz: 5a2293ea68b1d7c3e6fd7e3045a87aad8aee5ca3
4
- data.tar.gz: ac8e7fcad1629c33147e8cbd637e30843758ba02
3
+ metadata.gz: 987fcf26e944fba662aafa59f0d04ed0b9015957
4
+ data.tar.gz: 5e99af24c4e2bdfd48c442ed75661c62b7407d18
5
5
  SHA512:
6
- metadata.gz: 1f6e2bd07f08f2cc30977bb704ecf475e4e47b8b6552f24ffc13ed7a134973c81e01dff32bd52f49d5acb23e59365e05da0c50861925a5c8a26a176edb0ca67d
7
- data.tar.gz: b3683acec3ee38045cb8348bb58ccc011dc7f6fc6a7eef0357376405ae91a20b7ef5164c682c3ed95d174b732e71b4d36481b542f99cc97912ea760f8b7a7be2
6
+ metadata.gz: 4a1df3562ee05ac05cfefe6ac22c754b63f2d1ec93c8e629a35ae47909b2733af4aea76b90d9489c8d503395d54043e2f16d53f536ad9ea1878b4d58a16efd2d
7
+ data.tar.gz: f30a2ea9b57e2225e0d459cac0f0dcd49645c5604786ae516d924a6f7e21b2134e0b7f03e5f7cfb2059d5fdf618009a5aa7ed46ff9e78cf72fe2e657a972fb1f
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.2
4
+ - FIX: Fix `sh` vs `bash` detection
5
+
3
6
  ## 0.1.1
4
7
  - FIX: Use `sh` with `Kommando.run "$ ls"` if `bash` was not found.
5
8
 
@@ -142,7 +142,7 @@ class Kommando
142
142
  trash, line = @cmd.split "$", 2
143
143
  line.lstrip!
144
144
 
145
- if `command -v bash`
145
+ if File.exist? "/bin/bash"
146
146
  ["bash", "-c", line]
147
147
  else
148
148
  ["sh", "-c", line]
@@ -1,3 +1,3 @@
1
1
  class Kommando
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kommando
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matti Paksula
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-13 00:00:00.000000000 Z
11
+ date: 2017-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler