knife-update 0.1.1 → 0.1.2

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
- MjI0ZTgyMDY1ODJlMTFhYmQ3Nzc2MzJhMzZlODQyNzVlMWI3YmU5Yw==
4
+ NDBmM2Y0MDhkMWZmNDI1NjdiNTc1NmI4ZmY3YTljMzIyNWM2MTNmNQ==
5
5
  data.tar.gz: !binary |-
6
- MjVmNDIxYzU3N2NlY2MzZjY2YTEyZGNhN2YyNTYzNTlhMzhhZjZjNQ==
6
+ MGM1N2RlN2Y5NzI0OWQ1M2RjZjMzYTFhMDQ0NWU2NjlkNTgyZWNiZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDQwNDcxODU0M2RlZDJjMDE0YjdiYjUxMTk4YjU2NWMwMjU5OTZmOWNhMGJl
10
- MDFmMDU5ZGQwODZlNzMxOTFiMDZlN2E4ZmUxZDYwYzJmZWE5YjQyZGU2YmNi
11
- NTI2YzkwODhiYTMxOTUzODQ3MTgzMDE4OTExYjY0MGM1NzUxNTA=
9
+ ZjYyNTM1NGIyZDI4ODE5ODliMTE2MGYwNzJjMDJmZmIyYWZhNzEyMmQ1NjMx
10
+ Njc1YTdjY2MxZDMwMTI3YTY2NWI2Mjc1YmY1ZjQ0MTMyMjE4MTlkYjY0ZGZh
11
+ YjMwMDdmMjU1OWNiMjY3YTE1MTQxNDIzMTkwY2U2ZWE4N2YyYzk=
12
12
  data.tar.gz: !binary |-
13
- YWI5ZWZmNjc1Nzg5MjU4MGFhMGE0YWIwZmY1NDc3OTY0ODZkMzNkYmI0OTNm
14
- MWQzNzgzNjkxNjk1ZmIxNTcwNThjMTM4M2FiM2IyZDE2NzZmMjYxNDZlNDY3
15
- OTcxMzczY2FmYzc4OGViZTI2ZGY2MjFhZjVhOGY4MTE1YjFiN2Y=
13
+ NGJjZTMzNmZhMDZhMjM0NDRlOTc4MzMwNzJkYmU3MGYwM2FhNGFiMTI4YmJj
14
+ MTU1NzIyZmVkZGVkM2JlY2Y5MWYxYzlkZDY4ZWUwNDAxMmE4OTFiZDRkNmUy
15
+ ODM0MWE2N2YwMjhmN2M5ZDg3NGMxZWViMzQ3YmRlMzU3NzNjZDc=
@@ -81,7 +81,8 @@ class Chef
81
81
  def run
82
82
  list = node_list
83
83
  compatible = recipes(only(list, target_version))
84
- unknown = recipes(except(list, target_version)) - compatible
84
+ unknown = recipes(except(list, target_version))
85
+ compatible.each { |recipe, _| unknown.delete(recipe.to_s) }
85
86
 
86
87
  nodes = list.inject([]) do |memo, (version, nodes)|
87
88
  if version != target_version
@@ -18,7 +18,7 @@
18
18
 
19
19
  module Knife
20
20
  module Update
21
- VERSION = '0.1.1'
21
+ VERSION = '0.1.2'
22
22
  MAJOR, MINOR, TINY = VERSION.split('.')
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-update
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Schmidt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-14 00:00:00.000000000 Z
11
+ date: 2014-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef