ey-pro-cli 0.0.6 → 0.0.7

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: 35ac157ca7e020c4ef2216ae82f3ec660f39882b
4
- data.tar.gz: fc820d158a5ff2ef3b8d1128a05b68330f2226b4
3
+ metadata.gz: dd644413ef4c2f60cdf0a211b10d5cea9b3b86ab
4
+ data.tar.gz: 03ae4e96ad72eabc2908a9c1f5d2bf5203037f54
5
5
  SHA512:
6
- metadata.gz: abf177cc22c8411fd9bb0b3a24ab26777a4e547a7b28e847a9a2f611c6806aacdb41b2b5e01a8b59ef6d771a1ff4722a2bfe3ea639685c3dbc457564072c9d15
7
- data.tar.gz: 1361d7c199d3dfee7ebd08054c2c7ebf1750b9fa90a87845360e8641fcd2cc218e5b3e891400a063b2e3de8b600768f5f64ce675bf1c1d93b06638255d4289d4
6
+ metadata.gz: 55cf41152302df906d414da2aa0ab658f3a5224b9b992373eb03aea2f8e513a2c9b3134d222f2177f015a102c1725bb66d278c140703db73370bc69dd39ddb42
7
+ data.tar.gz: 734424cc39d2dfe462b54e38b5769b6eb91c8d28e3fd8f66ff767f40c05e5608143a5eb75773f413834608a4349b4ece339e31c257cb17d0c6cb0f51f3b4e9db
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ey-pro-cli (0.0.4)
4
+ ey-pro-cli (0.0.6)
5
5
  addressable (~> 2.2)
6
6
  cistern (~> 0.11, >= 0.11.1)
7
7
  colorize
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ey-pro-cli
2
2
 
3
- Command line interface for interacting with Engine Yard Pro. This gem is the spiritual successor to the [engineyard](https://github.com/engineyard/engineyard) gem.
3
+ Command line interface for interacting with Engine Yard PRO. This gem is the spiritual successor to the [engineyard](https://github.com/engineyard/engineyard) gem.
4
4
 
5
5
  ### Install
6
6
 
@@ -25,16 +25,16 @@ Delete your Engine Yard API token from the configuration file. Useful for switc
25
25
 
26
26
  #### ey deploy
27
27
 
28
- Deploy your application to Engine Yard Pro.
28
+ Deploy your application to Engine Yard PRO.
29
29
 
30
30
  ```
31
31
  Options:
32
- [--ref=REF] # A git reference to deploy
33
- [--migrate=MIGRATE] # The migration command to run
34
- -e, --environment=ENVIRONMENT # Name of the environment to deploy to
35
- -a, [--account=ACCOUNT] # Name of the account that the environment resides in. If no account is specified, the app will deploy to the first environment that meets the criteria, in the accounts you have access to.
36
- [--app=APP] # Application name to deploy. If :account is not specified, this will be the first app that matches the criteria in the accounts you have access to.
37
- [--stream=STREAM] # Stream deploy output to console
38
- [--no-migrate=NO-MIGRATE] # Do not run migration command
39
- [--no-update-check=NO-UPDATE-CHECK] # Do not check for updates
32
+ [--ref=REF] # A git reference to deploy.
33
+ [--migrate=MIGRATE] # The migration command to run.
34
+ -e, --environment=ENVIRONMENT # Name of the environment to deploy to.
35
+ -c, [--account=ACCOUNT] # Name of the account that the environment resides in. If no account is specified, the app will deploy to the first environment that meets the criteria, in the accounts you have access to.
36
+ -a, --app=APP # Application name to deploy. If :account is not specified, this will be the first app that matches the criteria in the accounts you have access to.
37
+ [--stream=STREAM] # Stream deploy output to console.
38
+ [--no-migrate=NO-MIGRATE] # Do not run migration command.
39
+ [--no-update-check=NO-UPDATE-CHECK] # Do not check for updates.
40
40
  ```
@@ -19,7 +19,7 @@ class EyProCli < Thor
19
19
  end
20
20
  end
21
21
 
22
- desc "login", "Retrieve API token from Engine Yard Pro"
22
+ desc "login", "Retrieve API token from Engine Yard PRO"
23
23
 
24
24
  def login
25
25
  email = ENV["EMAIL"] || ask("Email:")
@@ -43,7 +43,7 @@ class EyProCli < Thor
43
43
  abort "Invalid email or password".yellow
44
44
  end
45
45
 
46
- desc "logout", "Remove your Engine Yard Pro API token"
46
+ desc "logout", "Remove your Engine Yard PRO API token"
47
47
 
48
48
  def logout
49
49
  if core_yaml[core_url]
@@ -55,15 +55,15 @@ class EyProCli < Thor
55
55
  end
56
56
  end
57
57
 
58
- desc "deploy [OPTIONS]", "Deploy your EY Pro application"
59
- option :environment, desc: "Name of the environment to deploy to", required: true, aliases: "-e"
60
- option :account, desc: "Name or ID of the account that the environment resides in. If no account is specified, the app will deploy to the first environment that meets the criteria, in the accounts you have access to.", aliases: "-a"
61
- option :ref, desc: "A git reference to deploy"
62
- option :migrate, desc: "The migration command to run"
63
- option :app, desc: "Application name or ID to deploy. If :account is not specified, this will be the first app that matches the criteria in the accounts you have access to.", required: true
64
- option :stream, desc: "Stream deploy output to console"
65
- option "no-migrate", desc: "Do not run migration command"
66
- option "no-update-check", desc: "Do not check for updates"
58
+ desc "deploy [OPTIONS]", "Deploy your EY PRO application."
59
+ option :environment, desc: "Name of the environment to deploy to.", required: true, aliases: "-e"
60
+ option :account, desc: "Name or ID of the account that the environment resides in. If no account is specified, the app will deploy to the first environment that meets the criteria, in the accounts you have access to.", aliases: "-c"
61
+ option :ref, desc: "A git reference to deploy."
62
+ option :migrate, desc: "The migration command to run."
63
+ option :app, desc: "Application name or ID to deploy. If :account is not specified, this will be the first app that matches the criteria in the accounts you have access to.", required: true, aliases: "-a"
64
+ option :stream, desc: "Stream deploy output to console."
65
+ option "no-migrate", desc: "Do not run migration command."
66
+ option "no-update-check", desc: "Do not check for updates."
67
67
 
68
68
  def deploy
69
69
  check_for_updates unless options["no-update-check"]
@@ -114,10 +114,10 @@ class EyProCli < Thor
114
114
  return
115
115
  end
116
116
  current_version = gem.current_version
117
- if Gem::Version.new(EyProCliVersion::VERSION) < Gem::Version.new(current_version)
117
+ if Gem::Version.new(EyPROCliVersion::VERSION) < Gem::Version.new(current_version)
118
118
  print <<-EOF
119
119
  ey-pro-cli gem outdated, consider updating!
120
- Installed version: #{EyProCliVersion::VERSION}
120
+ Installed version: #{EyPROCliVersion::VERSION}
121
121
  Current Version: #{current_version}
122
122
  EOF
123
123
  .yellow
@@ -1,3 +1,3 @@
1
1
  module EyProCliVersion
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ey-pro-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
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: 2015-07-27 00:00:00.000000000 Z
11
+ date: 2015-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -623,7 +623,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
623
623
  version: '0'
624
624
  requirements: []
625
625
  rubyforge_project:
626
- rubygems_version: 2.4.5
626
+ rubygems_version: 2.2.2
627
627
  signing_key:
628
628
  specification_version: 4
629
629
  summary: Command-line deployment for Engine Yard pro