servactory 2.9.0.rc5 → 2.9.0.rc6

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: cc0f7f02e7f7a32fa1c9b84a4b2b45d87cdfc3ed7f0cb27fe2b15d93c570ae43
4
- data.tar.gz: 2048fe4a17318921ea6704f4c6bc6e78f7c6ee85d423178db0a6fe5da4c3cc8b
3
+ metadata.gz: c6a762f7cbe5f9ac88c14ef817109ee6b1e1f29e4c404ddd73b20520fd48705e
4
+ data.tar.gz: 1205b74201b08c5191813f9c02e5da954609d20d66d9bbdb7815bbfeaa01a4c6
5
5
  SHA512:
6
- metadata.gz: c79767f67921b3eccc6c0ee3fd8b7853173950b3977b8c61470494a37a8613760d3e461fd6242037801117823f4f2cba21c64f3038cdcbc4fe39fd85ab4e327a
7
- data.tar.gz: e35b9d4f772d911e53dff8945e846a86b06c3ddf09b4ed7ebb791d0a4d27c5e13bfd6965aaf5c1098079a7f1d31638be5b8df555275ed762ae64f10f8facf1e3
6
+ metadata.gz: c3a02731634fa02a71318580051704310519fcbbee287ecadfa15f31ae567e4015b08d30cfb30513d4a21df75a5457a22aec22a4afc46350401c5f1a43dda5fc
7
+ data.tar.gz: 6e157f714eab85943554d2a02a061b82b681c85ce1b1dcaab396d0f67e209db7ab40c334047cb849b500be1d8794f02d73e1d93267d3c27f1707ca3f522f250e
@@ -186,8 +186,8 @@ module Servactory
186
186
  matched &&= actual.error.is_a?(Servactory::Exceptions::Failure)
187
187
  matched &&= actual.error.is_a?(expected_failure_class)
188
188
  matched &&= actual.error.type == expected_type
189
- matched &&= actual.error.message == expected_message
190
- matched &&= actual.error.meta == expected_meta
189
+ matched &&= actual.error.message == expected_message if defined?(@expected_message)
190
+ matched &&= actual.error.meta == expected_meta if defined?(@expected_meta)
191
191
  matched
192
192
  end
193
193
 
@@ -285,6 +285,11 @@ module Servactory
285
285
  <<~MESSAGE
286
286
  Unexpected case when using `be_failure_service`.
287
287
 
288
+ Exception: #{actual.error.inspect}
289
+ Type: #{actual.error.type.inspect}
290
+ Message: #{actual.error.message.inspect}
291
+ Meta: #{actual.error.meta.inspect}
292
+
288
293
  Please try to build an example based on the documentation.
289
294
  Or report your problem to us:
290
295
 
@@ -5,7 +5,7 @@ module Servactory
5
5
  MAJOR = 2
6
6
  MINOR = 9
7
7
  PATCH = 0
8
- PRE = "rc5"
8
+ PRE = "rc6"
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join(".")
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: servactory
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0.rc5
4
+ version: 2.9.0.rc6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Sokolov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-10 00:00:00.000000000 Z
11
+ date: 2024-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -30,6 +30,34 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '8.1'
33
+ - !ruby/object:Gem::Dependency
34
+ name: base64
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '0.2'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '0.2'
47
+ - !ruby/object:Gem::Dependency
48
+ name: bigdecimal
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '3.0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '3.0'
33
61
  - !ruby/object:Gem::Dependency
34
62
  name: i18n
35
63
  requirement: !ruby/object:Gem::Requirement
@@ -44,6 +72,20 @@ dependencies:
44
72
  - - "~>"
45
73
  - !ruby/object:Gem::Version
46
74
  version: '1.14'
75
+ - !ruby/object:Gem::Dependency
76
+ name: mutex_m
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '0.2'
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '0.2'
47
89
  - !ruby/object:Gem::Dependency
48
90
  name: zeitwerk
49
91
  requirement: !ruby/object:Gem::Requirement