knife-chop 0.3.5 → 0.3.6
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 +8 -8
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/chef/knife/chop/cookbook_upload.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjU0YWMyYzVhNDQ0MWI1ZDZjZDlkMmQ1YjFmNGNiOWZhZjI2ZTI5OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGIwZTc5ZTZhZmM5YWQyNTg0YjRkNTU5ODgxNmE0YzRmMTIzOGIyZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWExYmY2NWZmYTMwMDgxZGRmOTllNzk0ZTcwMTM2NTdlZGFjYTc2ZDJkZTZi
|
10
|
+
N2UzZWM5YmU2MDVlZGYwZjI5NWJiZDg4MjVmMDVmODY3NDM2ZTU2NjY1MGYw
|
11
|
+
OTI1Yzk0ODgzZmRjNjY0ZTY3NzcwMWNiNjgyZGQyNTNlZTkxYzU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
N2NiZmU5ZGRkZWYyZjNhNWQzODk2MTRmOTBjZDlkM2IwOGE0ZTJkYjY4MjRi
|
14
|
+
ZDhjMjM4ZmNhNmYyYzBkNTBhMGY5NTVkMDZiMTZiZmZkZmU2MTZkMzMwNmUw
|
15
|
+
ZGZjYmM3ODJlOWE0Mzg5MDVjMjU2MDQyZmRjYWYwMWMyMTFjMjM=
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.6
|
@@ -34,7 +34,7 @@ end
|
|
34
34
|
|
35
35
|
class ::Chef::Knife::CookbookUpload
|
36
36
|
def run
|
37
|
-
raise StandardError.new("I was crafted from Chef::Knife::VERSION == '11.6.2'. Please verify that #{self.class.name}.run is still relevant in your version '#{Chef::VERSION}'!") unless Chef::VERSION
|
37
|
+
raise StandardError.new("I was crafted from Chef::Knife::VERSION == '11.6.2'. Please verify that #{self.class.name}.run is still relevant in your version '#{Chef::VERSION}'!") unless Chef::VERSION.match(%r/^11\.6\.2/)
|
38
38
|
# Sanity check before we load anything from the server
|
39
39
|
unless config[:all]
|
40
40
|
if @name_args.empty?
|
@@ -99,6 +99,7 @@ class ::Chef::Knife::CookbookUpload
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
+
# BEGIN changes DLDInternet
|
102
103
|
upload_skips = @name_args.length - @cookbooks_to_upload.length
|
103
104
|
|
104
105
|
if upload_failures == 0
|
@@ -120,6 +121,7 @@ class ::Chef::Knife::CookbookUpload
|
|
120
121
|
ui.error "Failed to upload #{upload_failures} #{'cookbook'.plural(upload_failures)}."
|
121
122
|
exit 1
|
122
123
|
end
|
124
|
+
# END Changes DLDInternet
|
123
125
|
end
|
124
126
|
|
125
127
|
unless version_constraints_to_update.empty?
|