cem_spec_helper 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cem_spec_helper/version.rb +1 -1
- data/lib/cem_spec_helper.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f18ce9f10f515f2a84c977178e98ef38a444c9a72cbe05036808d5ac53db1b6
|
4
|
+
data.tar.gz: 45720d872b865f5d1e57862189289d293248c99979fe9c95832a0d13097bde47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09ea52a0243123420df655eecf35c672852973c2e418557da9bcd07436d26ce052fe75b3d80becb48b7766768756fede357b372ee83a51384b9fc73bcda6e78c'
|
7
|
+
data.tar.gz: 2248d49379d4bbfd97839c10c4aa01f681552cc03452096daa3730d1d94f02e840ca42567fae677d3175bdeb8249ac81700f218e8bfe5fbbfd4b5f1e759c1f84
|
data/lib/cem_spec_helper.rb
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'json'
|
4
|
+
|
3
5
|
# This module is meant to be included in the spec_helper.rb file.
|
4
6
|
# It is not meant to be used directly.
|
5
7
|
module CemSpecHelper
|
6
|
-
MODULE_NAME = File.
|
8
|
+
MODULE_NAME = JSON.parse(File.read('metadata.json'))['name'].split('puppetlabs-').last
|
7
9
|
|
8
10
|
# Makes it so the CemSpecHelper module has to be included in the spec_helper.rb file.
|
9
11
|
def self.included(base)
|
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.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- abide-team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-27 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
|
@@ -50,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
50
50
|
- !ruby/object:Gem::Version
|
51
51
|
version: '0'
|
52
52
|
requirements: []
|
53
|
-
rubygems_version: 3.4.
|
53
|
+
rubygems_version: 3.4.22
|
54
54
|
signing_key:
|
55
55
|
specification_version: 4
|
56
56
|
summary: Spec helper for testing the CEM modules
|