chef-relevant-tests 1.0.2 → 2.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ae0f0b5aa896feb067c4ceb776265b04cca4624
4
- data.tar.gz: 844f188f9c6ae675b142c5307f02c4e54c1417b1
3
+ metadata.gz: f8bdf27b44a82e0564bf2547767a7a9df8dc8580
4
+ data.tar.gz: 388a9622590dc412051d5abed10ab04bf4874146
5
5
  SHA512:
6
- metadata.gz: a0beb832f7e09bab4bde9e38651fe3253284aa705ad3b20764c76ad527a7a0a25c900ceb00e9ab3d3a6131665cd48197e7190147b24d2dde7d32e040bf8d02b9
7
- data.tar.gz: 4773ddd05742e2fae62c63732a7d699ead300fd0d4a919b99ac07a4f8514f1408f21790144fd92288664dfac17152e4cfc8dd0089f349016abf796fc69d3db15
6
+ metadata.gz: 38781345e1f0fe5ca7bed659f9d02aac5ee04823a557d584b9250464cdf8ffca380c9590c6aa37dd10534f54058ccbbc30171d9557f726c5eb24464d680cdc8b
7
+ data.tar.gz: 51f009cb14ce7c34f40161c7225683b37b04de97ab6c70e4f794683511b625ad3171190fdcbceec3affacd10269c9eca8ef732d94f81fb987847120639c8cbe7
@@ -58,7 +58,8 @@ module ChefRelevantTests
58
58
  #
59
59
  # @return [Array] Cookbooks that have recipes that will be run
60
60
  def expand_run_list(run_list, environment = 'default')
61
- Chef::Config.from_file(Chef::Knife.locate_config_file)
61
+ # Chef 11: Chef::Config.from_file(Chef::Knife.locate_config_file)
62
+ Chef::Config.from_file(Chef::WorkstationConfigLoader.new(nil, Chef::Log).config_location)
62
63
 
63
64
  Chef::RunList.new(*run_list)
64
65
  .expand(environment, 'disk')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-relevant-tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brigade Engineering
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-16 00:00:00.000000000 Z
12
+ date: 2015-01-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: '12'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '0'
27
+ version: '12'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rspec
30
30
  requirement: !ruby/object:Gem::Requirement