allure-rspec 2.24.0 → 2.24.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/allure_rspec/config.rb +8 -21
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f346f21d48e9abe574153fd5bbed15ca5c81ed665d00a54bf0684b3b23e36a88
4
- data.tar.gz: cfb72d3e4255dbe83ec27723c6bdd65ccadd2705c56cec204b0b9bec73faaa6c
3
+ metadata.gz: a54acf3d26cd69ca771c6b7a900f8607d61bb302018a52797125736fa450b494
4
+ data.tar.gz: 0a8d23d328febe3ce16a636462bc4b859f2496e3dffc8156508317211f7a1716
5
5
  SHA512:
6
- metadata.gz: c00028d58aa1075cb5a00f1c14910efb5791c55b29254a1ec4db56895008415440912376ff1e100247a65540b88441e782a1305eae48b44b489ef15aaea2f741
7
- data.tar.gz: ab909d433ae503ca994a9584278ddc6abaa25f94b8a97f4de6462d3510665a1037bfc9e831d72828f1b0d16c31228820ca2502b90b34711bb0d331a9c4d07213
6
+ metadata.gz: 8be86fc5e45289c4a0e3eb9ec2c8b7d0e4babbfb32c8a6cd72f206af7a0a18bdf0e56f648f659bfa3120f482131277ff5ffae6556aea89f5cf49ef32227acf0f
7
+ data.tar.gz: 7553fc7de076d668537881ac3e85cc6312743f9f40284700e85f004f7f2940c833684edf0adb689c45bad956fdc564b384e905eddcb1cc26b1a422031d7037d8
@@ -21,7 +21,6 @@ module AllureRspec
21
21
  # @return [String]
22
22
  class RspecConfig
23
23
  include Singleton
24
- extend Forwardable
25
24
 
26
25
  # @return [Symbol] default tms tag
27
26
  DEFAULT_TMS_TAG = :tms
@@ -36,26 +35,6 @@ module AllureRspec
36
35
  # @return [Symbol] default story tag
37
36
  DEFAULT_STORY_TAG = :story
38
37
 
39
- def_delegators :@allure_config,
40
- :clean_results_directory,
41
- :clean_results_directory=,
42
- :link_issue_pattern,
43
- :link_issue_pattern=,
44
- :link_tms_pattern,
45
- :link_tms_pattern=,
46
- :logging_level,
47
- :logging_level=,
48
- :logger,
49
- :logger=,
50
- :results_directory,
51
- :results_directory=,
52
- :environment,
53
- :environment=,
54
- :environment_properties,
55
- :environment_properties=,
56
- :categories,
57
- :categories=
58
-
59
38
  def initialize
60
39
  @allure_config = Allure.configuration
61
40
  end
@@ -102,5 +81,13 @@ module AllureRspec
102
81
  def ignored_tags
103
82
  @ignored_tags || []
104
83
  end
84
+
85
+ def method_missing(method, ...)
86
+ @allure_config.respond_to?(method) ? @allure_config.send(method, ...) : super
87
+ end
88
+
89
+ def respond_to_missing?(method, include_private = false)
90
+ @allure_config.respond_to?(method, include_private) || super
91
+ end
105
92
  end
106
93
  end
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.24.0
4
+ version: 2.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrejs Cunskis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-17 00:00:00.000000000 Z
11
+ date: 2024-02-26 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.24.0
19
+ version: 2.24.1
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.24.0
26
+ version: 2.24.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-core
29
29
  requirement: !ruby/object:Gem::Requirement