engineyard 2.3.2 → 2.3.3

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTU2MzMxOTcxZDc3MTE1YmNiMWI5MDVmOTU1ZTgyMWVhZjNkZjIxYw==
4
+ MDhjMDU3YzJhYWUzMzRkNjQyZWJlZGJiMjQ1OGQ2MDdmYTZjZDBmNw==
5
5
  data.tar.gz: !binary |-
6
- NGRhNjZkNWE1MDE4ODE5YzAyMTYwZjc1MDYzZjU1YTRmOWZjYzExMg==
6
+ NmE3MWNiYjFlYzk1NDE3MmNlY2UxZjFkNTNkNGNlMDNhYTMzYzIzYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OWViMDkxZDkxZTFhNzUyNzJlNDc1OTk3ZDQ5OGNmM2ZkMjIyNDY0YWNkZWFm
10
- ZjIyMmNhNzMwZTU0MTM3MjE0Y2ZkZmMzMjdmMDg1MTYwYjkyOThmYWQwNDgx
11
- OTRjNjVjOTk5ZDJjZmM5OTkyZTlmN2RkNmQ5NGY5YWU5ZGI0YjU=
9
+ MWE0NjMyMmMzMDAzMzMzYzFjNTdiM2VkNDE2NmYzZWY3NjJmY2I3YzU0YWNi
10
+ NWYyMGRhYzVlNThhODY1YWIwZjU2NmI0MGVmNDFlZmFlNDY2YWM5ZGE0ZGI1
11
+ MDI1MzM1YTAyZDcxN2MyYjM1MDg3ODZhNzVmNjVkNDI5ZTQ5ZmQ=
12
12
  data.tar.gz: !binary |-
13
- YmFhNjU1MzhhZDNmNjM4ODFjZTg0NDgzZGE0MDA2MDlhM2UzNDM5ZTkyYWJk
14
- YWM1NzFmOWFhNWJmMjFlZThmNGIxMzVlZmYwNGIwZWI3ZWIzNTM2NzcyM2I0
15
- NTNiYTAxNTY5MjdhZWI3NWM3ODE5MzMzMmZiN2M5MGRmN2Q4NjU=
13
+ YmU5ZDc5YzhiNWMzNTU2YWM3MTMyM2JjNDQ4M2ViYmIwNjU1ODE5YzlkZmYz
14
+ MTU1ZmRlYTgyOWNhNDAxYzI5YTIyYjc5MTJhOGNiYWIwNDhjMzAyOTNiN2Y2
15
+ ZWY1Mjk2Y2VmZmEzOTVhY2FkOTJjYmIzMWY2NWZhZDdjNjE3MjI=
data/README.md CHANGED
@@ -12,6 +12,22 @@
12
12
 
13
13
  The Engine Yard command line utility.
14
14
 
15
+ ### Installing on Ruby 1.8.7 or 1.9.2
16
+
17
+ **NOTE: This has *no effect* on your Engine Yard environment ruby version. This
18
+ is only regarding the local development Ruby version for running this gem. An
19
+ environment can continue using a chosen Ruby version regardless of this change.**
20
+
21
+ The `2.x` series of `engineyard` gem will be the last major version to
22
+ support Ruby 1.8.7 and 1.9.2. If you cannot run Ruby `>= 1.9.3` in your
23
+ development environment, you may continue using engineyard `~> 2.3.2`. This
24
+ version will continue to exist but will not receive regular updates or features.
25
+
26
+ *As of version 3.0.0, `engineyard` gem will require Ruby 1.9.3. Your application
27
+ may still use `1.8.7` while running engineyard in `1.9.3` via `rvm` or similar.
28
+ Deployment will not be affected. This does not affect your Engine Yard Cloud
29
+ environment. More details will be available when 3.0.0 is released.*
30
+
15
31
  ### Install
16
32
 
17
33
  Install engineyard like any other ruby gem:
@@ -83,7 +83,7 @@ module EY
83
83
 
84
84
  def default_environment
85
85
  d = environments.find do |name, env|
86
- env["default"]
86
+ env && env["default"]
87
87
  end
88
88
  d && d.first
89
89
  end
@@ -115,7 +115,7 @@ Authentication Failed. Things to fix:
115
115
  level = debug.downcase.to_sym
116
116
  end
117
117
  end
118
- {:paranoid => false, :verbose => level}
118
+ {:paranoid => false, :verbose => level, :keepalive => true, :keepalive_interval => 60}
119
119
  end
120
120
 
121
121
  def ssh(cmd, hostname, username, out, err)
@@ -1,4 +1,4 @@
1
1
  module EY
2
- VERSION = '2.3.2'
3
- ENGINEYARD_SERVERSIDE_VERSION = ENV['ENGINEYARD_SERVERSIDE_VERSION'] || '2.3.7'
2
+ VERSION = '2.3.3'
3
+ ENGINEYARD_SERVERSIDE_VERSION = ENV['ENGINEYARD_SERVERSIDE_VERSION'] || '2.3.9'
4
4
  end
@@ -19,6 +19,11 @@ describe EY::Config do
19
19
  File.open('ey.yml', "w") {|f| f << "this isn't a hash" }
20
20
  expect { EY::Config.new }.to raise_error(RuntimeError, "ey.yml load error: Expected a Hash but a String was returned.")
21
21
  end
22
+
23
+ it "doesnt crash on nil environment" do
24
+ write_yaml({"environments" => {"production" => nil}}, 'ey.yml')
25
+ EY::Config.new.default_environment.should be_nil
26
+ end
22
27
  end
23
28
 
24
29
  describe "endpoint" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineyard
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Engine Yard Cloud Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-04 00:00:00.000000000 Z
11
+ date: 2014-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: '2.2'
89
+ version: '2.7'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: '2.2'
96
+ version: '2.7'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: launchy
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -126,16 +126,16 @@ dependencies:
126
126
  name: rake
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ! '>='
129
+ - - ~>
130
130
  - !ruby/object:Gem::Version
131
- version: '0'
131
+ version: 10.0.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ! '>='
136
+ - - ~>
137
137
  - !ruby/object:Gem::Version
138
- version: '0'
138
+ version: 10.0.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rdoc
141
141
  requirement: !ruby/object:Gem::Requirement