luban 0.9.6 → 0.9.7

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: 89d11fd53f23fcf4561d6f6da521b1364110a2b5
4
- data.tar.gz: 245fd0714c4b105a2eeedecc31c1517ad4d3bdf3
3
+ metadata.gz: 05c563073b69ea371e1a9c159be4566c5d7161b4
4
+ data.tar.gz: 6c236d456d1294ea1442dc122fe72e6944acc516
5
5
  SHA512:
6
- metadata.gz: 6559e03834e6972fe23db6837effed6b77f29157eb2a4dfc8de40df7c7f240b3091480696fb27eb89638ff1689a80904d7f7ae04bde189bd3f0e3bd15917d875
7
- data.tar.gz: 3c8a3df7d6f64cec2d5f7209284ca2c804e1c725cb9f40f1ee5ca8f0128e444cc00107a55ea25213c86808d294b49c879c4d5eee7223f654f0986dc73476d137
6
+ metadata.gz: 1639d72e4af369143739948fa6be33ed4042aa59615c25beea4ce17c5456379e44a8b1f5872e2902df6547e834130c01afe8690fd4c36e8dc9f203950ea465c9
7
+ data.tar.gz: 00bfdfa1dfe994b53c9f8845b14535d7c71a0eff24ad2def96fe2a4739e81664501021e435c4d1a6093b920a7bed9599677af9cfd2547e1e3882a626ff331105
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.9.7 (Oct 19, 2016)
4
+
5
+ Bug fixes:
6
+ * Handled empty shell setup appropriately when composing shell command
7
+
3
8
  ## Version 0.9.6 (Oct 18, 2016)
4
9
 
5
10
  Minor enhancements:
@@ -11,8 +11,8 @@ module Luban
11
11
  def shell_command(cmd, setup: shell_setup, prefix: shell_prefix,
12
12
  output: shell_output, delimiter: shell_delimiter)
13
13
  cmd = "#{prefix.join(' ')} #{cmd}" unless prefix.empty?
14
- cmd = "#{cmd} #{output_redirection(output)}"
15
- "#{setup.join(' ' + delimiter + ' ')} #{delimiter} #{cmd}"
14
+ cmd = "#{setup.join(' ' + delimiter + ' ')} #{delimiter} #{cmd}" unless setup.empty?
15
+ "#{cmd} #{output_redirection(output)}"
16
16
  end
17
17
 
18
18
  def output_redirection(output)
@@ -1,5 +1,5 @@
1
1
  module Luban
2
2
  module Deployment
3
- VERSION = "0.9.6"
3
+ VERSION = "0.9.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Lei
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-18 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban-cli