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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 925cb2abc56b376354e60cc27bc9e4539d5841e2d78ecc617dd287052f9340eb
4
- data.tar.gz: 0534af872e3c3d8feb88564ccb66d976ac23c368f8e2aa85e37d7fbe3429c6ba
3
+ metadata.gz: ef97b147dacaeb64bafc2b4825cfdf18eb7e88a898d82231d2aa4924ff6ccf83
4
+ data.tar.gz: a53dd7fe6e2062efb147f40c364e81022e550cb1a93145a95b8dbb71a677c25e
5
5
  SHA512:
6
- metadata.gz: 89d4e0d603e9ee1c162b68836fe711e3040e31b7d950aebb25212df1f08d2381f573011665b4a8b5346881f2bf6cf72d19f2d0034fcf8d3f46f6a2373436f411
7
- data.tar.gz: b9811de2bdba005fa11fb6f3649651310aa9748dd9f91340ab44a65c52120fe7305152b0a41a6706ebff2421b20d3f1fcb2bd55890b27b7324fe3fdcd3286e2b
6
+ metadata.gz: 6cceb0d5a03b5960e344570d3db7677adbc4b35c4febf8fae0a6e08f223ecd8b4e102ea212f2afb0b959d9555d3409654a1f5da6c654743c06c1fe9d3739879f
7
+ data.tar.gz: 635a5a3217295693c973fae336b9516ea4ca5cf0b3f5530366332cb165c3a7bfeeca740296ff1de0477477d2cfa66fae96f9f10cccaf06c8530353f8c98a5fb5
@@ -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.identity || name === resource.name) && (action.nil? || resource.performed_action?(action))
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
 
@@ -1,3 +1,3 @@
1
1
  module ChefSpec
2
- VERSION = "9.3.0".freeze
2
+ VERSION = "9.3.1".freeze
3
3
  end
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.0
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-05-04 00:00:00.000000000 Z
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.15
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