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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bf21c25c8f27158bd9a5a410f30c91993f78c9ede75da4a6b843dc07ff97ca4
4
- data.tar.gz: 118fa60e3d46d8521053e2ca76ffd33bf928b5f1fd956b24032f5948fe390f5a
3
+ metadata.gz: f7c21e789e71fdd7eb259f45f6d3ff464c703c920145db58635097115b8f6c2e
4
+ data.tar.gz: 1caaf99dd6991bf6d6804fb12b7de12771e90513a3a89e8db2a9a647bfaa5773
5
5
  SHA512:
6
- metadata.gz: 2f17975f778ae595d8e5da8125f1c6c3b859f0a926efed4c43b76e9f4b703af3f945d95657562726f99217c09d0be6b89e9a8c0ac93d87f913f9ff6e91e5a4a0
7
- data.tar.gz: bceea9de0cb5b0a5df7afcdcf64da828b2dfd8c823c387451a079fc94861b4e7459f37b792063816e7a98629f216c52be391a25d2f4088fa24d5d3a2c917e6f9
6
+ metadata.gz: cd499fd9ca2c764c76fafe386f51542a12dbfc7e040df43052df65c531ddc5b64fae42592f15c67940a06afd2e82b094d226577fddb4cbe62639f8f8b8c39d9f
7
+ data.tar.gz: d9dc3811ab13356dccb5ce0c77800a644926a41946e22bec19870f407ba7a8695899a57e98147c964154e352906e0dde1110a7b247c878d717104cfed69439ea
data/README.md CHANGED
@@ -218,7 +218,3 @@ end
218
218
  ### Example project
219
219
 
220
220
  [RSpec Example](https://github.com/allure-examples/allure-rspec-example)
221
-
222
- ## HTML report generation
223
-
224
- Report is generated using allure commandline tool. [Allure wiki](https://docs.qameta.io/allure/#_reporting).
@@ -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.yield_self do |desc|
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).yield_self do |status_detail|
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.17.0
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-04-04 00:00:00.000000000 Z
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.17.0
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.17.0
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.5.0
78
+ version: 2.7.0
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ">="