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 +4 -4
- data/lib/eezee/configuration.rb +4 -1
- data/lib/eezee/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ec8c0319024f4bba7f5954a4c550b6a9979693675c372471cf11b2f46151921
|
4
|
+
data.tar.gz: 0ee3cda9cdf0a4a9c7c603106bede81fb67e3102db7fb4d955e5b1d7a3755a02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51b80692f4d37107bd6087095e8066fc7c1bc361563d31fe2a41ba4f3fd5edafad3937d268cca6910326550aca915e13c90186d0cd42a7e2ea0982dbe5f347f9
|
7
|
+
data.tar.gz: 9e39db90a62825eae3cdca9736fd9020b0d21c4355b5e5126aee2d9a6ecb67ce620fd1afe44a8edf61bd4c2484d4becfea07f44e660d918c7a9905eb8dd19e74
|
data/lib/eezee/configuration.rb
CHANGED
@@ -19,7 +19,10 @@ module Eezee
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def request_by(request, options)
|
22
|
-
|
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