lib/ayadn.rb in ayadn-1.1.0 vs lib/ayadn.rb in ayadn-1.1.1

- old
+ new

@@ -1,12 +1,13 @@ # encoding: utf-8 require_relative 'ayadn/version' %w{rest_client json thor rainbow/ext/string terminal-table yaml logger daybreak fileutils io/console}.each { |r| require "#{r}" } -# winPlatforms = ['mswin', 'mingw', 'mingw_18', 'mingw_19', 'mingw_20', 'mingw32'] -# case Gem::Platform.local.os -# when *winPlatforms -# require 'win32console' -# end +winPlatforms = ['mswin', 'mingw', 'mingw_18', 'mingw_19', 'mingw_20', 'mingw32'] +case Gem::Platform.local.os +when *winPlatforms + require 'win32console' + require 'pstore' +end require_relative 'ayadn/app'