ey_info 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/ey_info.rb +3 -3
  2. data/lib/version.rb +1 -1
  3. metadata +5 -5
data/lib/ey_info.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'yaml'
2
2
  require 'rubygems'
3
- gem 'engineyard', '1.3.17'
3
+ gem 'engineyard', '1.4.17'
4
4
  require 'engineyard'
5
5
  require 'optparse'
6
6
  require 'erb'
@@ -141,12 +141,12 @@ module EyInfo
141
141
  raise "~/.eyrc file does not exist, need to run 'engineyard environments' at least once and log in"
142
142
  end
143
143
  @api = EY::API.new(@api_token)
144
- @envs = @api.apps.map{ |a| a.environments }
144
+ @envs = @api.environments.to_a
145
145
  end
146
146
 
147
147
  def all_hosts
148
148
  hosts = {}
149
- @envs.flatten.map{|x| x.name}.sort.uniq.each do |env_name, index|
149
+ @envs.map{|x| x.name}.sort.uniq.each do |env_name, index|
150
150
  env_name = env_name.to_sym
151
151
  arr = []
152
152
  app_count = 0
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module EyInfo
2
- Version = "0.1.4"
2
+ Version = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ey_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-03 00:00:00.000000000 -08:00
12
+ date: 2011-12-29 00:00:00.000000000 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: engineyard
17
- requirement: &70148229557400 !ruby/object:Gem::Requirement
17
+ requirement: &70310108981480 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - =
21
21
  - !ruby/object:Gem::Version
22
- version: 1.3.17
22
+ version: 1.4.17
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70148229557400
25
+ version_requirements: *70310108981480
26
26
  description: Ey Info - Easy way to setup ssh keys for ey cloud servers and also to
27
27
  dynamically pull server information from your ey servers and just it within capistrano.
28
28
  email: