capistrano-karafka 1.1.0 → 1.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2600e06ce382faf67c2999ae47481c331daec182
|
4
|
+
data.tar.gz: f1dd150ac5579b466d5e600d64b4728426c2cdac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 178ae590bdbcc0fd1ad8b6668b0cc9bdae08f124a16208c25a0370f9944e56bc991f242100ee7d3306450294ee09c12e6ff2e57e12cb559821d093052a31159f
|
7
|
+
data.tar.gz: 65a9f06bad424ce4dd85453b6b683f13b76d1e251e6f4724269add7e01f780befca82b5d87a3c9bbcf34fa1504e0aa7ef4c1306e76dc5d022b9aa886ed6629d5
|
data/capistrano-karafka.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'capistrano-karafka'
|
8
|
-
spec.version = '1.1.
|
8
|
+
spec.version = '1.1.1'
|
9
9
|
spec.platform = Gem::Platform::RUBY
|
10
10
|
spec.authors = ['Maciej Mensfeld']
|
11
11
|
spec.email = %w[maciej@coditsu.io]
|
@@ -6,7 +6,7 @@
|
|
6
6
|
namespace :karafka do
|
7
7
|
# @return [Array<Hash>] hash with details about each of the processes that
|
8
8
|
# we're suppose to manage. Contains pidfile and consumer_groups for now
|
9
|
-
def
|
9
|
+
def karafka_processes_details
|
10
10
|
processes_details = []
|
11
11
|
|
12
12
|
Array(fetch(:karafka_role)).each do |role|
|
@@ -26,8 +26,8 @@ namespace :karafka do
|
|
26
26
|
processes_details
|
27
27
|
end
|
28
28
|
|
29
|
-
def
|
30
|
-
|
29
|
+
def for_each_karafka_process
|
30
|
+
karafka_processes_details.each_with_index do |process_details, index|
|
31
31
|
within release_path do
|
32
32
|
yield(process_details, index)
|
33
33
|
end
|