luban 0.7.11 → 0.7.12
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 +7 -1
- data/lib/luban/deployment/cli/service/worker.rb +7 -2
- data/lib/luban/deployment/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 954a633b343f946598d0923a34606fd5a4df8c3a
|
|
4
|
+
data.tar.gz: 45ccbf2a1c9dbbd9e12064665fb9a711b94e55c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6b63a0301f9c4f5e545ec3077fbdeb1ac48e200eae8099571548e75414e165cbdce1bc370cb6bbd04a820d5c00b98cfab29dc7ba100913079685b6ec39e9a09a
|
|
7
|
+
data.tar.gz: cc089bf0eeb1a9f2c40796ee1816879b8b100ba48afd406290b9cbda3ad34443b1843fe7d5b7239e09ff50d3fd7dc08d903fba3428be728a14eeaf3ae2fa7dd0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
|
|
3
|
+
## Version 0.7.12 (Sept 02, 2016)
|
|
4
|
+
|
|
5
|
+
Minor enhancements:
|
|
6
|
+
* Supported specifying shell command output, default "2>&1"
|
|
7
|
+
* Minor refactoring
|
|
8
|
+
|
|
3
9
|
## Version 0.7.11 (Sept 01, 2016)
|
|
4
10
|
|
|
5
11
|
Minor enhancements:
|
|
6
|
-
* Supported shell command prefix
|
|
12
|
+
* Supported specifying shell command prefix
|
|
7
13
|
* Minor code refactoring
|
|
8
14
|
|
|
9
15
|
## Version 0.7.10 (Sept 01, 2016)
|
|
@@ -11,9 +11,14 @@ module Luban
|
|
|
11
11
|
@shell_command_prefix ||= []
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
def
|
|
14
|
+
def shell_command_output
|
|
15
|
+
@shell_command_output ||= '2>&1'
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def compose_command(cmd, delimiter: ';')
|
|
15
19
|
cmd = "#{shell_command_prefix.join(' ')} #{cmd}" unless shell_command_prefix.empty?
|
|
16
|
-
"#{
|
|
20
|
+
cmd = "#{cmd} #{shell_command_output}" unless shell_command_output.empty?
|
|
21
|
+
"#{shell_setup_commands.join(' ' + delimiter + ' ')} #{delimiter} #{cmd}"
|
|
17
22
|
end
|
|
18
23
|
|
|
19
24
|
%i(name full_name version major_version patch_level).each do |method|
|
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.7.
|
|
4
|
+
version: 0.7.12
|
|
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-09-
|
|
11
|
+
date: 2016-09-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: luban-cli
|