exec/language-identifier.rb in opener-language-identifier-3.1.7 vs exec/language-identifier.rb in opener-language-identifier-4.1.0
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
require 'opener/daemons'
+
require_relative '../lib/opener/language_identifier'
-options = Opener::Daemons::OptParser.parse!(ARGV)
-daemon = Opener::Daemons::Daemon.new(Opener::LanguageIdentifier, options)
+daemon = Opener::Daemons::Daemon.new(Opener::LanguageIdentifier)
daemon.start