spectre-core 1.14.4 → 1.14.6

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: f8470cdbef9dc67f036af360df1d1ff660177ea2ecc9a139b9730cef0a8f5495
4
- data.tar.gz: 5cecca539f615f7a34cac05575f897b3788b4e9f4778a5b4be7111d0de816d5c
3
+ metadata.gz: 87aae75383dacde0c5edd3ad5b9220b377a3bf4c5864789c7c290fda5ec46d99
4
+ data.tar.gz: 7071402cb891a696c05cef503150bbb063f0d7cec0482edf9bfa9f2a180d0d88
5
5
  SHA512:
6
- metadata.gz: 2e43b4db881a0d53877f2a1f2db6389f8475bc469781219e4ee286cc9aa89a7079d12b84d17757f166cf9cc3a7e4ce826eb69a0bdf89691b8ff01fbfb370991b
7
- data.tar.gz: 73be4cdc4745b16a44988e6cd62f5da2316ac7cdbbc273228fb88cfca7fda6e387d2df7efdf290c7d7bed974803a7ccfb60e1dd68d97957f5cef87bf2cf6308b
6
+ metadata.gz: 4049a9d337f258ffc3e4bf44fe1db19d4451ad4d86ff573962fa65a2abb771288e01235a564e19d57884d93618af923ec2920cace0e2d1a488f733f4bd323e08
7
+ data.tar.gz: 2a9d89cc19ffca8ad91615bdcad206fcb9a7276e12d34be1f354b62c119d92c23fe75229c3688646298e1bd77880bbb70e5d11aaee3bababb929c8c16747467e
data/exe/spectre CHANGED
@@ -8,6 +8,7 @@ require 'fileutils'
8
8
  require 'ectoplasm'
9
9
 
10
10
  require_relative '../lib/spectre'
11
+ require_relative '../lib/spectre/reporter'
11
12
 
12
13
  def load_yaml file_path
13
14
  yaml = File.read(file_path)
@@ -14,6 +14,8 @@ module Spectre
14
14
  end
15
15
 
16
16
  class ModuleLogger
17
+ attr_reader :logger
18
+
17
19
  def initialize config, name
18
20
  @name = name
19
21
  @debug = config['debug']
data/lib/spectre/mixin.rb CHANGED
@@ -35,6 +35,9 @@ module Spectre
35
35
  Spectre::Logging.log_debug "running mixin '#{desc}'"
36
36
 
37
37
  params = with || {}
38
+ if params.empty?
39
+ params = {}
40
+ end
38
41
 
39
42
  ctx = MixinContext.new(desc)
40
43
 
data/lib/spectre.rb CHANGED
@@ -2,7 +2,7 @@ module Spectre
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 14
5
- TINY = 4
5
+ TINY = 6
6
6
  end
7
7
 
8
8
  VERSION = [Version::MAJOR, Version::MINOR, Version::TINY].compact * '.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spectre-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.4
4
+ version: 1.14.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Neubauer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-31 00:00:00.000000000 Z
11
+ date: 2024-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ectoplasm