groute 0.0.2 → 0.1.0
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.
- 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