usher 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -14,6 +14,7 @@ begin
14
14
  end
15
15
  Jeweler::RubyforgeTasks.new do |rubyforge|
16
16
  rubyforge.doc_task = "rdoc"
17
+ rubyforge.remote_doc_path = ''
17
18
  end
18
19
  rescue LoadError
19
20
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :major: 0
3
2
  :minor: 5
4
- :patch: 1
3
+ :patch: 2
4
+ :major: 0
@@ -5,7 +5,7 @@ class Usher
5
5
  class RackInterface
6
6
 
7
7
  def initialize(&blk)
8
- @router = Usher.new(:request_methods => [:method, :host, :port, :scheme], :generator => Usher::Util::Generators::URL.new)
8
+ @router = Usher.new(:request_methods => [:request_method, :host, :port, :scheme], :generator => Usher::Util::Generators::URL.new)
9
9
  instance_eval(&blk) if blk
10
10
  end
11
11
 
data/lib/usher/node.rb CHANGED
@@ -84,6 +84,7 @@ class Usher
84
84
  return ret
85
85
  end
86
86
  end
87
+ nil
87
88
  elsif terminates? && (path.size.zero? || terminates.route.partial_match?)
88
89
  if terminates.route.partial_match?
89
90
  Response.new(terminates, params, original_path[position, original_path.size], original_path[0, position])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Hull