Sha256: d29771ab3078d9c765886373881909976a05d794c55ea0d67ce99aa3052a7be0

Contents?: true

Size: 1.72 KB

Versions: 14

Compression:

Stored size: 1.72 KB

Contents

require 'base64'
require 'stringio'
require 'data_uri'
require 'securerandom'
require 'isomorfeus-transport'
require 'isomorfeus/data/config'
require 'isomorfeus/data/attribute_support'
require 'isomorfeus/data/field_support'
require 'isomorfeus/data/generic_class_api'
require 'isomorfeus/data/generic_instance_api'

if RUBY_ENGINE == 'opal'
  require 'isomorfeus/data/reducer'
  Isomorfeus::Data::Reducer.add_reducer_to_store
  Isomorfeus.zeitwerk.push_dir('isomorfeus_data')
  require_tree 'isomorfeus_data', autoload: true
  Isomorfeus.zeitwerk.push_dir('data')
else
  require 'fileutils'
  require 'uri'
  require 'oj'
  require 'active_support'
  require 'active_support/core_ext/hash'

  require 'isomorfeus-ferret'
  require 'isomorfeus/data/ferret_accelerator'

  require 'isomorfeus-hamster'
  require 'isomorfeus/data/hamster_storage_expander'
  require 'isomorfeus/data/hamster_accelerator'

  require 'isomorfeus_data/lucid_query_result'
  require 'isomorfeus_data/lucid_object/mixin'
  require 'isomorfeus_data/lucid_object/base'
  require 'isomorfeus_data/lucid_document/mixin'
  require 'isomorfeus_data/lucid_document/base'
  require 'isomorfeus_data/lucid_query/mixin'
  require 'isomorfeus_data/lucid_query/base'
  require 'isomorfeus_data/lucid_file/mixin'
  require 'isomorfeus_data/lucid_file/base'

  require 'isomorfeus/data/handler/generic'

  require 'iso_opal'
  Opal.append_path(__dir__.untaint) unless IsoOpal.paths.include?(__dir__.untaint)
  uri_path = File.expand_path(File.join(__dir__.untaint, '..', 'opal'))
  Opal.append_path(uri_path) unless IsoOpal.paths.include?(uri_path)

  path = File.expand_path(File.join('app', 'data'))

  Isomorfeus.zeitwerk.push_dir(path)
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
isomorfeus-data-2.0.19 lib/isomorfeus-data.rb
isomorfeus-data-2.0.18 lib/isomorfeus-data.rb
isomorfeus-data-2.0.17 lib/isomorfeus-data.rb
isomorfeus-data-2.0.16 lib/isomorfeus-data.rb
isomorfeus-data-2.0.15 lib/isomorfeus-data.rb
isomorfeus-data-2.0.14 lib/isomorfeus-data.rb
isomorfeus-data-2.0.13 lib/isomorfeus-data.rb
isomorfeus-data-2.0.12 lib/isomorfeus-data.rb
isomorfeus-data-2.0.11 lib/isomorfeus-data.rb
isomorfeus-data-2.0.10 lib/isomorfeus-data.rb
isomorfeus-data-2.0.9 lib/isomorfeus-data.rb
isomorfeus-data-2.0.8 lib/isomorfeus-data.rb
isomorfeus-data-2.0.7 lib/isomorfeus-data.rb
isomorfeus-data-2.0.6 lib/isomorfeus-data.rb