request 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ # v0.0.3 2013-05-21
2
+
3
+ - Regression in Request::Rack#rack_env
4
+ - Regression in Request::Routed#{request,routing_params}
5
+
1
6
  # v0.0.2 2013-05-21
2
7
 
3
8
  * [change] Update to concord ~> 0.1.0
@@ -1,7 +1,7 @@
1
1
  class Request
2
2
  # Rack request
3
3
  class Rack < self
4
- include Concord.new(:rack_env)
4
+ include Concord::Public.new(:rack_env)
5
5
 
6
6
  SERVER_PORT = Key.new('SERVER_PORT')
7
7
  REQUEST_METHOD = Key.new('REQUEST_METHOD')
@@ -8,7 +8,7 @@ class Request
8
8
  # Remove this once "Dispatch" class in Joy is ready.
9
9
  #
10
10
  class Routed < self
11
- include Concord.new(:request, :routing_params)
11
+ include Concord::Public.new(:request, :routing_params)
12
12
 
13
13
  METHODS.each do |name|
14
14
  define_method(name) do
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'request'
5
- gem.version = '0.0.2'
5
+ gem.version = '0.0.3'
6
6
  gem.authors = [ 'Markus Schirp' ]
7
7
  gem.email = [ 'mbj@seonic.net' ]
8
8
  gem.description = 'HTTP request porofication'
@@ -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.2
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-20 00:00:00.000000000 Z
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: []