katinguele 1.0.2 → 1.0.3

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: f9adb7c923a26a85b0b578eea0ee7969b3bb186b001baf8a9a8398c8201cd9a3
4
- data.tar.gz: 8e8b90639d264c4aa0b5002f6d3ce111bc1bf8f4842b1226b11c1df94dc81967
3
+ metadata.gz: '0820315f337d7950f42401807db88f3cddc874878e90d0f0227c40431a7a6e2a'
4
+ data.tar.gz: 2d72ad53e2424ef2eab44ccf83420793f192b0818b33a61f1b02fefc38b15014
5
5
  SHA512:
6
- metadata.gz: b03302f1e92e81e04fb406e0e2dcbe2ee004cd86f64d7431227ed39bc9f85115a7d0a0f32667a8f45ce7792fea1fea56d14c3fc1c7d06c0d7955195d87e86bed
7
- data.tar.gz: 87f4e35e05905dbcbe78ff2d8b8024f7db0f3e4d4b9ba86644fc9075421e2bd0ddc66d19be46797053c4a712bb4dabe7e33da1316a149c38f0537b02599f2252
6
+ metadata.gz: fe2ae6d535260712145674a35a9847ae478cf2e8522183781f4a90819803569c290cc7553d2eded6e2211ae746bbc88cbb2cf782a6326819e093ed4274467fea
7
+ data.tar.gz: '058caeb2eedbd896dd55e54622b8982f688f79a3f5600c42c47f85bc96bc93d9c1f427cbe5f4b6cdb33ac9ebf4b9673f3c8365a6dd306ff6e63125dabb7e046b'
@@ -19,9 +19,7 @@ module Katinguele
19
19
  end
20
20
 
21
21
  def request_by(request, options)
22
- return request.tap { request.setup!(options) } if request
23
-
24
- Request.new(options) if options&.any?
22
+ Request.new((request&.attributes || {}).merge(options || {}))
25
23
  end
26
24
  end
27
25
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Katinguele
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katinguele
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - linqueta