bin/console in gistory-0.3.0 vs bin/console in gistory-0.4.0
- old
+ new
@@ -12,10 +12,10 @@
def reload!
verbosity = $VERBOSE
begin
$VERBOSE = nil
- files = $LOADED_FEATURES.select { |feat| feat =~ %r{/gistory/} }
+ files = $LOADED_FEATURES.select { |feat| feat.include?("gistory") }
files.each { |file| load(file) }
ensure
$VERBOSE = verbosity
end
true