poise 2.2.1 → 2.2.2

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: 07fe35f3e4e7b7f5761c1c1225a0dccd578d3a78
4
- data.tar.gz: d0b820b837c47bedf72a1cb095e9249d4a415fb3
3
+ metadata.gz: ce32a02691e577d78fdb616e77459374be22c38e
4
+ data.tar.gz: ec4202a5df8a244c184703d2988230d354880ce4
5
5
  SHA512:
6
- metadata.gz: 73711a21746f13d0bcbfd2042596fc2829c28a8e089608368839b632b5bf19306843fed59162764f18fa624cf84d485c8ee43522f9eb42d97bf8c7b58ecfdb91
7
- data.tar.gz: e937e4a3c327f7be9395fd6497b0d1f2f0fc9af3094242858db89ad85cdd1afa6094e7328e0b543e6615321417a827805368582f4c274cd3023dd519dbc03c2a
6
+ metadata.gz: 10fe7f8a415002492e2b6f93b91712eedb809ba839b86a51d882b7c486f82e046a9ab5a3a0d3351f8b5033149dabf5ef37235f1c0991889cba00f61a559d3f07
7
+ data.tar.gz: 63401d09fd30969b8fe2415a45ac5061972191bdcf2366ea943b71604345567f5e53df3106e75dad2b455e61833eff6a28f343d436bdcdd12bd18b4b924e4ed6
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.2.2
4
+
5
+ * Fix 2.2.1 for older versions of Chef.
6
+
3
7
  ## v2.2.1
4
8
 
5
9
  * Fixed delayed notifications inside `notifying_block`.
@@ -64,7 +64,7 @@ module Poise
64
64
  end
65
65
  if @default_action
66
66
  @default_action
67
- elsif respond_to?(:superclass) && superclass != Chef::Resource && superclass.respond_to?(:default_action) && Array(superclass.default_action) != %i{nothing}
67
+ elsif respond_to?(:superclass) && superclass != Chef::Resource && superclass.respond_to?(:default_action) && superclass.default_action && Array(superclass.default_action) != %i{nothing}
68
68
  superclass.default_action
69
69
  elsif first_non_nothing = actions.find {|action| action != :nothing }
70
70
  [first_non_nothing]
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Poise
19
- VERSION = '2.2.1'
19
+ VERSION = '2.2.2'
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poise
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noah Kantrowitz