aptible-cli 0.11.1 → 0.11.2
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 +4 -4
- data/lib/aptible/cli/subcommands/db.rb +1 -1
- data/lib/aptible/cli/version.rb +1 -1
- data/spec/mock/ssh +1 -0
- metadata +3 -3
- data/spec/mock/ssh +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98fe860f7b66036c58baecc20b47e05f7e90c8d5
|
4
|
+
data.tar.gz: c55625c8927c3c629756a71980c55199bbaaad36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f14bdbb7b46e25cbf583fbf9d88b26e15be35906721e22bdfc7b88797d4557b663d7742b66e176af774c8ae6ebb41da9a32fefd0dba3f39d4e6b6cd4fe83fee
|
7
|
+
data.tar.gz: a2ca7347b1f1f2af27899b34f68f5ac7d52b978399ef636d3228c2caeca5ff909abed05b19c27bef889519378711d6e0b0ff27d81428a20f087fd9246698f977
|
@@ -163,7 +163,7 @@ module Aptible
|
|
163
163
|
'Restart a database'
|
164
164
|
option :environment
|
165
165
|
option :container_size, type: :numeric
|
166
|
-
option :
|
166
|
+
option :size, type: :numeric
|
167
167
|
define_method 'db:restart' do |handle|
|
168
168
|
database = ensure_database(options.merge(db: handle))
|
169
169
|
|
data/lib/aptible/cli/version.rb
CHANGED
data/spec/mock/ssh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ssh_mock.rb
|
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.11.
|
4
|
+
version: 0.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Macreery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aptible-resource
|
@@ -306,7 +306,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
306
306
|
version: '0'
|
307
307
|
requirements: []
|
308
308
|
rubyforge_project:
|
309
|
-
rubygems_version: 2.
|
309
|
+
rubygems_version: 2.5.1
|
310
310
|
signing_key:
|
311
311
|
specification_version: 4
|
312
312
|
summary: Command-line interface for Aptible services
|
data/spec/mock/ssh
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'json'
|
3
|
-
|
4
|
-
raise 'Something went wrong!' if ENV['SSH_MOCK_FAIL_TUNNEL']
|
5
|
-
|
6
|
-
# Log arguments to SSH_MOCK_OUTFILE
|
7
|
-
File.open(ENV.fetch('SSH_MOCK_OUTFILE'), 'w') do |f|
|
8
|
-
f.write({
|
9
|
-
'pid' => $PID,
|
10
|
-
'argc' => ARGV.size,
|
11
|
-
'argv' => ARGV,
|
12
|
-
'env' => ENV.to_hash
|
13
|
-
}.to_json)
|
14
|
-
end
|
15
|
-
|
16
|
-
puts 'TUNNEL READY'
|
17
|
-
|
18
|
-
exit Integer(ENV.fetch('SSH_MOCK_EXITCODE', 0))
|