compat_resource 12.5.11 → 12.5.12

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
  SHA1:
3
- metadata.gz: 945c69b844a9383c193df2623398c426f0022340
4
- data.tar.gz: 1b6533381e1f85a1f12bd80042059f5ad2ea6ee5
3
+ metadata.gz: 0d9d7d3c88772f90ebde8c0634f2a8ac96d046a7
4
+ data.tar.gz: dc631ea82b7f9ff861d9e40572ca9a7e5a0a8f00
5
5
  SHA512:
6
- metadata.gz: e356b9380f8e99b432ab210d70134e1f6a711ef3b25db04f0998ae4cc83549fdb5b9a38c8fda4c0487a4718bfe26eb1c4a850e46333b3c84021893c8e009d97f
7
- data.tar.gz: e398d09c2e35040aa9eff70979289126a322734157a5bae4b0207980df58e7fb1db5b07a13cca2375893c074a68d2cf195ad20e2bf4567ae28dbbec203ad0948
6
+ metadata.gz: 4dc5c54a98a548aa219facb6b68f97b5b44dc28da7d7c2007a5177dbc4976f2c5dc1eb174f506dfe17ef38f88f1c0b7d1ea8915b400613115761e7ca797f1340
7
+ data.tar.gz: a87f06f630a1c07e3d60c03fb4cd2fb60e90cd931c82e434b06355d9901c980330e985803c8a9862ea212e9f1ce78f5a648c41dcf90553a7178dadf6151cea8a
@@ -1,5 +1,6 @@
1
1
  require 'chef_compat/version'
2
2
  require 'chef_compat/resource'
3
+ require 'chef_compat/property'
3
4
  require 'chef_compat/mixin/properties'
4
5
 
5
6
  module ChefCompat
@@ -435,7 +435,7 @@ super if defined?(::Chef::Property)
435
435
  modified_options.has_key?(:default)
436
436
  options = options.reject { |k,v| k == :name_attribute || k == :name_property || k == :default }
437
437
  end
438
- Property.new(options.merge(modified_options))
438
+ self.class.new(options.merge(modified_options))
439
439
  end
440
440
 
441
441
  #
@@ -0,0 +1,6 @@
1
+ require 'chef_compat/copied_from_chef/chef/property'
2
+
3
+ module ChefCompat
4
+ class Property < ChefCompat::CopiedFromChef::Chef::Property
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  module ChefCompat
2
- VERSION = '12.5.11' if !defined?(VERSION)
2
+ VERSION = '12.5.12' if !defined?(VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compat_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.5.11
4
+ version: 12.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-28 00:00:00.000000000 Z
11
+ date: 2015-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -109,6 +109,7 @@ files:
109
109
  - files/lib/chef_compat/monkeypatches/chef/provider.rb
110
110
  - files/lib/chef_compat/monkeypatches/chef/resource.rb
111
111
  - files/lib/chef_compat/monkeypatches/chef/resource/lwrp_base.rb
112
+ - files/lib/chef_compat/property.rb
112
113
  - files/lib/chef_compat/resource.rb
113
114
  - files/lib/chef_compat/version.rb
114
115
  homepage: http://chef.io