mu-result 2.1.0 → 2.2.0

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: fac87f8bfeb00091ef1bf1e340c905d57e8c1153ea860e4b59e609fe1a3b39fa
4
- data.tar.gz: 7a92f8b7a12a0894e1ee3a50f712fdab236c36d119f8f9686b5fc2e79ed00586
3
+ metadata.gz: 989d4a89a0fe3f52451e1668248ea8c251094be664bebbb47720085eb037fe5c
4
+ data.tar.gz: 25426faf51178ecc7ec8e79e8cff7a6abbd507ac1b673f0ebd46820bcdae1c07
5
5
  SHA512:
6
- metadata.gz: ddc000eda0bdface21287f5e8bb3e32849898a2b270cdf698db350a00adfaf69d9e65fc1be090233022045ba75040b82d60f2c09fb11fa4b8c784c904f62c161
7
- data.tar.gz: 447eb2d9cc8bb51456b576f026894cb0e3cc900fbcce7e414772037ff89ad4e3512e0ab32eb7819fdb5349752703ffad90e132e538a26d18f99940dde02363b7
6
+ metadata.gz: 60a1a45f47b5887505d88658608d8cee731c364f17526df20e46850dbd11def90061b7737d7d1c1859da52911be2181c0b375de9ae4908f5d25e169dc06afe98
7
+ data.tar.gz: 5e643c2505a8ddc44732b6742e64b96dbe626258d9e42f8f1bb85994213804420026e5541c0a5faed2b0be7345e1e3d2c031ad377f8067db26399d44ce91c78b
@@ -33,7 +33,10 @@ module Mu
33
33
  return data if symbol.nil?
34
34
 
35
35
  if !data.respond_to?(:include?) || !data.include?(symbol)
36
- raise StandardError.new("The symbol '#{symbol}' is not included in the result data object.")
36
+ messages = []
37
+ messages << "The symbol '#{symbol}' is not included in the result data object."
38
+ messages += caller
39
+ raise StandardError.new(messages.join("\n"))
37
40
  end
38
41
 
39
42
  return data[symbol]
@@ -1,5 +1,5 @@
1
1
  module Mu
2
2
  module Result
3
- VERSION = '2.1.0'
3
+ VERSION = '2.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mu-result
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - olistik
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-10 00:00:00.000000000 Z
11
+ date: 2021-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,7 +78,7 @@ homepage: https://github.com/olistik/mu-result
78
78
  licenses:
79
79
  - AGPL-3.0
80
80
  metadata: {}
81
- post_install_message:
81
+ post_install_message:
82
82
  rdoc_options: []
83
83
  require_paths:
84
84
  - lib
@@ -93,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubygems_version: 3.2.15
97
- signing_key:
96
+ rubygems_version: 3.2.22
97
+ signing_key:
98
98
  specification_version: 4
99
99
  summary: μResult is a small Result object
100
100
  test_files: []