aptible-cli 0.11.1 → 0.11.2

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: c42a7a8ab65f7e7818b73f0e84c2b6bca1346eab
4
- data.tar.gz: bc17a8345a7e44528ee857e6ec15b79d42226066
3
+ metadata.gz: 98fe860f7b66036c58baecc20b47e05f7e90c8d5
4
+ data.tar.gz: c55625c8927c3c629756a71980c55199bbaaad36
5
5
  SHA512:
6
- metadata.gz: 4490c9a5f1d3fcd9eac19f718e5e1e5b51972952df98287597418f4f1c78d22487cffe06d801a34677e893c55c7c2a4ce626b0309add81475abb740e804024e7
7
- data.tar.gz: 50e312a8537bd4ad49c16bca5ae40c4f4c703138877593f38923a8b8901d959e937c26080bce1cb1d6efd6b9f72afacfae2ca3e2b9372ba29e4266434ff57873
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 :disk_size, type: :numeric
166
+ option :size, type: :numeric
167
167
  define_method 'db:restart' do |handle|
168
168
  database = ensure_database(options.merge(db: handle))
169
169
 
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module CLI
3
- VERSION = '0.11.1'.freeze
3
+ VERSION = '0.11.2'.freeze
4
4
  end
5
5
  end
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.1
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-07-06 00:00:00.000000000 Z
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.4.5.1
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))