allure-ruby-commons 2.24.2 → 2.24.3

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: 5c196ae5d54d372b454e19cbec09f0b8ad07ecdd411f8bdfc4e5255c3fdee1aa
4
- data.tar.gz: f918e3a41a49b93609c1c57b4011c19342a7a7f01235c7c304aa28fbd73dec8b
3
+ metadata.gz: 16773f1e99661e2e998ebc98e4b4e0eb314a8a587c98b97b619babb99dd8a69c
4
+ data.tar.gz: a59385cd57fc0889e8ea7e90c01018295aa7ea669b31dc6412ed6a5ca89973e4
5
5
  SHA512:
6
- metadata.gz: '038c276f3d49e25f8af370bffa831b9f385ecdc09c57d1de18572b792b7e830598d5b369502eac1a1f4dc469ffa296533a56bf95658255365211d8bb1edd6448'
7
- data.tar.gz: 19358822da3b75fb9a52bc1e039d21045e868e5009a7d93fd072a9530d00be823a7c9959b13fe450d7f7f5e1a3724dc202a5751eef1ad169431b6f756a6f7428
6
+ metadata.gz: 7c90862f0b9287e7519704487c218691a3149306755383a793d7a110e98d5c3ef540bd80eae7645a6b90f03242208c31053b1bef5b5ff9dc7fa8305f2e6d4ddf
7
+ data.tar.gz: 2b96ef3597432ecf88857cbd6b4d7fb8f35ad8e6590981fec7b9d7089e66989fae82670d4e73c91981bea4f6adbd86e76b88d68835275255ee11abb4e7e25b97
@@ -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, trace: exception&.backtrace&.join("\n"))
162
+ StatusDetails.new(message: exception&.message || exception.class.name, trace: exception&.backtrace&.join("\n"))
163
163
  end
164
164
 
165
165
  # Allure attachment object
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.2
4
+ version: 2.24.3
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-03-18 00:00:00.000000000 Z
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types