allure-rspec 2.13.8.2 → 2.13.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/allure_rspec/tag_parser.rb +25 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64cc3df4ca4fdc6d5c03ffd350636fdd1adf1d1b380adf676729baedf20cd558
|
4
|
+
data.tar.gz: 43b4c2d026e4d73ccd13c3389ac1094d9f87aa49b7daf3861b7b6c5ee275dacd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bf9d35a82ab0f3a36d1bd134489ac02e16660d584fd42e076966de82e8ae7e6c2546024eee7851155f6cd06fc02ef4db93b828dcac2abd27b4dc9c2124175dc
|
7
|
+
data.tar.gz: ffcc4cc2d5907e2fee29de24648f39fdc8414b3f816a7ce0eb27a21786f241e60d4345b29f2f29a2d1a7f5213756dba948776d938d638528ae1f8cdae86dde5f
|
@@ -7,9 +7,9 @@ module AllureRspec
|
|
7
7
|
# @param [Hash] metadata
|
8
8
|
# @return [Array<Allure::Label>]
|
9
9
|
def tag_labels(metadata)
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
metadata.reject { |k| RSPEC_IGNORED_METADATA.include?(k) }.map do |k, v|
|
11
|
+
allure?(k) ? Allure::ResultUtils.tag_label(v) : Allure::ResultUtils.tag_label(k.to_s)
|
12
|
+
end
|
13
13
|
end
|
14
14
|
|
15
15
|
# Get tms links
|
@@ -46,6 +46,28 @@ module AllureRspec
|
|
46
46
|
|
47
47
|
private
|
48
48
|
|
49
|
+
RSPEC_IGNORED_METADATA = %i[
|
50
|
+
absolute_file_path
|
51
|
+
block
|
52
|
+
described_class
|
53
|
+
description
|
54
|
+
description_args
|
55
|
+
example_group
|
56
|
+
execution_result
|
57
|
+
file_path
|
58
|
+
full_description
|
59
|
+
last_run_status
|
60
|
+
line_number
|
61
|
+
location
|
62
|
+
rerun_file_path
|
63
|
+
retry
|
64
|
+
retry_attempts
|
65
|
+
retry_exceptions
|
66
|
+
scoped_id
|
67
|
+
shared_group_inclusion_backtrace
|
68
|
+
type
|
69
|
+
].freeze
|
70
|
+
|
49
71
|
# @param [Hash] metadata
|
50
72
|
# @param [Symbol] type
|
51
73
|
# @return [Array<Allure::Link>]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allure-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.13.8.
|
4
|
+
version: 2.13.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrejs Cunskis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: allure-ruby-commons
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.13.8.
|
19
|
+
version: 2.13.8.3
|
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: 2.13.8.
|
26
|
+
version: 2.13.8.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|