Sha256: 17efa2d47b14e67466663a6a283d63d1b3954b37216d57f3a0260cc165091d4b

Contents?: true

Size: 1022 Bytes

Versions: 5

Compression:

Stored size: 1022 Bytes

Contents

ENV['RAILS_DISABLE_DEPRECATED_TO_S_CONVERSION'] = 'true'
require 'table_print'
require 'roo'
require 'caxlsx'
require 'csv'
require 'net/ssh/gateway'
require 'arql/version'
require 'arql/id'
require 'arql/multi_io'
require 'arql/ext'
require 'arql/repl'
require 'arql/ssh_proxy'
require 'arql/app'
require 'arql/cli'
require 'arql/mysqldump'
require 'arql/vd'
require 'active_support/all'
require 'active_record'
require 'kaminari/activerecord'
require 'composite_primary_keys'
require 'ransack'

require 'arql/ext/active_record/base'
require 'arql/ext/active_record/relation'
require 'arql/ext/active_record/result'
require 'arql/ext/ransack/search'

$iruby = false

module Arql
  def self.create(options)
    if ::Object.const_defined?(:IRuby) && ::IRuby.const_defined?(:OStream) && $stdout.is_a?(IRuby::OStream)
      IRuby::Kernel.instance.switch_backend!(:pry)
      $iruby = true
    end
    App.create(options)
  end
end

if ::Object.const_defined?(:IRuby)
  require 'arql/chart'
  ::Kernel.include(Arql::Chart)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arql-0.4.11 lib/arql.rb
arql-0.4.10 lib/arql.rb
arql-0.4.8 lib/arql.rb
arql-0.4.7 lib/arql.rb
arql-0.4.6 lib/arql.rb