narou.rb in narou-1.5.11 vs narou.rb in narou-1.6.0
- old
+ new
@@ -14,14 +14,14 @@
at_exit do
puts "実行時間 #{Time.now - now}秒"
end
end
-require_relative "lib/globalsetting"
+require_relative "lib/inventory"
display_backtrace = ARGV.delete("--backtrace")
display_backtrace ||= $debug
$disable_color = ARGV.delete("--no-color")
-$disable_color ||= GlobalSetting.get["global_setting"]["no-color"]
+$disable_color ||= Inventory.load("global_setting", :global)["no-color"]
require_relative "lib/logger"
require_relative "lib/version"
require_relative "lib/commandline"