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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5146bf51057042c4f7ab5a36895dd7e039ac162e
4
- data.tar.gz: 10cdad8b9dd1867d312734dc3005cbcc345e16ba
3
+ metadata.gz: 5609eec996f0117854462be52c608d6271920b83
4
+ data.tar.gz: 94fab3ac68ee8b55509323a03e4c26d1ecd7ad66
5
5
  SHA512:
6
- metadata.gz: 52d2eef34897bf5207f7e2f57d19cbdea64ccd4a7dd56f318e6e2b24128348f577def951edb7dd70ff204ae977d29151241a99944e1780d8bbf91ab08d3d8730
7
- data.tar.gz: 0993f713103cfe7121f8187e4090f20b459d1f1050831cc5d2a905498eb34154ad0f8145d19450b711d96a1e12231769fd11352d8cbe3a7c98c38b658acdfaf6
6
+ metadata.gz: 0bf66fe2949ab2a86117df3dad7a2d62f858985aa6297f56a4d0dd805f8eb65d9294a07da5a0956ac1004691b199acbdc29f09b76d30c964e9ef4c1de4fc2a39
7
+ data.tar.gz: 9ef51c5dc7eed88eb627787c18c96df7b50d5ca52cab784af35bc5fe2d7ef9a3a1c51271d37c69fe8bacd80ffad57576a68043f8f4a25b248abc69daf8984740
@@ -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
- begin
43
- if args[0]
44
- adapter_names = args[0].split(',').map(&:strip)
45
- else
46
- adapter_names = nil
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
- begin
62
- if args[0]
63
- processor_names = args[0].split(',').map(&:strip)
64
- else
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
- "bundle exec eh #{command}"
99
+ "eh #{command}"
109
100
  end
110
101
 
111
102
  end
data/lib/eh/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eh
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
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.0
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-18 00:00:00.000000000 Z
12
+ date: 2015-11-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake