mu-result 2.0.1 → 2.1.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: 669f5d8dd5e519c94f83c39302ce672916b62adbfbdddce743c02097975f2636
4
- data.tar.gz: 5902977051fd36c76fdae48763106ba6ba2970a910c4970b8ca92ba4640632b7
3
+ metadata.gz: fac87f8bfeb00091ef1bf1e340c905d57e8c1153ea860e4b59e609fe1a3b39fa
4
+ data.tar.gz: 7a92f8b7a12a0894e1ee3a50f712fdab236c36d119f8f9686b5fc2e79ed00586
5
5
  SHA512:
6
- metadata.gz: 0c27a6cf5d40ed0809d4f2adb791fa17dd68d8579584c4ece163bdc6f4f19645e4952f7aadf489aebd840fa6ea4efe5a353343817a6dde344fe7dd146fbe220f
7
- data.tar.gz: bddd102c4041bd0aa2e2252d3334ee630110a3c7300dddb705d5a7450780dc7656797882afae2cb4776f268ad81994c67472df20bbf7a02bbb2d3cbee66e846e
6
+ metadata.gz: ddc000eda0bdface21287f5e8bb3e32849898a2b270cdf698db350a00adfaf69d9e65fc1be090233022045ba75040b82d60f2c09fb11fa4b8c784c904f62c161
7
+ data.tar.gz: 447eb2d9cc8bb51456b576f026894cb0e3cc900fbcce7e414772037ff89ad4e3512e0ab32eb7819fdb5349752703ffad90e132e538a26d18f99940dde02363b7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mu-result (2.0.0)
4
+ mu-result (2.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -32,4 +32,4 @@ DEPENDENCIES
32
32
  rspec (~> 3.0)
33
33
 
34
34
  BUNDLED WITH
35
- 2.2.3
35
+ 2.2.15
@@ -38,7 +38,14 @@ module Mu
38
38
 
39
39
  return data[symbol]
40
40
  end
41
+
42
+ def to_hash
43
+ {
44
+ code: code,
45
+ data: data,
46
+ }
47
+ end
41
48
  end
42
49
 
43
50
  end
44
- end
51
+ end
@@ -1,5 +1,5 @@
1
1
  module Mu
2
2
  module Result
3
- VERSION = '2.0.1'
3
+ VERSION = '2.1.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.0.1
4
+ version: 2.1.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-05-11 00:00:00.000000000 Z
11
+ date: 2021-07-10 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.3
97
- signing_key:
96
+ rubygems_version: 3.2.15
97
+ signing_key:
98
98
  specification_version: 4
99
99
  summary: μResult is a small Result object
100
100
  test_files: []