rack-test-rest 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.4.5
@@ -9,7 +9,8 @@ module Rack
9
9
  end
10
10
 
11
11
  def handle_error_code(code)
12
- assert_equal(code, last_response.status)
12
+ assert_equal code, last_response.status,
13
+ "Expected #{code}, got #{last_response.status} - body #{last_response.body.empty? ? "empty" : last_response.body.pretty_inspect.chomp}"
13
14
 
14
15
  if @rack_test_rest[:debug]
15
16
  puts "Status: #{last_response.status}" if @rack_test_rest[:debug]
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "rack-test-rest"
8
- s.version = "0.4.4"
8
+ s.version = "0.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Joseph Ruscio"]
12
- s.date = "2012-01-09"
12
+ s.date = "2012-03-13"
13
13
  s.description = "rack-test-rest is an extension to rack-test that when combined with Test::Unit simplifies the process of unit testing properly designed RESTful API's."
14
14
  s.email = "joe@ruscio.org"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-test-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-09 00:00:00.000000000Z
12
+ date: 2012-03-13 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shoulda
16
- requirement: &2158180120 !ruby/object:Gem::Requirement
16
+ requirement: &2162906960 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2158180120
24
+ version_requirements: *2162906960
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &2158179580 !ruby/object:Gem::Requirement
27
+ requirement: &2162906340 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2158179580
35
+ version_requirements: *2162906340
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &2158179060 !ruby/object:Gem::Requirement
38
+ requirement: &2162905700 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.5.2
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2158179060
46
+ version_requirements: *2162905700
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rcov
49
- requirement: &2158178540 !ruby/object:Gem::Requirement
49
+ requirement: &2162905040 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2158178540
57
+ version_requirements: *2162905040
58
58
  description: rack-test-rest is an extension to rack-test that when combined with Test::Unit
59
59
  simplifies the process of unit testing properly designed RESTful API's.
60
60
  email: joe@ruscio.org
@@ -90,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  segments:
92
92
  - 0
93
- hash: -1428910325849090574
93
+ hash: 1328546809840720632
94
94
  required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements: