http_router 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.3.2
2
+
3
+ * Made the sinatra extension Ruby 1.9.2 compatible (Matt Aimonetti, 05fb162)
4
+
1
5
  == 0.3.1
2
6
 
3
7
  * Node transplant in request tree building not working in all cases. (Joshua Hull, f82ae82)
@@ -65,9 +65,9 @@ class HttpRouter
65
65
  unbound_method = instance_method("#{verb} #{path}")
66
66
  block =
67
67
  if block.arity != 0
68
- lambda { unbound_method.bind(self).call(*@block_params) }
68
+ proc { unbound_method.bind(self).call(*@block_params) }
69
69
  else
70
- lambda { unbound_method.bind(self).call }
70
+ proc { unbound_method.bind(self).call }
71
71
  end
72
72
 
73
73
  invoke_hook(:route_added, verb, path, block)
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  class HttpRouter #:nodoc
3
- VERSION = '0.3.1'
3
+ VERSION = '0.3.2'
4
4
  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: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joshua Hull
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-30 00:00:00 -04:00
18
+ date: 2010-07-12 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency