lib/rerun/options.rb in rerun-0.8.0 vs lib/rerun/options.rb in rerun-0.8.1

- old
+ new

@@ -1,8 +1,9 @@ require 'optparse' libdir = "#{File.expand_path(File.dirname(File.dirname(__FILE__)))}" -load "#{libdir}/../rerun.gemspec" # defines "$spec" variable, which we read the version from + +$spec = Gem::Specification.load(File.join(libdir, "..", "rerun.gemspec")) module Rerun class Options DEFAULT_PATTERN = "**/*.{rb,js,css,scss,sass,erb,html,haml,ru}"