aptible-cli 0.6.2 → 0.6.3

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: 82497046ef055642ef5009c32253a6ffdf7dfd5b
4
- data.tar.gz: 791ede35111988aaf40ce86ff1ff7ebcf476a7a0
3
+ metadata.gz: 1e4b7d7fd421431ee3428ff98291f62ac59d28ad
4
+ data.tar.gz: ee781afa83076960d5f49187e32febd21f7eb6df
5
5
  SHA512:
6
- metadata.gz: 090af05a44a38f86a746086df06a4c2d2531076752d8b819bcf9cfd9ef19f4bad03e4aa934ef93148d72e721b2f2cabade69184a817828300eaea39cc0e048be
7
- data.tar.gz: 4ce62bac547f46a64d00b44d52f051205aaeb4cd40d5637d285a24bce278e1802083f00ce22343cc281a947fc7e30a225a74d32e6e1d1ff500cf1b685baf70dd
6
+ metadata.gz: 95906771505a7eaedc6b27427690d4513bba654b1b5dea5daceae8c73444ae3871aa96b71ea0d38ffd531e3c7511feaf5a79f4888e4adc6f39a60541a5812cdc
7
+ data.tar.gz: 702d3c33e3fba74fa1cef779532a041d61d58f0b947e2583d7a45ad77fc765544040767a283e6ce5d751ec4a68225e241d1fd2ef5ffb5a2cd08e1800d8e70d90
data/README.md CHANGED
@@ -67,6 +67,6 @@ Commands:
67
67
 
68
68
  MIT License, see [LICENSE](LICENSE.md) for details.
69
69
 
70
- Copyright (c) 2015 [Aptible](https://www.aptible.com) and contributors.
70
+ Copyright (c) 2016 [Aptible](https://www.aptible.com) and contributors.
71
71
 
72
72
  [<img src="https://s.gravatar.com/avatar/f7790b867ae619ae0496460aa28c5861?s=60" style="border-radius: 50%;" alt="@fancyremarker" />](https://github.com/fancyremarker)
@@ -20,8 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.test_files = spec.files.grep(%r{spec/})
21
21
  spec.require_paths = ['lib']
22
22
 
23
- spec.add_dependency 'aptible-api', '>= 0.7.3'
24
- spec.add_dependency 'aptible-resource', '>= 0.3.0'
23
+ spec.add_dependency 'aptible-api', '>= 0.9.5'
25
24
  spec.add_dependency 'thor', '>= 0.19.0'
26
25
  spec.add_dependency 'git'
27
26
  spec.add_dependency 'term-ansicolor'
@@ -62,6 +62,13 @@ module Aptible
62
62
  save_token(token.access_token)
63
63
  puts "Token written to #{token_file}"
64
64
  end
65
+
66
+ private
67
+
68
+ def deprecated(msg)
69
+ say "DEPRECATION NOTICE: #{msg}"
70
+ say 'Please contact support@aptible.com with any questions.'
71
+ end
65
72
  end
66
73
  end
67
74
  end
@@ -49,7 +49,7 @@ module Aptible
49
49
  desc 'config:unset', 'Alias for config:rm'
50
50
  app_options
51
51
  define_method 'config:unset' do |*args|
52
- send('config:add', *args)
52
+ send('config:rm', *args)
53
53
  end
54
54
 
55
55
  private
@@ -89,7 +89,6 @@ module Aptible
89
89
  define_method 'db:deprovision' do |handle|
90
90
  database = ensure_database(options.merge(db: handle))
91
91
  say "Deprovisioning #{database.handle}..."
92
- database.update!(status: 'deprovisioned')
93
92
  database.create_operation!(type: 'deprovision')
94
93
  end
95
94
  end
@@ -9,11 +9,11 @@ module Aptible
9
9
  include Helpers::Operation
10
10
  include Helpers::App
11
11
 
12
- desc 'logs', 'Follows logs from a running app'
12
+ desc 'logs', 'Follows logs from a running app - DEPRECATED'
13
13
  app_options
14
14
  def logs
15
15
  app = ensure_app(options)
16
-
16
+ deprecated('This command is deprecated on Aptible v2 stacks.')
17
17
  unless app.status == 'provisioned' && app.services.any?
18
18
  fail Thor::Error, 'Unable to retrieve logs. ' \
19
19
  "Have you deployed #{app.handle} yet?"
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module CLI
3
- VERSION = '0.6.2'
3
+ VERSION = '0.6.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptible-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-29 00:00:00.000000000 Z
11
+ date: 2016-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-api
@@ -16,28 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.7.3
19
+ version: 0.9.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.7.3
27
- - !ruby/object:Gem::Dependency
28
- name: aptible-resource
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 0.3.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: 0.3.0
26
+ version: 0.9.5
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: thor
43
29
  requirement: !ruby/object:Gem::Requirement