ey-pro-cli 0.0.9 → 0.0.10

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: acf342d707f2bef9f0a62d3d9959b7ca0af1971d
4
- data.tar.gz: 83fb71e8d8242a5c78aa13d27bac3e45bee649c2
3
+ metadata.gz: bdcb5d58754c356a886b61cfb4c76b206e2e2c37
4
+ data.tar.gz: c46cd11202f0ece0718cf2c7e7a758c8bdf8e311
5
5
  SHA512:
6
- metadata.gz: aba8b7a6881dd68087640013230e50780565bb3bed1abf398037e498449175b05221fc6ab4f14ea540f0c5c87bc33c72cd08602d2204978b25033cc5fbac88d8
7
- data.tar.gz: 31a1ca488d31b1628d9e6ad1d5e7ce5ce059fccd190bd9627746f9573c7a54f8e6f70d5fd20109f45741a2ad84ce7ba8ea77954a4d0134765f00b3c1f3510ee1
6
+ metadata.gz: 7506c5287842faaf5bf52709799224c430879653302f78b77ea6898bca5011a28e7e30c18db31b88502f2a7ff77350bab2169b4945f5e909f2183ae69eec1283
7
+ data.tar.gz: 71780323f597b33b4576fe2e09c0af720119cbf6184203bb075ae8ad69a959a4821fa6f5d7169394f7d4d1def975078856f4a2d7faea24f62dac6f739105e32d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ey-pro-cli (0.0.8)
4
+ ey-pro-cli (0.0.9)
5
5
  addressable (~> 2.2)
6
6
  cistern (~> 0.11, >= 0.11.1)
7
7
  colorize
@@ -12,6 +12,8 @@ require File.expand_path(File.dirname(__FILE__) + '/ey_pro_cli/version')
12
12
  require File.expand_path(File.dirname(__FILE__) + '/vendor/core/ey-core')
13
13
 
14
14
  class EyProCli < Thor
15
+ class InvalidEnvironment < RuntimeError; end
16
+
15
17
  class << self
16
18
  attr_accessor :core_file
17
19
 
@@ -78,7 +80,9 @@ class EyProCli < Thor
78
80
 
79
81
  def deploy
80
82
  check_for_updates unless options["no-update-check"]
81
- environment = core_environment_for(options)
83
+ unless environment = core_environment_for(options)
84
+ abort "Unable to locate environment #{options[:environment]} in #{options[:account]}".red
85
+ end
82
86
  app = core_application_for(options)
83
87
 
84
88
  deploy_options = {}
@@ -1,3 +1,3 @@
1
1
  module EyProCliVersion
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ey-pro-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Engine Yard Cloud Team