eezee 1.0.10 → 1.0.11

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: f6f079b720f19b24847fb76fa83c1f574fac64babeaa84c64647570e7e43f37c
4
- data.tar.gz: cc9f2f39e6e6e62d318fd1bd83efb828803838cbdab593c72f058c794f941a76
3
+ metadata.gz: 8ec8c0319024f4bba7f5954a4c550b6a9979693675c372471cf11b2f46151921
4
+ data.tar.gz: 0ee3cda9cdf0a4a9c7c603106bede81fb67e3102db7fb4d955e5b1d7a3755a02
5
5
  SHA512:
6
- metadata.gz: 274f2aa489f88193b05481084f06445130f5a9d1ddac9ec813712ce95c09fcdb280834a1a85fdb5816a0955c14d174f68ee68ecbe1f979ac252a0cc166efd953
7
- data.tar.gz: bee96de51df0aa33613c561d4857b0e85a4644ed38816ea9765541f9c5cd9dd311351ca8f00c0a1ff969640e4a867299f658ef904a5ad9043416448ebe166690
6
+ metadata.gz: 51b80692f4d37107bd6087095e8066fc7c1bc361563d31fe2a41ba4f3fd5edafad3937d268cca6910326550aca915e13c90186d0cd42a7e2ea0982dbe5f347f9
7
+ data.tar.gz: 9e39db90a62825eae3cdca9736fd9020b0d21c4355b5e5126aee2d9a6ecb67ce620fd1afe44a8edf61bd4c2484d4becfea07f44e660d918c7a9905eb8dd19e74
@@ -19,7 +19,10 @@ module Eezee
19
19
  end
20
20
 
21
21
  def request_by(request, options)
22
- Request.new((request&.attributes || {}).merge(options || {}))
22
+ Marshal.dump(request&.attributes || {})
23
+ .then { |dumped| Marshal.load(dumped) } # rubocop:disable Security/MarshalLoad
24
+ .then { |attrs| attrs.merge(options || {}) }
25
+ .then { |attrs| Request.new(attrs) }
23
26
  end
24
27
  end
25
28
  end
data/lib/eezee/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Eezee
4
- VERSION = '1.0.10'
4
+ VERSION = '1.0.11'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eezee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - linqueta