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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42370af0a33d317fd7293e7eedf1a98a39de7d46
4
- data.tar.gz: 64dc376c09e9e03128bfd0aa0d928d32649f987d
3
+ metadata.gz: ce8e5d85695d1007dd59db4960a71c0158a96221
4
+ data.tar.gz: c6a576fb58636df2cca3a1ecd59802296d8bcaf5
5
5
  SHA512:
6
- metadata.gz: e5a44b422ffc26bd9459667574ae8378caebbb6963699c55a743793678ff198724896bb48aca1ceead5ef9d7bd605c4a30ba85c643c5139d7501da2178b27e0d
7
- data.tar.gz: 3223018e939cd5b507d3bed6c86ceee0b40468f443b8f7215f9c751bed39a7da3903ea894a272aa21194308d5ce6acc5d0a19abcfea8c28f8572e4565bb507f7
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.each_environment do |name, apps|
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 each_environment
13
- sorted_environmens = environments.keys.sort
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
@@ -1,3 +1,3 @@
1
1
  module Escobar
2
- VERSION = "0.1.5".freeze
2
+ VERSION = "0.1.6".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: escobar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corey Donohoe