request 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.md +5 -0
- data/lib/request/rack.rb +1 -1
- data/lib/request/routed.rb +1 -1
- data/request.gemspec +1 -1
- data/spec/unit/request/rack/rack_env_spec.rb +13 -0
- metadata +3 -2
data/Changelog.md
CHANGED
data/lib/request/rack.rb
CHANGED
data/lib/request/routed.rb
CHANGED
data/request.gemspec
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Request::Rack, '#rack_env' do
|
4
|
+
let(:object) { described_class.new(rack_env) }
|
5
|
+
|
6
|
+
subject { object.rack_env }
|
7
|
+
|
8
|
+
let(:rack_env) { mock('Rack Env') }
|
9
|
+
|
10
|
+
it { should be(rack_env) }
|
11
|
+
|
12
|
+
it_should_behave_like 'a command method'
|
13
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: request
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: backports
|
@@ -157,6 +157,7 @@ files:
|
|
157
157
|
- spec/unit/request/rack/port_spec.rb
|
158
158
|
- spec/unit/request/rack/protocol_spec.rb
|
159
159
|
- spec/unit/request/rack/query_string_spec.rb
|
160
|
+
- spec/unit/request/rack/rack_env_spec.rb
|
160
161
|
- spec/unit/request/rack/request_method_spec.rb
|
161
162
|
homepage: https://github.com/mbj/response
|
162
163
|
licenses: []
|