rspec-httpd 0.0.9 → 0.0.10

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
  SHA256:
3
- metadata.gz: d8a74da790f8631d6274b9b21573c5f100e8c407bdbafbec1f30589a15ed8a51
4
- data.tar.gz: 709c1999177711fdbd3d3444e6539cd41a39d6be7c90c70aca71824a88226fca
3
+ metadata.gz: 63a83e63d887fb7d1a4624719c551449fed53ab9ce4fd737c23b81eca8fbfec9
4
+ data.tar.gz: 85263b7c0017af759b76ae5f9c8f4b053775b570e741d006388b31075a16565f
5
5
  SHA512:
6
- metadata.gz: 1355bd07032124833b0d3df6a54328800fa6c0f20606c49634d9223d74084e8afde82e8149795ab718c0075b1f8b8cdd806d81c6334a4782688886f59448db39
7
- data.tar.gz: 2b8c8b181cce3c37be518711b628567a8cab86904299fd1d2a94e73fd132a5e977702b89ed96b348f7aa9b4438d42d5e0cc2ebe46278a5171e15f8fdbd5683dc
6
+ metadata.gz: 97fc5313c1fb71e24622043efd4729bbd155ea4ae32057f5c92c705e3153d91b291156bdabe0780fcfa16804b18fcbf8f05eab802ccdd8a5addd6d961b0ab33e
7
+ data.tar.gz: d74cb440e90cbc553d66351fab7739fc925e79104514444d998eee79e28ab7c18b69d685d7e4c2e40809c45749288388e86adc447337365f5d7a7415c0dea6d0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.9
1
+ 0.0.10
@@ -13,7 +13,9 @@ class RSpec::Httpd::ExpectationFailed < RuntimeError
13
13
 
14
14
  def request_info
15
15
  request_info = "#{request.method} #{request.path}"
16
- return request_info unless request.body
16
+
17
+ body = request.body
18
+ return request_info unless body
17
19
 
18
20
  "#{request_info}#{body_info(parsed_body(body) || body)}"
19
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-httpd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Enrico Thierbach