controls 1.7.2 → 1.7.3

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: 85c6ebe72aa595082ef5159f73424c9788206743
4
- data.tar.gz: e129d7a0430b5056bfd435fdfe086f0a0682be15
3
+ metadata.gz: d67e5bddefeaa16c4a2ee50fe022c455c3e43e63
4
+ data.tar.gz: a1fe600177ccee03c9dbbf7453e05feb4565db55
5
5
  SHA512:
6
- metadata.gz: 1822309b48a51e05b3433554505f8285988bd57275791cd781e2d9e16a3dd79c5996876b89cae725654f59abfe3861886314b1221afe8e7c5ab434ee7af44bb6
7
- data.tar.gz: e270e0d91e19d8e9dd61f67ab7557a3b4cd51fe031e974be22df34a25170c82dd1fba3c7d3a653345c972f84372b0ea608afb7ad958118fbc6b8004b4d66b66b
6
+ metadata.gz: 397a2b4672d1ddef044750e299a8e588a367a92a808710193595110bb2edd3dd94aa6a6b2d60d92acad3496a076faba28d71d1b7558be52f026c992ecd1f1422
7
+ data.tar.gz: 11a4d31b47f8763e3b6f57aa9ed2f29498b35a4b560d10f2a9a4f6f36e35883b2cbf3ff8a8028572ce3f2f49ab3b3f46587c3720789f9868529eac93a5c7283a
@@ -1,13 +1,11 @@
1
1
  module Controls
2
2
  # A representation of the ConfigurationFinding resource
3
3
  class ConfigurationFinding < Dish::Plate
4
- coerce :reason, ->(value) { value.strip! }
5
-
6
4
  # Returns the name, state, and reason data for the configuration finding
7
5
  #
8
6
  # "antivirus-installed: state: TRUE reason: Endpoint Security installed"
9
7
  def to_s
10
- "#{name}: state: #{state} reason: #{reason.strip}"
8
+ "#{name}: state: #{state} reason: #{reason}"
11
9
  end
12
10
  end
13
11
  end
@@ -1,4 +1,4 @@
1
1
  module Controls
2
2
  # The version of the Controls gem
3
- VERSION = '1.7.2'
3
+ VERSION = '1.7.3'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: controls
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.2
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erran Carey