mu-result 2.2.1 → 2.3.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: eb693bcfba8568df7a33f1062b0b908ad9cd879fe8b7d16cc5e74177c213ea8d
4
- data.tar.gz: 345a258cb9e98f431bff5040d96f73c6b12803cb013c45c90883c685750f5ee0
3
+ metadata.gz: 0300ba9a98dbabec8d3756b0a5ae1b2e93af4ddc6be8f66a89f56393a2d1c2b3
4
+ data.tar.gz: 6ff7d69c392be5da841666c117c2dfcd59dba514855eaa38125f7003ffc96587
5
5
  SHA512:
6
- metadata.gz: e9c23c70b274680656e6d648bff73585e2daf0393781da78100b350f08c4c9b409886deba07dcb565d46ef3c4893cb76ba86e1792f8df7f5298e65c701ea603d
7
- data.tar.gz: b4d9d1d45024b5ec8b68e2bc434b2f3746e6fdbcfded80af7071463ae921607a6463c91a3088609a61929ebd3214ed2e9d59898015e0721d310012e0aa773a2b
6
+ metadata.gz: eab39e13a8e8707df10fcb847fa135d5535411a6caa139ac314285cca5159bbda6ddc4c9d76faf6e9f9e02c9b15f4c5a0eee39e73e3becf73d2d0759dd566a90
7
+ data.tar.gz: 136acab78be242aa08e91b56924d6e0f29dccdc3eebab286192e291d4c934646b8ae9b56366ceaac220290aa84a36a5e294343dbf215e607cbf58320946217ff
@@ -45,7 +45,10 @@ module Mu
45
45
  data: data,
46
46
  }
47
47
  end
48
- end
49
48
 
49
+ def merge_data(data)
50
+ self.class.new(is_success: @is_success, code: @code, data: (@data || {}).merge(data))
51
+ end
52
+ end
50
53
  end
51
54
  end
@@ -1,5 +1,5 @@
1
1
  module Mu
2
2
  module Result
3
- VERSION = '2.2.1'
3
+ VERSION = '2.3.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.2.1
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - olistik
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-03 00:00:00.000000000 Z
11
+ date: 2021-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler