escobar 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/escobar +1 -1
- data/lib/escobar/heroku/pipeline.rb +7 -0
- data/lib/escobar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42370af0a33d317fd7293e7eedf1a98a39de7d46
|
4
|
+
data.tar.gz: 64dc376c09e9e03128bfd0aa0d928d32649f987d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5a44b422ffc26bd9459667574ae8378caebbb6963699c55a743793678ff198724896bb48aca1ceead5ef9d7bd605c4a30ba85c643c5139d7501da2178b27e0d
|
7
|
+
data.tar.gz: 3223018e939cd5b507d3bed6c86ceee0b40468f443b8f7215f9c751bed39a7da3903ea894a272aa21194308d5ce6acc5d0a19abcfea8c28f8572e4565bb507f7
|
data/exe/escobar
CHANGED
@@ -9,7 +9,7 @@ client.app_names.sort.each do |application_name|
|
|
9
9
|
puts "#{application_name}:"
|
10
10
|
|
11
11
|
pipeline = client[application_name]
|
12
|
-
pipeline.
|
12
|
+
pipeline.each_environment do |name, apps|
|
13
13
|
names = apps.map { |app| app.app.name }
|
14
14
|
puts " #{name}: #{names.join(',')}"
|
15
15
|
end
|
@@ -9,6 +9,13 @@ module Escobar
|
|
9
9
|
@client = client
|
10
10
|
end
|
11
11
|
|
12
|
+
def each_environment
|
13
|
+
sorted_environmens = environments.keys.sort
|
14
|
+
sorted_environmens.each do |environment|
|
15
|
+
yield(environment, environments[environment])
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
12
19
|
def environments
|
13
20
|
@environments ||= couplings.each_with_object({}) do |part, sum|
|
14
21
|
sum[part.name] ||= []
|
data/lib/escobar/version.rb
CHANGED