Sha256: 5d7efdc8a921ffc593890c806f819341f63c69064affc66bc7401da3a803746a

Contents?: true

Size: 1.76 KB

Versions: 16

Compression:

Stored size: 1.76 KB

Contents

require 'base64'
require 'stringio'
require 'data_uri'
require 'securerandom'
require 'isomorfeus-policy'
require 'isomorfeus-transport'
require 'isomorfeus-i18n'
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/document_accelerator'

  require 'isomorfeus-hamster'
  require 'isomorfeus/data/object_expander'
  require 'isomorfeus/data/object_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

16 entries across 16 versions & 1 rubygems

Version Path
isomorfeus-data-2.3.1 lib/isomorfeus-data.rb
isomorfeus-data-2.3.0 lib/isomorfeus-data.rb
isomorfeus-data-2.2.11 lib/isomorfeus-data.rb
isomorfeus-data-2.2.10 lib/isomorfeus-data.rb
isomorfeus-data-2.2.9 lib/isomorfeus-data.rb
isomorfeus-data-2.2.8 lib/isomorfeus-data.rb
isomorfeus-data-2.2.7 lib/isomorfeus-data.rb
isomorfeus-data-2.2.6 lib/isomorfeus-data.rb
isomorfeus-data-2.2.5 lib/isomorfeus-data.rb
isomorfeus-data-2.2.4 lib/isomorfeus-data.rb
isomorfeus-data-2.2.3 lib/isomorfeus-data.rb
isomorfeus-data-2.2.2 lib/isomorfeus-data.rb
isomorfeus-data-2.2.1 lib/isomorfeus-data.rb
isomorfeus-data-2.2.0 lib/isomorfeus-data.rb
isomorfeus-data-2.1.1 lib/isomorfeus-data.rb
isomorfeus-data-2.1.0 lib/isomorfeus-data.rb