flexirest 1.4.4 → 1.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5bf900f63e66a10c574bc77e2bd4212f032ea7d0
4
- data.tar.gz: 72b103054267b9fa983b431694fe26d562538b6b
3
+ metadata.gz: b57d06388df46647b1e69e7f1673ae5a6dd36a5f
4
+ data.tar.gz: 669373fad9d9592266b3e362e0c565a46245c942
5
5
  SHA512:
6
- metadata.gz: 9b3729ba91c631e48b3778e6b5083c6dc88769d018065cd01add4e39dfa6a218abe278f9032cb09436219bb97c3ff93985731f54e142565e62b9cb81727ae2a5
7
- data.tar.gz: 6d54f34d380b98c0dcd6a677c88fccd4e68619b53c068f075cab6aeaf9912adabc73ea3698954d3cbe3a52188aa5f19b58d40f614738a006107f90a4cedf4d96
6
+ metadata.gz: '05659745e284dd34aaeed585cb19648e503df0851f6d680b687d9dc32322307b1ce560e07782cc15f532f2d7eaa9b265eed27d59a21b814a9ee90ec79ba0699f'
7
+ data.tar.gz: 7f55f9a8db580d9371b59e27b77fd8835228cbefd29e1384faf077a56bbe7f83026b52ef90c75de4df25b6eb13988616bdd1eee64ccbf913c0d0aabfa934d65b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.4.5
4
+
5
+ Bugfix:
6
+
7
+ - DELETE requests shouldn't send a request body, the body semantics are undefined.
8
+
3
9
  ## 1.4.4
4
10
 
5
11
  Feature:
@@ -344,7 +344,7 @@ module Flexirest
344
344
 
345
345
  headers["Accept"] ||= "application/vnd.api+json"
346
346
  JsonAPIProxy::Headers.save(headers)
347
- elsif http_method == :get
347
+ elsif http_method == :get || http_method == :delete
348
348
  @body = ""
349
349
  elsif request_body_type == :form_encoded
350
350
  @body ||= (params || @post_params || {}).to_query
@@ -1,3 +1,3 @@
1
1
  module Flexirest
2
- VERSION = "1.4.4"
2
+ VERSION = "1.4.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flexirest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries