insurance 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/railscov +3 -3
- data/lib/insurance.rb +2 -2
- metadata +1 -1
data/bin/railscov
CHANGED
@@ -25,7 +25,7 @@ EOF
|
|
25
25
|
opts.separator ''
|
26
26
|
opts.on_tail('-h', '--help', 'Show this message') do
|
27
27
|
puts opts
|
28
|
-
exit
|
28
|
+
exit!
|
29
29
|
end
|
30
30
|
opts.on_tail('--version', 'Show version') do
|
31
31
|
puts "Insurance #{Insurance::VERSION}, #{Insurance::RELEASE_DATE}"
|
@@ -36,12 +36,12 @@ opts.parse! ARGV
|
|
36
36
|
if options[:apply_to]
|
37
37
|
require 'insurance/generators/rails/loader'
|
38
38
|
InsuranceLoader::Generators::RailsLoader.load! options
|
39
|
-
exit
|
39
|
+
exit!
|
40
40
|
end
|
41
41
|
|
42
42
|
unless File.exist?('config/environment.rb')
|
43
43
|
puts 'Please run railscov from your RAILS_ROOT'
|
44
|
-
exit
|
44
|
+
exit!
|
45
45
|
end
|
46
46
|
|
47
47
|
|
data/lib/insurance.rb
CHANGED