bosh_cli 1.3010.0 → 1.3012.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: 6b81be98dcc4056cd24ea6c75c5f6bc298245f67
4
- data.tar.gz: 9e87e054fda444c361ec586be3ddf9fe766640a1
3
+ metadata.gz: 9d8e9b016f8e8bea3a760ede66df7164e2edac84
4
+ data.tar.gz: ce22030236f7481ae06b940bb385df125dce8439
5
5
  SHA512:
6
- metadata.gz: 17729dc580ee8d4700013955736f7adbe3bab63f6ad028f73aeb174ff07f527d10cb5e27d61cffbc59c9c5480314e9c3090e908fa3ecc41781c4a192751427cf
7
- data.tar.gz: bce3ecce4a3f72fdcc8e28a394351773ed5cb81b438a8d5c1c9f6ba80728eae4c0cfa9f237d100b09271a40abb6827ecd7021686afad16ad2905f34a5c243fa4
6
+ metadata.gz: 1adb034e650f5f2612abebb904eb691e265df15f29cddd38a85cb4c77375eae4833dfdaf4d5ca8a2b8ff405d11f33148bb0b3106ce7a81bab4ca9b7e6615daab
7
+ data.tar.gz: 5cac79f0f09f948164371f71fbeae55bd93f30506ff74085c1bcccdbb87e9e2cc61ce17311824035ee5d0fac9f05eb7176f060a3a7c216575d0e71dca75620fd
@@ -57,7 +57,7 @@ module Bosh::Cli::Command
57
57
 
58
58
  Bosh::Cli::Versions::MultiReleaseSupport.new(@work_dir, default_release_name, self).migrate
59
59
  end
60
-
60
+
61
61
  def create_from_spec(version)
62
62
  force = options[:force]
63
63
  name = options[:name]
@@ -34,8 +34,6 @@ module Bosh::Cli::Command
34
34
  raise Bosh::Cli::ReleaseVersionError.new('Release version already exists')
35
35
  end
36
36
 
37
- check_if_blob_manager_is_dirty
38
-
39
37
  @progress_renderer = Bosh::Cli::InteractiveProgressRenderer.new
40
38
 
41
39
  if !options[:dry_run] then
@@ -76,6 +74,8 @@ module Bosh::Cli::Command
76
74
  end
77
75
  end
78
76
 
77
+ private
78
+
79
79
  def upload_package_and_job_blobs(manifest, tarball)
80
80
  manifest['packages'].each do |package|
81
81
  upload_to_blobstore(package, 'packages', tarball.package_tarball_path(package['name']))
@@ -100,20 +100,9 @@ module Bosh::Cli::Command
100
100
  tarball
101
101
  end
102
102
 
103
- def check_if_blob_manager_is_dirty
104
- nl
105
- blob_manager.sync
106
- if blob_manager.dirty?
107
- blob_manager.print_status
108
- err("Please use '--force' or upload new blobs")
109
- end
110
- end
111
-
112
103
  def next_final_version
113
- latest_final_version = Bosh::Cli::Versions::ReleaseVersionsIndex.new(@release_index).latest_version
114
- latest_final_version ||= Bosh::Common::Version::ReleaseVersion.parse('0')
115
- latest_final_version = latest_final_version.increment_release
116
- latest_final_version.to_s
104
+ latest_final_version = Bosh::Cli::Versions::ReleaseVersionsIndex.new(@release_index).latest_version || Bosh::Common::Version::ReleaseVersion.parse('0')
105
+ latest_final_version.increment_release.to_s
117
106
  end
118
107
 
119
108
  def upload_to_blobstore(artifact, plural_type, artifact_path)
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Cli
3
- VERSION = '1.3010.0'
3
+ VERSION = '1.3012.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.3010.0
4
+ version: 1.3012.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-07-06 00:00:00.000000000 Z
11
+ date: 2015-07-07 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.3010.0
19
+ version: 1.3012.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.3010.0
26
+ version: 1.3012.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.3010.0
33
+ version: 1.3012.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.3010.0
40
+ version: 1.3012.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.3010.0
131
+ version: 1.3012.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.3010.0
138
+ version: 1.3012.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: net-ssh
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -306,7 +306,7 @@ dependencies:
306
306
  version: '0'
307
307
  description: |-
308
308
  BOSH CLI
309
- 1dcc8d
309
+ 8d43aa
310
310
  email: support@cloudfoundry.com
311
311
  executables:
312
312
  - bosh