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 +4 -4
- data/README.md +1 -1
- data/aptible-cli.gemspec +1 -2
- data/lib/aptible/cli/agent.rb +7 -0
- data/lib/aptible/cli/subcommands/config.rb +1 -1
- data/lib/aptible/cli/subcommands/db.rb +0 -1
- data/lib/aptible/cli/subcommands/logs.rb +2 -2
- data/lib/aptible/cli/version.rb +1 -1
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e4b7d7fd421431ee3428ff98291f62ac59d28ad
|
4
|
+
data.tar.gz: ee781afa83076960d5f49187e32febd21f7eb6df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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)
|
data/aptible-cli.gemspec
CHANGED
@@ -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.
|
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'
|
data/lib/aptible/cli/agent.rb
CHANGED
@@ -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
|
@@ -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?"
|
data/lib/aptible/cli/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
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
|