bin/ender in code-tools-5.0.1 vs bin/ender in code-tools-5.0.2
- old
+ new
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
require 'rubygems'
-require 'bundler/setup'
require 'methadone'
+require 'code_tools/version'
class Tool
include Methadone::Main
include Methadone::CLILogging
@@ -125,10 +125,10 @@
end
change_logger Methadone::CLILogger.new
description 'Ender - the line ending fixer'
- version '5.0.0'
+ version AppTools::VERSION
on("-o", "--output-file FILE", "The output file. Default is the same as the input file.")
on("-m", "--mode MODE",
"The convert mode, either auto, cr, lf, crlf. auto will use the most commonly occurring ending. "\
"Updates will only be done when this argument is given.") do |mode|