dcrec1-rspec-vraptor 0.7 → 0.8

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.
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/gempackagetask'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "rspec-vraptor"
8
- GEM_VERSION = "0.7"
8
+ GEM_VERSION = "0.8"
9
9
  SUMMARY = "RSpec for VRaptor Sexy URLs"
10
10
  AUTHOR = "Diego Carrion"
11
11
  EMAIL = "dc.rec1@gmail.com"
@@ -1,9 +1,10 @@
1
1
  class MockedHttpResponse
2
2
  include HttpServletResponse
3
- attr_accessor :status, :error, :target
3
+ attr_accessor :status, :error, :target, :headers
4
4
 
5
5
  def initialize
6
6
  @status = 200
7
+ @headers = {}
7
8
  end
8
9
 
9
10
  def set_status(x)
@@ -22,4 +23,8 @@ class MockedHttpResponse
22
23
  @target
23
24
  end
24
25
 
26
+ def add_header(name, value)
27
+ @headers[name] = value
28
+ end
29
+
25
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dcrec1-rspec-vraptor
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.7"
4
+ version: "0.8"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Carrion
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-03 00:00:00 -08:00
12
+ date: 2009-03-13 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15