eventhub-command 0.4.0 → 0.4.1
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/lib/eh/commands/deploy.rb +12 -21
- data/lib/eh/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: 5609eec996f0117854462be52c608d6271920b83
|
|
4
|
+
data.tar.gz: 94fab3ac68ee8b55509323a03e4c26d1ecd7ad66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0bf66fe2949ab2a86117df3dad7a2d62f858985aa6297f56a4d0dd805f8eb65d9294a07da5a0956ac1004691b199acbdc29f09b76d30c964e9ef4c1de4fc2a39
|
|
7
|
+
data.tar.gz: 9ef51c5dc7eed88eb627787c18c96df7b50d5ca52cab784af35bc5fe2d7ef9a3a1c51271d37c69fe8bacd80ffad57576a68043f8f4a25b248abc69daf8984740
|
data/lib/eh/commands/deploy.rb
CHANGED
|
@@ -39,17 +39,13 @@ command :deploy do |c|
|
|
|
39
39
|
c.arg_name '[channel_adapter[,other_channel_adapter,pattern*]]'
|
|
40
40
|
|
|
41
41
|
c.action do |global_options, options, args|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
end
|
|
48
|
-
Deployer::MuleDeployer.new(adapter_names, options).deploy!
|
|
49
|
-
rescue => e
|
|
50
|
-
puts e.message
|
|
51
|
-
puts e.backtrace.join("\n")
|
|
42
|
+
|
|
43
|
+
if args[0]
|
|
44
|
+
adapter_names = args[0].split(',').map(&:strip)
|
|
45
|
+
else
|
|
46
|
+
adapter_names = nil
|
|
52
47
|
end
|
|
48
|
+
Deployer::MuleDeployer.new(adapter_names, options).deploy!
|
|
53
49
|
end
|
|
54
50
|
end
|
|
55
51
|
|
|
@@ -58,17 +54,12 @@ command :deploy do |c|
|
|
|
58
54
|
c.arg_name '[processor_name,[other_processor_name,pattern*]]'
|
|
59
55
|
|
|
60
56
|
c.action do |global_options, options, args|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
processor_names = nil
|
|
66
|
-
end
|
|
67
|
-
Deployer::RubyDeployer.new(processor_names, options).deploy!
|
|
68
|
-
rescue => e
|
|
69
|
-
puts e.message
|
|
70
|
-
puts e.backtrace.join("\n")
|
|
57
|
+
if args[0]
|
|
58
|
+
processor_names = args[0].split(',').map(&:strip)
|
|
59
|
+
else
|
|
60
|
+
processor_names = nil
|
|
71
61
|
end
|
|
62
|
+
Deployer::RubyDeployer.new(processor_names, options).deploy!
|
|
72
63
|
end
|
|
73
64
|
end
|
|
74
65
|
|
|
@@ -105,7 +96,7 @@ command :deploy do |c|
|
|
|
105
96
|
end
|
|
106
97
|
|
|
107
98
|
def extend_command(command)
|
|
108
|
-
"
|
|
99
|
+
"eh #{command}"
|
|
109
100
|
end
|
|
110
101
|
|
|
111
102
|
end
|
data/lib/eh/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eventhub-command
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pascal Betz
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-11-
|
|
12
|
+
date: 2015-11-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|