bosh_cli 1.2852.0 → 1.2855.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bosh +10 -3
- data/lib/cli.rb +2 -1
- data/lib/cli/blob_manager.rb +1 -1
- data/lib/cli/public_stemcells.rb +2 -1
- data/lib/cli/runner.rb +2 -2
- data/lib/cli/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c49d9be0f9b34b33ae95e758fcd976016cd23524
|
4
|
+
data.tar.gz: 3e3f278f81d52db86eb3e988dc9cf9f454d50a69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bcc2c04101a5a44b66cded477588d8154136c9a42de0378d2ceec2b4c24e5e3e4b5d8d8ac8ca00554592c82cc27184a4115cc7f133dcbee26f558ce1385f7f1
|
7
|
+
data.tar.gz: 83fcc0ea7550a36cd2e721ea19af5ad40e7095b652853261da5f8da799f42128bf3447199642c1305955f38a2bc418d7cb13e0a48acdc152b7c504a017b7d776
|
data/bin/bosh
CHANGED
@@ -1,10 +1,17 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "cli"
|
2
|
+
require 'benchmark'
|
3
|
+
require_cli_time = Benchmark.realtime { require "cli" }
|
4
4
|
|
5
5
|
begin
|
6
|
+
runner = Bosh::Cli::Runner.new(ARGV.dup)
|
7
|
+
|
8
|
+
load_threshold = 5
|
9
|
+
if require_cli_time > load_threshold
|
10
|
+
warning sprintf("Loading the cli took %.1f seconds, consider cleaning your gem environment", require_cli_time)
|
11
|
+
end
|
12
|
+
|
6
13
|
Thread.abort_on_exception = true
|
7
|
-
|
14
|
+
runner.run
|
8
15
|
rescue Errno::EPIPE
|
9
16
|
puts("pipe closed, exiting...")
|
10
17
|
exit(0)
|
data/lib/cli.rb
CHANGED
data/lib/cli/blob_manager.rb
CHANGED
data/lib/cli/public_stemcells.rb
CHANGED
data/lib/cli/runner.rb
CHANGED
@@ -26,13 +26,13 @@ module Bosh::Cli
|
|
26
26
|
|
27
27
|
Config.colorize = true
|
28
28
|
Config.output ||= STDOUT
|
29
|
+
|
30
|
+
parse_global_options
|
29
31
|
end
|
30
32
|
|
31
33
|
# Find and run CLI command
|
32
34
|
# @return [void]
|
33
35
|
def run
|
34
|
-
parse_global_options
|
35
|
-
|
36
36
|
Config.interactive = !@options[:non_interactive]
|
37
37
|
Config.poll_interval = @options[:poll_interval]
|
38
38
|
|
data/lib/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2855.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VMware
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bosh_common
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.2855.0
|
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: 1.
|
26
|
+
version: 1.2855.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bosh-template
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.2855.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.2855.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: json_pure
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.2855.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
124
|
+
version: 1.2855.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: net-ssh
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -194,7 +194,7 @@ dependencies:
|
|
194
194
|
version: 0.5.4
|
195
195
|
description: |-
|
196
196
|
BOSH CLI
|
197
|
-
|
197
|
+
697a97
|
198
198
|
email: support@cloudfoundry.com
|
199
199
|
executables:
|
200
200
|
- bosh
|