lib/orly/tester.rb in orly-0.0.10 vs lib/orly/tester.rb in orly-0.0.11
- old
+ new
@@ -8,10 +8,11 @@
def initialize
@need_bundle = false
@need_migrate = false
@need_bower = false
@need_npm = false
+ @need_dotenv = false
run_tests
rescue ArgumentError
raise NoRepo.new
end
@@ -21,10 +22,11 @@
when /^Gemfile/ then @need_bundle = true
when /^db\/migrate/ then @need_migrate = true
when /^Podfile/ then @need_pod = true
when /^bower\.json/ then @need_bower = true
when /^package\.json/ then @need_npm = true
+ when /^.dotenv-encrypted/ then @need_dotenv = true
end
end
rescue Git::GitExecuteError
false
end
@@ -52,7 +54,11 @@
def need_npm?
@need_npm
end
+ def need_dotenv?
+ @need_dotenv
+ end
+
end
-end
\ No newline at end of file
+end