public
Description: a lightweight but powerful documents search engine, written in Rails.
Homepage: http://picolena.devjavu.com/
Clone URL: git://github.com/EricDuminil/picolena.git
small bugfix for picolena --spec or picolena --spec-only

git-svn-id: http://svn.devjavu.com/picolena/trunk@278 
354c73f7-f838-4446-8ec5-bf0d774acd2b
eric.duminil@gmail.com (author)
Sat Apr 26 06:06:31 -0700 2008
commit  084df9bb481ff8771fd42a41ab7e70f9f69caaa9
tree    c707ad0daf17e78d3e3c8cdc653593df8e7f7996
parent  98eb60521e6d317b91181273dd2636fc76e09620
...
11
12
13
14
15
 
16
17
18
...
11
12
13
 
 
14
15
16
17
0
@@ -11,8 +11,7 @@ if %w(-v --version).include? ARGV.first
0
   exit(0)
0
 end
0
 
0
-#NOTE: Should accept either --spec or --spec-only
0
-action= ARGV.include?("--spec") ? "testing" : "installing"
0
+action= ARGV.any?{|opt| opt[0,6]=="--spec"} ? "testing" : "installing"
0
 
0
 require 'rubigen/scripts/generate'
0
 source = RubiGen::PathSource.new(:application,

Comments

    No one has commented yet.