bosh_cli 1.3071.0 → 1.3072.0

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: 02167241d11f88d86ce7a27f9a6dd6360235c418
4
- data.tar.gz: c61266ad2205b423a08a4e3e4540844511c76165
3
+ metadata.gz: 8d759242d8c973fa4f0e0f6fe8d19bbbc5cf924f
4
+ data.tar.gz: 7cf4ac9d21f7bad08184a2c72ad596b9e5bf57ca
5
5
  SHA512:
6
- metadata.gz: aa0e610c0ce30580181eb9950805151b6b514b7204b49ee75fa3e8999720a1f6a53e8286087afcca1dd18a59ee41e8fccac7b642bdfbb7106515292f12f6220e
7
- data.tar.gz: b78feb35950e953a6be18b4c9ecbb77599385484629f8769300c29f335bb21e12aba06e21c79a7b5bb547f0d4d0219e64d7e14d1065cdbd613f25e0cf223ba03
6
+ metadata.gz: d44597ca3faa4fc11b289373658cfb8b63fd7badf4fb1b1a2e58558b7f57393601b7644b036a053da0369eb11d9244a092184944f39c721bbe639d13656da66d
7
+ data.tar.gz: c9eb98e69b83644e50f9166e4c827d02e9b7ee8fa99ada9026cc341e562ce878823da7a22a718b9dc62e1854db322b6234f7f0856cf256b44cd02f25212f4748
@@ -201,6 +201,10 @@ module Bosh::Cli
201
201
  end
202
202
  end
203
203
 
204
+ def switch_to_release_dir
205
+ Dir.chdir(release_directory)
206
+ end
207
+
204
208
  def check_if_release_dir
205
209
  unless in_release_dir?
206
210
  err("Sorry, your current directory doesn't look like release directory")
@@ -19,6 +19,7 @@ module Bosh::Cli::Command
19
19
  option '--dir RELEASE_DIRECTORY', 'path to release directory'
20
20
 
21
21
  def create(manifest_file = nil)
22
+ switch_to_release_dir
22
23
  check_if_release_dir
23
24
 
24
25
  migrate_to_support_multiple_releases
@@ -13,6 +13,7 @@ module Bosh::Cli::Command
13
13
 
14
14
  def upload(release_file = nil)
15
15
  auth_required
16
+ switch_to_release_dir
16
17
  show_current_state
17
18
 
18
19
  upload_options = {
@@ -17,7 +17,7 @@ module Bosh::Cli
17
17
  # @param [String] release_source Release directory
18
18
  def initialize(manifest_file, artifacts_dir, blobstore, package_matches, release_source)
19
19
  @blobstore = blobstore
20
- @release_source = release_source || Dir.pwd
20
+ @release_source = release_source
21
21
  @manifest_path = File.expand_path(manifest_file, @release_source)
22
22
  @tarball_path = nil
23
23
 
data/lib/cli/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Cli
3
- VERSION = '1.3071.0'
3
+ VERSION = '1.3072.0'
4
4
  end
5
5
  end
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.3071.0
4
+ version: 1.3072.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-09-12 00:00:00.000000000 Z
11
+ date: 2015-09-15 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.3071.0
19
+ version: 1.3072.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.3071.0
26
+ version: 1.3072.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.3071.0
33
+ version: 1.3072.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.3071.0
40
+ version: 1.3072.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cf-uaa-lib
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.3071.0
131
+ version: 1.3072.0
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.3071.0
138
+ version: 1.3072.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: net-ssh
141
141
  requirement: !ruby/object:Gem::Requirement