vmc 0.3.20 → 0.3.21
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cli/frameworks.rb +1 -1
- data/lib/cli/version.rb +1 -1
- metadata +3 -3
data/lib/cli/frameworks.rb
CHANGED
@@ -86,7 +86,7 @@ module VMC::Cli
|
|
86
86
|
next if matched_file
|
87
87
|
File.open(fname, 'r') do |f|
|
88
88
|
str = f.read # This might want to be limited
|
89
|
-
matched_file = fname if (str && str.match(/^\s*require[\s\(]*['"]sinatra
|
89
|
+
matched_file = fname if (str && str.match(/^\s*require[\s\(]*['"]sinatra(\/base)?['"]/))
|
90
90
|
end
|
91
91
|
end
|
92
92
|
if matched_file
|
data/lib/cli/version.rb
CHANGED
metadata
CHANGED