cem_spec_helper 0.3.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: 6f18ce9f10f515f2a84c977178e98ef38a444c9a72cbe05036808d5ac53db1b6
4
- data.tar.gz: 45720d872b865f5d1e57862189289d293248c99979fe9c95832a0d13097bde47
3
+ metadata.gz: bb296d4198901c45d59c2c9282e23ca226a07cf7266b8e480cd26ac1557141ea
4
+ data.tar.gz: bebd2b2860f83aad3517f3aad9e59b97535e1efdec829cdda12ef14782197eb4
5
5
  SHA512:
6
- metadata.gz: '09ea52a0243123420df655eecf35c672852973c2e418557da9bcd07436d26ce052fe75b3d80becb48b7766768756fede357b372ee83a51384b9fc73bcda6e78c'
7
- data.tar.gz: 2248d49379d4bbfd97839c10c4aa01f681552cc03452096daa3730d1d94f02e840ca42567fae677d3175bdeb8249ac81700f218e8bfe5fbbfd4b5f1e759c1f84
6
+ metadata.gz: 6bd830713bbb81f414a8f6344884aa46e861b98d7ec9b511e7539aa6df3680f942d6221f0a62608528fb4f10672598973fdca9a4435d41581a3d3d6387d5b73a
7
+ data.tar.gz: 465cdbd26ef1f669f171f30a7b659b33daccba70fa50752056059213f5a856bf28ea4757032dbe66eb421e0d5f2e6f4721a5f1b46d0132b4725ef2d3baef6a40
@@ -7,7 +7,7 @@ module CemSpecHelper
7
7
  # The root directory for mapping data fixtures
8
8
  MAP_ROOT = File.join(Dir.pwd, 'spec', 'fixtures', 'data', 'mapping').freeze
9
9
  # The root directory for synthetic mapping data
10
- SYNTHETIC_MAP_ROOT = File.join(Dir.pwd, 'spec', 'fixtures', 'unit', 'puppet_x', 'puppetlabs', 'cem', 'data_processor', 'mapping').freeze
10
+ SYNTHETIC_MAP_ROOT = File.join(Dir.pwd, 'spec', 'fixtures', 'unit', 'puppet_x', 'puppetlabs', 'sce', 'data_processor', 'mapping').freeze
11
11
  # The key prefix for the mappings
12
12
  MAPPINGS_KEY = "#{CemSpecHelper::MODULE_NAME}::mappings"
13
13
  # The top key types for each framework.
@@ -29,9 +29,9 @@ module CemSpecHelper
29
29
  # The major versions of Windows resource data fixtures
30
30
  WINDOWS_MAJVER = [10, 2016, 2019, 2022].freeze
31
31
  # The root directory for synthetic resource data fixtures
32
- SYNTHETIC_DATA_ROOT = File.join(Dir.pwd, 'spec', 'fixtures', 'unit', 'puppet_x', 'puppetlabs', 'cem', 'data_processor')
32
+ SYNTHETIC_DATA_ROOT = File.join(Dir.pwd, 'spec', 'fixtures', 'unit', 'puppet_x', 'puppetlabs', 'sce', 'data_processor')
33
33
  # The special controls that are not mapped to a framework
34
- SPECIAL_CONTROLS = ['cem_options', 'cem_protected'].freeze
34
+ SPECIAL_CONTROLS = ['sce_options', 'sce_protected'].freeze
35
35
  # The key prefix for the resources
36
36
  RESOURCES_KEY = "#{CemSpecHelper::MODULE_NAME}::resources"
37
37
 
@@ -237,7 +237,7 @@ module CemSpecHelper
237
237
  end
238
238
 
239
239
  # @return [Array<String>] An array of control names implemented by the resource
240
- # @param include_special [Boolean] Whether or not to include special controls (cem_options, cem_protected)
240
+ # @param include_special [Boolean] Whether or not to include special controls (sce_options, sce_protected)
241
241
  def controls(include_special: true)
242
242
  ctrls = @no_params ? @control_data : @control_data.keys
243
243
  return ctrls if include_special
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CemSpecHelper
4
- VERSION = '0.3.0'
4
+ VERSION = '0.4.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cem_spec_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - abide-team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-27 00:00:00.000000000 Z
11
+ date: 2024-09-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides helper methods, classes, modules, etc. for RSpec testing the
14
14
  CEM modules
@@ -43,14 +43,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 2.7.0
46
+ version: 2.6.0
47
47
  required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - ">="
50
50
  - !ruby/object:Gem::Version
51
51
  version: '0'
52
52
  requirements: []
53
- rubygems_version: 3.4.22
53
+ rubygems_version: 3.5.18
54
54
  signing_key:
55
55
  specification_version: 4
56
56
  summary: Spec helper for testing the CEM modules