test_bench-bootstrap 2.1.0 → 2.1.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 +4 -4
- data/lib/test_bench/bootstrap.rb +6 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04226ba70367c28b48c2c29d0691ffd31949b08017a342fb8f32c6e841a2d44c
|
|
4
|
+
data.tar.gz: 40d1d80234fa5b2fefb05e26335aa4ce85483e2995696fa319e563db32e1d4f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0fb1e8d99ad10a5085610837ae9ef987ded7d517692cd1d6ab854e5a6ff2c7f502ee39f5d6965fc7f036550bf07a8d0968d3836ee89ad2abab5b34ef2a9c892
|
|
7
|
+
data.tar.gz: 737d057fe58581cd3aa7f6b23872df01e26594f75eec2b306b9b47220c390a93d43019f4e1c30eceeb021e5be03780624c640f27bd65ec60ebdb84a68c6420f8
|
data/lib/test_bench/bootstrap.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
module TestBench
|
|
2
2
|
module Bootstrap
|
|
3
|
-
def self.activate
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
receiver.extend(Fixture)
|
|
3
|
+
def self.activate
|
|
4
|
+
Object.include(Fixture)
|
|
7
5
|
end
|
|
8
6
|
|
|
9
7
|
module Fixture
|
|
@@ -169,10 +167,13 @@ module TestBench
|
|
|
169
167
|
|
|
170
168
|
unless text.nil?
|
|
171
169
|
sgr_codes = Array(sgr_codes)
|
|
170
|
+
|
|
172
171
|
unless sgr_code.nil?
|
|
173
172
|
sgr_codes << sgr_code
|
|
174
173
|
end
|
|
175
174
|
|
|
175
|
+
sgr_codes.compact!
|
|
176
|
+
|
|
176
177
|
unless sgr_codes.empty?
|
|
177
178
|
sgr_codes.map! do |sgr_code|
|
|
178
179
|
sgr_code.to_s(16)
|
|
@@ -243,7 +244,7 @@ module TestBench
|
|
|
243
244
|
file_pattern = File.join(file_pattern, '**/*.rb')
|
|
244
245
|
end
|
|
245
246
|
|
|
246
|
-
files = Dir
|
|
247
|
+
files = Dir.glob(file_pattern).reject do |file|
|
|
247
248
|
File.basename(file).match?(exclude_file_pattern)
|
|
248
249
|
end
|
|
249
250
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: test_bench-bootstrap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nathan Ladd
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-08-
|
|
11
|
+
date: 2020-08-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description:
|
|
14
14
|
email: nathanladd+github@gmail.com
|