allure-rspec 2.16.1 → 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: 4e864b1ef9fb13e62fec81fd6c8a763a7f15d3a5e9709566ed910ababce451f1
4
- data.tar.gz: c794896f338aa4f60fa8bc6e2541eacf116951d6574484af945bb94fd238ccd3
3
+ metadata.gz: f7c21e789e71fdd7eb259f45f6d3ff464c703c920145db58635097115b8f6c2e
4
+ data.tar.gz: 1caaf99dd6991bf6d6804fb12b7de12771e90513a3a89e8db2a9a647bfaa5773
5
5
  SHA512:
6
- metadata.gz: ba1ba8f1389b0c693b5cef6cfb9abc5aeba72fac812d6ffec89079ebad0647330b08b688648e53a0a28b37c613efd7efcbe53263ccfff695a16d56f56c14a182
7
- data.tar.gz: c1edb1d3e3c69f08af52987dfd9e33832a8809cb042bdb979bac190450cd3860e2b95a3d964a42a64c022622984e6e0651e57baecc3323902faeb101e26668ff
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.16.1
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-02-02 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.16.1
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.16.1
26
+ version: 2.18.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-core
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -75,14 +75,14 @@ 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
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
- rubygems_version: 3.3.3
85
+ rubygems_version: 3.3.7
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Allure rspec ruby adaptor