knife-chop 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzJjMDMzOWQ0OWY3YzI5ZjFiNzI3MTc2MDFlNDJkMTNkNDZiNmZiNg==
4
+ ZjU0YWMyYzVhNDQ0MWI1ZDZjZDlkMmQ1YjFmNGNiOWZhZjI2ZTI5OA==
5
5
  data.tar.gz: !binary |-
6
- MDAxNWViMjQ1YjI3NWZhYmVkNjg2YjA2ZDZmZDQ3MzZhYjNlMmI5Zg==
6
+ MGIwZTc5ZTZhZmM5YWQyNTg0YjRkNTU5ODgxNmE0YzRmMTIzOGIyZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjZmYTRmZmYwZTc5OTViODVmMzg0ODJjODZhYmM0ZGUwZmM4YTBmZDU0YzJh
10
- NjYzY2Y2NGVmMGNkMzJiNWMzZWI0OWJhZDY3ZmFkZGExNDY4NmYzZjY0NzQ5
11
- ZDFhZDA3MGMwYzYxYzY2Yjk2ZDU4NzEwOTUxOWUwNGQ0ZDg2ZDY=
9
+ YWExYmY2NWZmYTMwMDgxZGRmOTllNzk0ZTcwMTM2NTdlZGFjYTc2ZDJkZTZi
10
+ N2UzZWM5YmU2MDVlZGYwZjI5NWJiZDg4MjVmMDVmODY3NDM2ZTU2NjY1MGYw
11
+ OTI1Yzk0ODgzZmRjNjY0ZTY3NzcwMWNiNjgyZGQyNTNlZTkxYzU=
12
12
  data.tar.gz: !binary |-
13
- MTZkNTlmNWEyOTc0Y2JhNzE4MzQzYjQ4M2VhNTY3MTQxN2U2Yjc1NGJiYzQz
14
- MWZmMTMyMzE4N2Q5YjJlMDE2YjM4N2I0NjljMGM3MTFlYmM3MDUwMzdmOTg1
15
- ZDUwN2NmY2UwZWEzMGQ3NDFjNWVjMzVkOWVjMDlkMzM4NGQ2Nzg=
13
+ N2NiZmU5ZGRkZWYyZjNhNWQzODk2MTRmOTBjZDlkM2IwOGE0ZTJkYjY4MjRi
14
+ ZDhjMjM4ZmNhNmYyYzBkNTBhMGY5NTVkMDZiMTZiZmZkZmU2MTZkMzMwNmUw
15
+ ZGZjYmM3ODJlOWE0Mzg5MDVjMjU2MDQyZmRjYWYwMWMyMTFjMjM=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- knife-chop (0.3.5)
4
+ knife-chop (0.3.6)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.5
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 == '11.6.2'
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?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-chop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christo De Lange