allure-rspec 2.17.0 → 2.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -4
- data/lib/allure_rspec/formatter.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7c21e789e71fdd7eb259f45f6d3ff464c703c920145db58635097115b8f6c2e
|
4
|
+
data.tar.gz: 1caaf99dd6991bf6d6804fb12b7de12771e90513a3a89e8db2a9a647bfaa5773
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd499fd9ca2c764c76fafe386f51542a12dbfc7e040df43052df65c531ddc5b64fae42592f15c67940a06afd2e82b094d226577fddb4cbe62639f8f8b8c39d9f
|
7
|
+
data.tar.gz: d9dc3811ab13356dccb5ce0c77800a644926a41946e22bec19870f407ba7a8695899a57e98147c964154e352906e0dde1110a7b247c878d717104cfed69439ea
|
data/README.md
CHANGED
@@ -64,7 +64,7 @@ module AllureRspec
|
|
64
64
|
# @param [RSpec::Core::Notifications::GroupNotification] example_group_notification
|
65
65
|
# @return [void]
|
66
66
|
def example_group_started(example_group_notification)
|
67
|
-
description = example_group_notification.group.description.
|
67
|
+
description = example_group_notification.group.description.then do |desc|
|
68
68
|
desc.empty? ? "Anonymous" : desc
|
69
69
|
end
|
70
70
|
lifecycle.start_test_container(Allure::TestResultContainer.new(name: description))
|
@@ -119,7 +119,7 @@ module AllureRspec
|
|
119
119
|
# @param [RSpec::Core::Example::ExecutionResult] result
|
120
120
|
# @return [Proc]
|
121
121
|
def update_test_proc(result)
|
122
|
-
Allure::ResultUtils.status_details(result.exception).
|
122
|
+
Allure::ResultUtils.status_details(result.exception).then do |status_detail|
|
123
123
|
proc do |test_case|
|
124
124
|
test_case.stage = Allure::Stage::FINISHED
|
125
125
|
test_case.status = status(result)
|
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.
|
4
|
+
version: 2.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrejs Cunskis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-23 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.
|
19
|
+
version: 2.18.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: 2.
|
26
|
+
version: 2.18.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -75,7 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
75
75
|
requirements:
|
76
76
|
- - ">="
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version: 2.
|
78
|
+
version: 2.7.0
|
79
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ">="
|