Permalink
Browse files

- keyword matches are no case insensitive

- increment version
  • Loading branch information...
ripienaar committed Feb 7, 2012
1 parent c2ecb2b commit b1892bb4a99bb1ff72ae63609bcd4cf2dd013caa
Showing with 4 additions and 2 deletions.
  1. +2 −0 CHANGELOG
  2. +1 −1 lib/oldskool/router.rb
  3. +1 −1 lib/oldskool/version.rb
View
@@ -0,0 +1,2 @@
+2012/02/07 - Release 0.0.6
+2012/02/07 - Do case insensitive keyword matches
View
@@ -15,7 +15,7 @@ def route(params)
q = params[:q].strip
if params[:q] =~ /^(\w+?)(\s.+)*$/
- k = $1
+ k = $1.downcase
q = $2.strip rescue ""
end
View
@@ -1,3 +1,3 @@
module Oldskool
- VERSION = "0.0.5"
+ VERSION = "0.0.6"
end

0 comments on commit b1892bb

Please sign in to comment.