chefspec 9.3.0 → 9.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chefspec/solo_runner.rb +1 -1
- data/lib/chefspec/version.rb +1 -1
- metadata +3 -5
- data/lib/chefspec/extensions/.DS_Store +0 -0
- data/lib/chefspec/extensions/chef/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef97b147dacaeb64bafc2b4825cfdf18eb7e88a898d82231d2aa4924ff6ccf83
|
4
|
+
data.tar.gz: a53dd7fe6e2062efb147f40c364e81022e550cb1a93145a95b8dbb71a677c25e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cceb0d5a03b5960e344570d3db7677adbc4b35c4febf8fae0a6e08f223ecd8b4e102ea212f2afb0b959d9555d3409654a1f5da6c654743c06c1fe9d3739879f
|
7
|
+
data.tar.gz: 635a5a3217295693c973fae336b9516ea4ca5cf0b3f5530366332cb165c3a7bfeeca740296ff1de0477477d2cfa66fae96f9f10cccaf06c8530353f8c98a5fb5
|
data/lib/chefspec/solo_runner.rb
CHANGED
@@ -208,7 +208,7 @@ module ChefSpec
|
|
208
208
|
#
|
209
209
|
def find_resource(type, name, action = nil)
|
210
210
|
resource_collection.all_resources.reverse_each.find do |resource|
|
211
|
-
resource.declared_type == type.to_sym && (name === resource.
|
211
|
+
resource.declared_type == type.to_sym && (name === resource.name || name === resource.identity) && (action.nil? || resource.performed_action?(action))
|
212
212
|
end
|
213
213
|
end
|
214
214
|
|
data/lib/chefspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chefspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.3.
|
4
|
+
version: 9.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Crump
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-08-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chef
|
@@ -105,8 +105,6 @@ files:
|
|
105
105
|
- lib/chefspec/errors.rb
|
106
106
|
- lib/chefspec/expect_exception.rb
|
107
107
|
- lib/chefspec/extensions.rb
|
108
|
-
- lib/chefspec/extensions/.DS_Store
|
109
|
-
- lib/chefspec/extensions/chef/.DS_Store
|
110
108
|
- lib/chefspec/extensions/chef/client.rb
|
111
109
|
- lib/chefspec/extensions/chef/conditional.rb
|
112
110
|
- lib/chefspec/extensions/chef/cookbook/gem_installer.rb
|
@@ -216,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
214
|
- !ruby/object:Gem::Version
|
217
215
|
version: '0'
|
218
216
|
requirements: []
|
219
|
-
rubygems_version: 3.2.
|
217
|
+
rubygems_version: 3.2.22
|
220
218
|
signing_key:
|
221
219
|
specification_version: 4
|
222
220
|
summary: Write RSpec examples and generate coverage reports for Chef recipes!
|
Binary file
|
Binary file
|