escobar 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/escobar +2 -1
- data/lib/escobar/heroku/pipeline.rb +2 -5
- 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: ce8e5d85695d1007dd59db4960a71c0158a96221
|
4
|
+
data.tar.gz: c6a576fb58636df2cca3a1ecd59802296d8bcaf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c3c32e791117f9062813e6d2c499540a29accf2f840f934cc417c47cb6f3f934f23893feee76278193379d9c81d4ac61933f7d5a4ecf95e0dc321a574faf0eb
|
7
|
+
data.tar.gz: 3e8e4683e2dd4e7a70cc628768eeabf9b0995114dc7e1c86564ea4c4c37d3dc4dd4dc085ebacf4ce1a574c95b0c7de11adb90b51393fb93f4311bcdd3443d985
|
data/exe/escobar
CHANGED
@@ -9,7 +9,8 @@ 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.sorted_environments.each do |name|
|
13
|
+
apps = pipeline.environments[name]
|
13
14
|
names = apps.map { |app| app.app.name }
|
14
15
|
puts " #{name}: #{names.join(',')}"
|
15
16
|
end
|
@@ -9,11 +9,8 @@ module Escobar
|
|
9
9
|
@client = client
|
10
10
|
end
|
11
11
|
|
12
|
-
def
|
13
|
-
|
14
|
-
sorted_environmens.each do |environment|
|
15
|
-
yield(environment, environments[environment])
|
16
|
-
end
|
12
|
+
def sorted_environments
|
13
|
+
environments.keys.sort
|
17
14
|
end
|
18
15
|
|
19
16
|
def environments
|
data/lib/escobar/version.rb
CHANGED