rspec-httpd 0.3.0 → 0.3.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
  SHA256:
3
- metadata.gz: 416ab3c99548be0af320935c7a110bfdcb71d5ec2c4b037d49dd3c9e82a9726b
4
- data.tar.gz: e6532d75c0e77df7b115d124e0e00977390814ca344fef6770e0ba0aebe670e2
3
+ metadata.gz: 1ac7073a4b7ef40af724aed16b7877cc41a6f9be00378a28cc5ad4b2618c9a16
4
+ data.tar.gz: a249cd274ee25dbf9b0dc98a9ee02694e7d2b2d496b0f214eaa14048a7658add
5
5
  SHA512:
6
- metadata.gz: fbe1d6fd19513c57d0bae186311d24384bd09665dc71157410728d53c7c910e312ab9e2d52f1461e46bc66c4d5db4afe7ee402c3e264dd47b520259671e59695
7
- data.tar.gz: 84194b1f0037bd9c8455ba3aa1db9c06b78ab9631cd71667bab025ad098767a0c67f1aae4df2b36eea532cbc45140521050f8fad99b67541eb778ec6e87dd7e1
6
+ metadata.gz: 00f662756503a7437ce262c0617390702e0f3027a60a78694a1badd7405a772fdf7d9803d97861d92f2902c4bb997dc9ab362e57a02b609b31b8bc52d5cb8b21
7
+ data.tar.gz: c01a45c88f068edf5a6572575d2b7fc7c93d60dd77c5b8cd528521dcba8cbd9ac908e8d9ba9e47a9fcb0ecb868f5e27780bb80270a49d561bb5ede8ce03b3aab
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -1,4 +1,7 @@
1
1
  # rubocop:disable Lint/HandleExceptions
2
+ # rubocop:disable Metrics/AbcSize
3
+ # rubocop:disable Metrics/CyclomaticComplexity
4
+ # rubocop:disable Metrics/MethodLength
2
5
 
3
6
  require "socket"
4
7
  require "timeout"
data/lib/rspec/httpd.rb CHANGED
@@ -75,8 +75,8 @@ module RSpec::Httpd
75
75
  response = client.response
76
76
  request = response.request
77
77
 
78
- expect(response.status).to eq(expected_status),
79
- "status should be #{expected_status}, but is #{response.status}, on '#{request}'"
78
+ expect(response.status).to eq(expected_status),
79
+ "status should be #{expected_status}, but is #{response.status}, on '#{request}'"
80
80
 
81
81
  return if expected.nil? || expected.is_a?(Integer)
82
82
 
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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Enrico Thierbach
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.2'
33
+ version: 0.3.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.2'
40
+ version: 0.3.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement