Rakefile in squib-0.3.0 vs Rakefile in squib-0.4.0

- old
+ new

@@ -1,9 +1,10 @@ require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'yard' require 'benchmark' +require 'byebug' task default: [:install, :spec] # Useful for hooking up with SublimeText. # e.g. rake sample[basic.rb] @@ -24,9 +25,10 @@ t.files = ['lib/**/*.rb', 'samples/**/*.rb'] # optional #t.options = ['--any', '--extra', '--opts'] # optional end task benchmark: [:install] do + require 'squib' Squib::logger.level = Logger::ERROR #silence warnings Dir.chdir('benchmarks') do Benchmark.bm(15) do |bm| Dir['*.rb'].each do | script | GC.start