lib/smarter_csv.rb in smarter_csv-1.9.2 vs lib/smarter_csv.rb in smarter_csv-1.9.3
- old
+ new
@@ -1,20 +1,25 @@
# frozen_string_literal: true
-require "core_ext/hash"
-
require "smarter_csv/version"
+require "smarter_csv/file_io"
require "smarter_csv/options_processing"
+require "smarter_csv/auto_detection"
+require "smarter_csv/variables"
+require "smarter_csv/headers"
+require "smarter_csv/parse"
case RUBY_ENGINE
when 'ruby'
begin
if `uname -s`.chomp == 'Darwin'
require 'smarter_csv/smarter_csv.bundle'
else
+ # :nocov:
require_relative "smarter_csv/smarter_csv"
+ # :nocov:
end
- rescue Exception
+ rescue Exception # rubocop:disable Lint/RescueException
# require_relative 'smarter_csv/smarter_csv'
end
# :nocov:
# when 'truffleruby'
# puts "\n\n truffleruby case in the load path | RUBY_ENGINE: #{RUBY_ENGINE} , #{RUBY_VERSION}\n\n"