eventhub-command 0.6.6 → 0.6.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: b729ab1351958f518081b1b46cb7fc493506c068
4
- data.tar.gz: e6588899bb7c47d796773ca0a197ed4f30fdb465
3
+ metadata.gz: 087ac1a9dffbcab8fcabdc8ba5a3b96de329757f
4
+ data.tar.gz: 12573853ff61998cb9ab0d0b681e265b772cd80f
5
5
  SHA512:
6
- metadata.gz: 3f463f86994bddac9eb6cf8544ec05e496696b2108c4b014e2fe01a01bd68dcad6a64e34fd37b297dd92ca776b33d265489281e433a69d6157d249bb19a54cd1
7
- data.tar.gz: 7c6f2ba0225b2353a6dffc65cec75a4d08a7a04c0c3c24b98952db0e136201b197903f3841353965ffce5a83c4bebba03310045df580f2a0fa9e368578f1f0cc
6
+ metadata.gz: f6b7cf38a6820e2599516805c70d4f06c064c99b2e12cd2a506d70f2490318adebca339e883aa89f8273d6b4ac073ba203f699b2d1dc885f44ff0e5596cfa451
7
+ data.tar.gz: 9b508add2bbea8f30284bf73c260d51106a4883bb40f2fd42213c7d3226558705c5bdda82f6bec35ed65cebe7526d42ae1ee992f7c5f4c4909fa0c104ba0f2a2
@@ -18,7 +18,7 @@ class Deployer::RubyDeployer < Deployer::BaseDeployer
18
18
 
19
19
  # fetch processor_names unless they have been passed as an argument to the initializer
20
20
  processor_names_to_deploy = resolve_processor_names(executor, options)
21
- processor_names_to_deploy.each do |processor_name|
21
+ processor_names_to_deploy.sort(& ruby_sorter).each do |processor_name|
22
22
  puts
23
23
  puts "Deploying #{processor_name}".light_blue.on_blue
24
24
  log_deployment(executor, "Deploying #{processor_name} via #{deploy_via} from #{cached_copy_dir}")
@@ -114,4 +114,15 @@ class Deployer::RubyDeployer < Deployer::BaseDeployer
114
114
  fetched
115
115
  end
116
116
 
117
+
118
+ # custom ruby sorting makes sure dispatcher is always first if multiple go apps are given
119
+ #
120
+ def ruby_sorter
121
+ ->(a, b) do
122
+ return -1 if a =~ /disaptcher/i
123
+ return 1 if b =~ /dispatcher/i
124
+ a <=> b
125
+ end
126
+ end
127
+
117
128
  end
@@ -11,10 +11,10 @@ command :deploy do |c|
11
11
  c.action do |global_options, options, arguments|
12
12
  forward_arguments = arguments.join(' ')
13
13
  deploy_config(options, forward_arguments)
14
+ deploy_console(options, forward_arguments)
14
15
  deploy_go(options, forward_arguments)
15
16
  deploy_ruby(options, forward_arguments)
16
17
  deploy_mule(options, forward_arguments)
17
- deploy_console(options, forward_arguments)
18
18
  end
19
19
  end
20
20
 
data/lib/eh/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eh
2
- VERSION = '0.6.6'
2
+ VERSION = '0.6.7'
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.6.6
4
+ version: 0.6.7
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: 2016-11-02 00:00:00.000000000 Z
12
+ date: 2016-11-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  requirements: []
216
216
  rubyforge_project:
217
- rubygems_version: 2.2.2
217
+ rubygems_version: 2.5.1
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: Event Hub Command Line Tool