dcrec1-rspec-vraptor 0.9 → 0.9.5
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 +2 -2
- data/lib/spec/vraptor/mocked_http_response.rb +3 -3
- metadata +2 -2
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.9"
|
8
|
+
GEM_VERSION = "0.9.5"
|
9
9
|
SUMMARY = "RSpec for VRaptor Sexy URLs"
|
10
10
|
AUTHOR = "Diego Carrion"
|
11
11
|
EMAIL = "dc.rec1@gmail.com"
|
@@ -28,7 +28,7 @@ end
|
|
28
28
|
|
29
29
|
Spec::Rake::SpecTask.new do |t|
|
30
30
|
t.spec_files = FileList['spec/**/*_spec.rb']
|
31
|
-
t.spec_opts = %w(
|
31
|
+
t.spec_opts = %w(--color)
|
32
32
|
end
|
33
33
|
|
34
34
|
Rake::GemPackageTask.new(spec) do |pkg|
|
@@ -5,7 +5,7 @@ class MockedHttpResponse
|
|
5
5
|
def initialize
|
6
6
|
@status = 200
|
7
7
|
@headers = {}
|
8
|
-
@cookies =
|
8
|
+
@cookies = Array.new
|
9
9
|
end
|
10
10
|
|
11
11
|
def set_status(x)
|
@@ -28,8 +28,8 @@ class MockedHttpResponse
|
|
28
28
|
@headers[name] = value
|
29
29
|
end
|
30
30
|
|
31
|
-
def add_cookie(
|
32
|
-
@cookies
|
31
|
+
def add_cookie(cookie)
|
32
|
+
@cookies << cookie
|
33
33
|
end
|
34
34
|
|
35
35
|
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:
|
4
|
+
version: 0.9.5
|
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-
|
12
|
+
date: 2009-03-18 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|