allure-ruby-commons 2.24.4 → 2.24.5

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: 0eaeb49ddccea524c3f67c950a585d4768589fe1e44177c562f8e26a4df43b23
4
- data.tar.gz: 9d8720b8fabff405550eebfac685054c0c0edf04361b4efd9d423a55dcd993c8
3
+ metadata.gz: c1e1476f3a5024513b913f81e1cb01d0ebd2475a017a65a3cd550860ded704ef
4
+ data.tar.gz: cc7c27bace18777aaa46f022b5d3c2c0b5875fcd3e707a40dc43f1130e30cdc3
5
5
  SHA512:
6
- metadata.gz: e9c2853c29c1e91520dc232bfa910c0b44b905f8bcf83f378973ba1431130b13c6df944ffe699cced2a06f1370010b2df84ad2f47074f64b441c38b827e56e01
7
- data.tar.gz: fb0d23d33a15a03d5e1ded9eae57e5a8e4ece361f042e8892081e75865d6e921e4d1bf58cab74a0b2bf85019324a7e8871a08e84539bf3aef9a776ba71f9271f
6
+ metadata.gz: 3f47c4f25fa9fdbaeabc106ae06fb9dd78f336f04f1bf37332e712764dfef7389096bd8ccb30dbb95f8d082e9d82e6dee0118cc37066491262154f3c91198bd6
7
+ data.tar.gz: 3ceea43184d4b38c3811afc742e438453e71c19ab10bb56fb69cf41c940b0990a57087f5061f7c6e07ceee96c7eb09ceaa72d032b45ba6a20814d1c9f594449c
@@ -20,8 +20,8 @@ module AllureStepAnnotation
20
20
  step_name = @allure_step.empty? ? method_name.to_s : @allure_step
21
21
  @allure_step = nil
22
22
 
23
- define_singleton_method(method_name) do |*args, &block|
24
- Allure.run_step(step_name) { original_method.call(*args, &block) }
23
+ define_singleton_method(method_name) do |*args, **kwargs, &block|
24
+ Allure.run_step(step_name) { original_method.call(*args, **kwargs, &block) }
25
25
  end
26
26
  end
27
27
 
@@ -32,8 +32,8 @@ module AllureStepAnnotation
32
32
  step_name = @allure_step.empty? ? method_name.to_s : @allure_step
33
33
  @allure_step = nil
34
34
 
35
- define_method(method_name) do |*args, &block|
36
- Allure.run_step(step_name) { original_method.bind_call(self, *args, &block) }
35
+ define_method(method_name) do |*args, **kwargs, &block|
36
+ Allure.run_step(step_name) { original_method.bind_call(self, *args, **kwargs, &block) }
37
37
  end
38
38
  end
39
39
  end
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.24.4
4
+ version: 2.24.5
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-04-19 00:00:00.000000000 Z
11
+ date: 2024-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.5.3
143
+ rubygems_version: 3.5.9
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: Common library for allure results generation