spectre-core 1.14.5 → 1.15.0
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/exe/spectre +4 -2
- data/lib/spectre/assertion.rb +3 -1
- data/lib/spectre/logging.rb +2 -0
- data/lib/spectre/resources.rb +4 -0
- data/lib/spectre.rb +2 -2
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb690f31c5559e18bbea95c9d29855d13b78bc954b0144b2949e72e5c1205175
|
4
|
+
data.tar.gz: d731d7c93e66b62efa04b6c5a8f9f87bcbcb7ad13a61e2c6e3e1b4e0d53bc01e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 799f33f7d995f8d0b5958da5ba60ec811da6b3d6cb68da21476e34c67f9a31a9bc8f53cbdb5fcf77b004aa0ea14c22c6e9def5a3acdc3136ff17ac0be7076d69
|
7
|
+
data.tar.gz: 8057de7ceb886b3f4d04ce54386f619e21684c8759320b9e762ed4e99357ca0930726211c487b26679219812a44457f18a31e7fdf7eb363aa103f4213213773a
|
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)
|
@@ -45,7 +46,7 @@ DEFAULT_CONFIG = {
|
|
45
46
|
'env_patterns' => ['./environments/**/*.env.yml'],
|
46
47
|
'env_partial_patterns' => ['./environments/**/*.env.secret.yml'],
|
47
48
|
'resource_paths' => ['../common/resources', './resources'],
|
48
|
-
'
|
49
|
+
'default_modules' => [
|
49
50
|
'spectre/helpers',
|
50
51
|
'spectre/reporter/console',
|
51
52
|
'spectre/logging/console',
|
@@ -324,8 +325,9 @@ if ['list', 'run'].include? action
|
|
324
325
|
|
325
326
|
# Load Modules
|
326
327
|
|
327
|
-
cfg['
|
328
|
+
cfg['default_modules']
|
328
329
|
.concat(cfg['include'])
|
330
|
+
.concat(cfg['modules'])
|
329
331
|
.select { |mod| !cfg['exclude'].include? mod }
|
330
332
|
.each do |mod|
|
331
333
|
begin
|
data/lib/spectre/assertion.rb
CHANGED
@@ -269,6 +269,8 @@ module Spectre
|
|
269
269
|
end
|
270
270
|
end
|
271
271
|
|
272
|
+
alias assert expect
|
273
|
+
|
272
274
|
def observe desc = nil
|
273
275
|
prefix = 'observing'
|
274
276
|
prefix += " '#{desc}'" if desc
|
@@ -303,6 +305,6 @@ module Spectre
|
|
303
305
|
@@debug = config['debug']
|
304
306
|
end
|
305
307
|
|
306
|
-
Spectre.delegate :expect, :observe, :success?, :fail_with, to: self
|
308
|
+
Spectre.delegate :expect, :assert, :observe, :success?, :fail_with, to: self
|
307
309
|
end
|
308
310
|
end
|
data/lib/spectre/logging.rb
CHANGED
data/lib/spectre/resources.rb
CHANGED
data/lib/spectre.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spectre-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Neubauer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ectoplasm
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jsonpath
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '0'
|
41
41
|
description: A DSL and command line tool to describe and run automated tests
|
42
42
|
email:
|
43
43
|
- christian.neubauer@ionos.com
|
@@ -72,7 +72,7 @@ metadata:
|
|
72
72
|
homepage_uri: https://github.com/ionos-spectre/spectre-core
|
73
73
|
source_code_uri: https://github.com/ionos-spectre/spectre-core
|
74
74
|
changelog_uri: https://github.com/ionos-spectre/spectre-core/blob/master/CHANGELOG.md
|
75
|
-
post_install_message:
|
75
|
+
post_install_message:
|
76
76
|
rdoc_options: []
|
77
77
|
require_paths:
|
78
78
|
- lib
|
@@ -87,8 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
|
-
rubygems_version: 3.3.
|
91
|
-
signing_key:
|
90
|
+
rubygems_version: 3.3.27
|
91
|
+
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: Describe and run automated tests
|
94
94
|
test_files: []
|