bin/annotate in annotate-sequel-1.0.0.pre2 vs bin/annotate in annotate-sequel-1.0.0.pre3

- old
+ new

@@ -1,17 +1,19 @@ #!/usr/bin/env ruby require 'rubygems' +require 'annotate-sequel' begin require 'bundler' Bundler.setup rescue Exception => e + puts e.backtrace end here = File.expand_path(File.dirname __FILE__) $:<< "#{here}/../lib" target = { - :klass => AnnotateSequel, + :klass => AnnotateSequel::Model, :task => :do_annotations, } Annotate.eager_load(options) target[:klass].send(target[:task])