compat_resource 12.5.1 → 12.5.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fcce8db32aa622c553d333c32abb03bb745e610
|
4
|
+
data.tar.gz: 7d914bf530d8c11ad1c66ff0e18e7843bbea90e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f9c9b21fe8ea1f68a787ee0446a6476c64ffd658c3c913b30617ee631332311811467e7c57b6a95b9dfcd28547a85ef580301e9e390c77249ff2b5ddf738678
|
7
|
+
data.tar.gz: f63416e1c08514dc75a72823b6e0d657e36a4a3a2286f64551a8e45c06aa59fbf247fa5518d328545619b5b37ce30c69ba284756588a55cbd07e0559a18f6622
|
data/Rakefile
CHANGED
@@ -14,7 +14,7 @@ task default: :spec
|
|
14
14
|
# "rake update" updates the copied_from_chef files so we can grab bugfixes or new features
|
15
15
|
#
|
16
16
|
CHEF_FILES = %w(chef/constants chef/delayed_evaluator chef/property
|
17
|
-
chef/resource chef/resource/action_class chef/provider
|
17
|
+
chef/resource chef/resource/action_class chef/provider
|
18
18
|
chef/mixin/params_validate)
|
19
19
|
SPEC_FILES = %w(unit/property_spec.rb unit/property/state_spec.rb unit/property/validation_spec.rb
|
20
20
|
integration/recipes/resource_action_spec.rb
|
@@ -53,8 +53,7 @@ KEEP_INCLUDES = {
|
|
53
53
|
'chef/provider' => [],
|
54
54
|
}
|
55
55
|
KEEP_CLASSES = {
|
56
|
-
'chef/provider' => %w(Chef::Provider)
|
57
|
-
'chef/dsl/recipe' => %w(Chef::Recipe::DSL::FullDSL),
|
56
|
+
'chef/provider' => %w(Chef::Provider)
|
58
57
|
}
|
59
58
|
SKIP_LINES = {
|
60
59
|
'chef/dsl/recipe' => [ /include Chef::Mixin::PowershellOut/ ]
|
@@ -1,7 +1,18 @@
|
|
1
1
|
require 'chef/provider'
|
2
|
+
require 'chef/provider/lwrp_base'
|
2
3
|
|
3
4
|
class Chef::Provider
|
4
5
|
if !defined?(InlineResources)
|
5
6
|
InlineResources = Chef::Provider::LWRPBase::InlineResources
|
6
7
|
end
|
8
|
+
module InlineResources
|
9
|
+
require 'chef/dsl/recipe'
|
10
|
+
require 'chef/dsl/platform_introspection'
|
11
|
+
require 'chef/dsl/data_query'
|
12
|
+
require 'chef/dsl/include_recipe'
|
13
|
+
include Chef::DSL::Recipe
|
14
|
+
include Chef::DSL::PlatformIntrospection
|
15
|
+
include Chef::DSL::DataQuery
|
16
|
+
include Chef::DSL::IncludeRecipe
|
17
|
+
end
|
7
18
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compat_resource
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.5.
|
4
|
+
version: 12.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Keiser
|
@@ -81,7 +81,6 @@ files:
|
|
81
81
|
- files/lib/chef_compat/copied_from_chef.rb
|
82
82
|
- files/lib/chef_compat/copied_from_chef/chef/constants.rb
|
83
83
|
- files/lib/chef_compat/copied_from_chef/chef/delayed_evaluator.rb
|
84
|
-
- files/lib/chef_compat/copied_from_chef/chef/dsl/recipe.rb
|
85
84
|
- files/lib/chef_compat/copied_from_chef/chef/mixin/params_validate.rb
|
86
85
|
- files/lib/chef_compat/copied_from_chef/chef/property.rb
|
87
86
|
- files/lib/chef_compat/copied_from_chef/chef/provider.rb
|