controls 1.6.1 → 1.6.2

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: bd84e1340b07a318015b19af3f73a94634ff3c52
4
- data.tar.gz: e6abbd57de98c7f480e346dbc5661b3b4e298158
3
+ metadata.gz: 8b1c93eb63aeddc68b6c3e57e8fcf7ff1dab140e
4
+ data.tar.gz: 0fb1ceed1c6803e3db982e71b6588a8d507d2d43
5
5
  SHA512:
6
- metadata.gz: afb6ec669463f9440b712969519d1c754699e086ed4624cc36b1f81cad098e9122032dcf0cdc943c5c5a1de4973aa53211e464ffefd1113e76981dd566dfab27
7
- data.tar.gz: 64815e5c8c65bf78c9a9f109a1f655442ba71276b6575b72471a27ef862b9eb7cff0229595b79baf756191d44035c7a3775d69f41bbfeab2125a30d5e2bdd7f5
6
+ metadata.gz: c77f122347f6e0055d4ab1c9bd3f9452264ded8070aa3614d0ab129e8abe87e870a853d24f794068786e33b131eb76ad64ee22e90ab9cfe777b4bd695c1394db
7
+ data.tar.gz: 6b486869dc0e58225ab8f7527facdd302630308cbc99b26ab1efe9a20c11cd3131e7dba7c3ac9f01c28fd336e3e4dad5f5c767270ed45c8aba36dc292de5fdf0
@@ -18,6 +18,8 @@ module Controls
18
18
  Controls.const_get(Regexp.last_match[1].split('_').map(&:capitalize).join)
19
19
  when %r(^(?:/\d.\d)?\/(assessment|configuration|guidance|security_control|threat|threat_vector)s?)
20
20
  Controls.const_get(Regexp.last_match[1].split('_').map(&:capitalize).join)
21
+ when /findings$/
22
+ Controls::SecurityControlFinding
21
23
  # [todo] - these asset related endpoints are inconsisteny create a better regex?
22
24
  when %r(^(?:/\d.\d)?/assets/search)
23
25
  Controls::AssetCollection
@@ -1,4 +1,4 @@
1
1
  module Controls
2
2
  # The version of the Controls gem
3
- VERSION = '1.6.1'
3
+ VERSION = '1.6.2'
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.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erran Carey