usher 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/usher/route.rb +0 -5
  2. data/usher.gemspec +1 -1
  3. metadata +2 -2
@@ -83,17 +83,12 @@ class Usher
83
83
  end
84
84
 
85
85
  def find_matching_path(params)
86
- #if router.find_matching_paths_based_on_destination_keys?
87
86
  matching_path = if params.nil? || params.empty?
88
87
  @paths.first
89
88
  else
90
89
  @paths.size == 1 ? @paths.first : grapher.find_matching_path(params)
91
90
  end
92
91
 
93
- if matching_path.nil? and router.find_matching_paths_based_on_destination_keys?
94
- # do something
95
- end
96
-
97
92
  if parent_route
98
93
  matching_path = parent_route.find_matching_path(params).merge(matching_path)
99
94
  matching_path.route = self
@@ -5,7 +5,7 @@ require "base64"
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "usher"
8
- s.version = "0.8.1"
8
+ s.version = "0.8.2"
9
9
  s.authors = ["Daniel Neighman", "Daniel Vartanov", "Jakub Šťastný", "Joshua Hull", "Davide D'Agostino"].sort
10
10
  s.homepage = "http://github.com/joshbuddy/usher"
11
11
  s.summary = "Pure ruby general purpose router with interfaces for rails, rack, email or choose your own adventure"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 8
8
- - 1
9
- version: 0.8.1
8
+ - 2
9
+ version: 0.8.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Neighman