allure-ruby-commons 2.24.3 → 2.24.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c1e1476f3a5024513b913f81e1cb01d0ebd2475a017a65a3cd550860ded704ef
|
|
4
|
+
data.tar.gz: cc7c27bace18777aaa46f022b5d3c2c0b5875fcd3e707a40dc43f1130e30cdc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f47c4f25fa9fdbaeabc106ae06fb9dd78f336f04f1bf37332e712764dfef7389096bd8ccb30dbb95f8d082e9d82e6dee0118cc37066491262154f3c91198bd6
|
|
7
|
+
data.tar.gz: 3ceea43184d4b38c3811afc742e438453e71c19ab10bb56fb69cf41c940b0990a57087f5061f7c6e07ceee96c7eb09ceaa72d032b45ba6a20814d1c9f594449c
|
|
@@ -159,7 +159,7 @@ module Allure
|
|
|
159
159
|
# @param [Exception] exception
|
|
160
160
|
# @return [Allure::StatusDetails]
|
|
161
161
|
def status_details(exception)
|
|
162
|
-
StatusDetails.new(message: exception&.message
|
|
162
|
+
StatusDetails.new(message: exception&.message, trace: exception&.backtrace&.join("\n"))
|
|
163
163
|
end
|
|
164
164
|
|
|
165
165
|
# Allure attachment object
|
|
@@ -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
|
+
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-
|
|
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.
|
|
143
|
+
rubygems_version: 3.5.9
|
|
144
144
|
signing_key:
|
|
145
145
|
specification_version: 4
|
|
146
146
|
summary: Common library for allure results generation
|