allure-ruby-commons 2.16.2 → 2.17.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: ea5e2f8740282a4774b060a76b35522c1161d9f108c9c37fe3170481e3e70b0c
4
- data.tar.gz: 3639b7df27592188870e198baad8c5cf97dd35895e78ec8414b8a2567819a2a5
3
+ metadata.gz: 5184aecf13d09a0047b56c75f07c39d8697e7e1f45572088a823c5fe919d683e
4
+ data.tar.gz: 98862beedc730ac669137beba90027e3f1bc1abf17ae838d3e8f0b40786a084c
5
5
  SHA512:
6
- metadata.gz: 800e4c403a091f70bdadd4d0209681c80495acca7d2f6d786ad990987ec6feb75111ccc4af22febae88e6ea26ad8839c1c366c94ab7538926986bd43ce56fb3f
7
- data.tar.gz: 3c1039e855756f4dc762e0bb022219dec79e534d14c3dbbe82dd0b93625372ed1232a809e738182aac8a69742c3c613a53c4703b6af331aa29aea7f8bda7738a
6
+ metadata.gz: 5efb3f03645ed43d5fc5e64d72c8af77c5cb5eed5711d0e3c357ed0e0bb6e4ed300071117760d084670f93e56661acd9885d1dddc19159bd6048d71bf9460d72
7
+ data.tar.gz: 3c1c26e729c5d25e3e8a491aa590cf3a1ef8e16ac0b55fc8bd2c778ff0446f478200bea49e63fcf66560114f1508b263ff6a7aa629db058e1651ce0f449fafe8
@@ -16,7 +16,6 @@ module Allure
16
16
  @step_context = []
17
17
  @config = config
18
18
  @logger = config.logger
19
- @file_writer = FileWriter.new(config.results_directory)
20
19
  end
21
20
 
22
21
  attr_reader :config
@@ -259,7 +258,11 @@ module Allure
259
258
 
260
259
  private
261
260
 
262
- attr_reader :logger, :file_writer
261
+ attr_reader :logger
262
+
263
+ def file_writer
264
+ @file_writer ||= FileWriter.new(config.results_directory)
265
+ end
263
266
 
264
267
  def current_executable
265
268
  current_test_step || @current_fixture || @current_test_case
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allure-ruby-commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.2
4
+ version: 2.17.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-03-08 00:00:00.000000000 Z
11
+ date: 2022-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types