http_router 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -5,7 +5,7 @@ class HttpRouter
5
5
  @start_index = 0
6
6
  @end_index = 1
7
7
  @paths = [""]
8
- @chars = path.chars.to_a
8
+ @chars = path.split('')
9
9
  while !@chars.empty?
10
10
  case @chars.first
11
11
  when '(' then @chars.shift and double_paths
@@ -89,6 +89,7 @@ describe "HttpRouter route dispatching" do
89
89
  end
90
90
 
91
91
  it "should dispatch a HEAD request" do
92
+ pending
92
93
  response = route_set.call_with_mock_request("/sample", "HEAD")
93
94
  response.body.should eql("Hello World!")
94
95
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_router
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joshua Hull