proxes 0.6.0 → 0.6.1

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
  SHA1:
3
- metadata.gz: 57bea97e3c3af963903653b899ce921259e44471
4
- data.tar.gz: 249a32f7f58fc65f43657175f23fadeaa35c8d6a
3
+ metadata.gz: 4785a97b631eeb52cc78cba8244574f786bceb47
4
+ data.tar.gz: 16c51704657319e518ab24bbecfd55cb3c91217d
5
5
  SHA512:
6
- metadata.gz: 41c950eaa6b324461b8b610f42e330bd901903941c57154173986a626bfa155729640380f851a7dd7ff284bd3fe425c5ce54eeeafa1d7b7e13db21c2401e207e
7
- data.tar.gz: 820cc09e3bd06a4fd477f3a4829fd632cd56109cd55c07efc8842c83e8e4a91c2c3812fb6465ef6d58f359bc980980b3c0ba1bf044e0358d179cfaf151228ffc
6
+ metadata.gz: c7202970ccb85ff8780f269423115508545f31bb353c98d5b2cd672bff2ee0116a55536d52a1e698278fef43dfdc21eaa6f4b07c3269b0d9bb8286fe6b78e696
7
+ data.tar.gz: eb3141d296c473bcd49f49c941b5050d5e04ac4b5375dfe55b337284c2f9e6f748c824c724589fa49d0674ae64e5f79135d34e8b541a87914e8257bdcbb2d295
@@ -15,7 +15,7 @@ module ProxES
15
15
  full_path = source_request.fullpath == '' ? URI.parse(env['REQUEST_URI']).request_uri : source_request.fullpath
16
16
  target_request = Net::HTTP.const_get(source_request.request_method.capitalize).new(full_path)
17
17
 
18
- if target_request.request_body_permitted? && source_request.body
18
+ if source_request.body
19
19
  target_request.body_stream = source_request.body
20
20
  target_request.content_length = source_request.content_length.to_i
21
21
  target_request.content_type = source_request.content_type if source_request.content_type
@@ -20,7 +20,6 @@ module ProxES
20
20
  end
21
21
 
22
22
  def parse
23
- p path_parts
24
23
  @index ||= check_part(path_parts[0])
25
24
  @type ||= check_part(path_parts[1])
26
25
  @id ||= check_part(path_parts[2])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ProxES
4
- VERSION = '0.6.0'.freeze
4
+ VERSION = '0.6.1'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proxes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jurgens du Toit