Update the poise and postgresql cookbooks

This commit is contained in:
Greg Karékinian
2019-04-03 15:28:06 +02:00
parent 448bffe34e
commit 374d6bc975
12 changed files with 26 additions and 14 deletions

View File

@@ -1,5 +1,10 @@
# Changelog
## v2.8.2
* Remove support for Chef before 12.14.
* Fixed compatibility with Chef 14.3.
## v2.8.1
* Fix a missing `require` when using `subclass_providers!` on Chef 12.3.

View File

@@ -14,6 +14,7 @@
# limitations under the License.
#
require 'poise'
require 'poise/error'
require 'poise/utils'

View File

@@ -217,8 +217,8 @@ module Poise
def included(klass)
super
klass.extend(ClassMethods)
klass.const_get(:HIDDEN_IVARS) << :@subcontexts
klass.const_get(:FORBIDDEN_IVARS) << :@subcontexts
klass.const_set(:HIDDEN_VARS, klass.const_get(:HIDDEN_IVARS) + [:@subcontexts])
klass.const_set(:FORBIDDEN_IVARS, klass.const_get(:FORBIDDEN_IVARS) + [:@subcontexts])
end
end

View File

@@ -16,5 +16,5 @@
module Poise
VERSION = '2.8.1'
VERSION = '2.8.2'
end

File diff suppressed because one or more lines are too long