groute 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/groute +2 -1
- data/lib/groute/version.rb +1 -1
- metadata +2 -2
data/bin/groute
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
if ARGV.nil? || ARGV.size == 0
|
3
|
-
puts "Usage: groute
|
3
|
+
puts "Usage: groute PATTERN"
|
4
|
+
puts "Description: Equivalent to 'rake routes | grep <PATTERN>' but caches output. Relies on config/routes.rb modification time to refresh cache."
|
4
5
|
else
|
5
6
|
search_term = ARGV.first
|
6
7
|
groutes_store = File.expand_path(File.dirname('./'), 'tmp/.groutes')
|
data/lib/groute/version.rb
CHANGED