dolly 3.1.3 → 3.1.4

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: bc95f5c129eb675fa694d16b7f1eefaacd9d8c52dbadf38b0f039a02d4f547a8
4
- data.tar.gz: 5a55b4eb560aee3ffe45796eed3834833a80ef2da2d8cae115db9c4561debb3d
3
+ metadata.gz: 738547c90419b3df331400218f9585604d37c9ed31e2d43aa11a7017dc02ef95
4
+ data.tar.gz: 4417136be7f90b1fea148e071c2ba115b81c0fd907f35820656158485953e207
5
5
  SHA512:
6
- metadata.gz: 036f683c88a6a7c5b27852e3c9d874e182b2de313ead437e843d5b25c795e4ad68cea854c21856560c386df07f3c6d2d82ce837b58f7c0095dedd1f4c3701ea9
7
- data.tar.gz: 78275f902a858c32e23f9964726fdd0048b3e9b114e67bd9ad58224ba32711ef32155fc3ec90bc8ad3ec5cac6b2b25781d54cc423268120ac74be7aaa7f7f82a
6
+ metadata.gz: bbc3008042dc480608d1dc0d53bf35e660c7c3f0748107d144347c36d350bd06650f9b2541c37b3b49be6af08dfb405f42db50ab158536fa78a59b8e7531983c
7
+ data.tar.gz: b7ab59a556e5d13b703fd6c5a2817db524200b01932b4249b8090edacc23eb41303e97ffa9d3de40c56160fbea9a0acb0d5a85cc78055a11701c1f303e54c8c8
@@ -33,7 +33,9 @@ module Dolly
33
33
  end
34
34
 
35
35
  def post resource, data
36
- request :post, resource.cgi_escape, data
36
+ query_str = to_query(data.delete(:query)) if data[:query]
37
+ query = "?#{query_str}" if query_str
38
+ request :post, "#{resource.cgi_escape}#{query}", data
37
39
  end
38
40
 
39
41
  def put resource, data
data/lib/dolly/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dolly
2
- VERSION = "3.1.3"
2
+ VERSION = "3.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dolly
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.3
4
+ version: 3.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - javierg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-12 00:00:00.000000000 Z
11
+ date: 2023-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj