test/apps/todo/bin/todo in gli-2.17.2 vs test/apps/todo/bin/todo in gli-2.18.0

- old
+ new

@@ -5,15 +5,15 @@ $: << File.expand_path(File.join(File.dirname(__FILE__),'..','lib')) require 'gli' require 'todo/version' - +class App if ENV['GLI1_COMPATIBILITY'] -include GLI +extend GLI else -include GLI::App +extend GLI::App end sort_help (ENV['TODO_SORT_HELP'] || 'alpha').to_sym wrap_help_text (ENV['TODO_WRAP_HELP_TEXT'] || 'to_terminal').to_sym synopsis_format (ENV['SYNOPSES'] || 'full').to_sym @@ -68,7 +68,7 @@ on_error do |exception| # Error logic here # return false to skip default error handling true end - -exit run(ARGV) +end +exit App.run(ARGV)