quixoten-puppetdb-terminus 4.2.0 → 4.2.1

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: 93220f6328754655b285f6d872685c35ea0ff0cf
4
- data.tar.gz: 2f6c23b5d200ebe83820bf8ec508f802a87dbccb
3
+ metadata.gz: 7aa4bc6cb2627bca304815366215d1dff7427961
4
+ data.tar.gz: c70adb93ab5eb78e16d36c58d8c9462411128e5f
5
5
  SHA512:
6
- metadata.gz: bfff5198cfe35a6d3a8265dc268baf0ce60f9b65f52a76eca95efd2a8682324c1c7832484ebe546f58cc86ba9cf2cd72931be945abf18ecfb4951a5dd457ce16
7
- data.tar.gz: fef9494f3a6ed3c6868f09c3b12c1301dc17422c8b7c2d42d0b1c397ca8bf897ea855daef3d39a601c3c318d34b48be0a90d67e4760223a4bc5dee7ca3ea37fd
6
+ metadata.gz: 6169226782d237dc91613298c5805997c4d2c577e0ec9ed170e42fdac63e3373f0e917059f860c64c57cddea5c8c9dae664e63edcbda8be0677ad6b2cadd8c1e
7
+ data.tar.gz: fd3ad247f16fc48649762e9343b1ae8654f277ae1edb7929aa38f496a5e1a3b4a7db2214dac96d244bea78db7bd5b50c1283bf64b82113c06a7ee8c295b0add6
@@ -38,7 +38,9 @@ Puppet::Reports.register_report(:puppetdb) do
38
38
  end
39
39
 
40
40
  resources = build_resources_list
41
- is_noop = defined?(noop) ? noop : resources.any? { |rs| has_noop_event?(rs) } && resources.none? { |rs| has_enforcement_event?(rs) }
41
+ is_noop = (defined?(noop) && (not noop.nil?)) ?
42
+ noop :
43
+ resources.any? { |rs| has_noop_event?(rs) } && resources.none? { |rs| has_enforcement_event?(rs) }
42
44
 
43
45
  defaulted_catalog_uuid = defined?(catalog_uuid) ? catalog_uuid : transaction_uuid
44
46
  defaulted_code_id = defined?(code_id) ? code_id : nil
@@ -1,6 +1,6 @@
1
1
  module PuppetDB
2
2
  module Terminus
3
- VERSION = "4.2.0"
3
+ VERSION = "4.2.1"
4
4
  UPSTREAM_VERSION = VERSION.split(".")[0..2].join(".")
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quixoten-puppetdb-terminus
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devin Christensen