Sha256: 3a916784cf59545ea88b131ccdb62513d895df5d0e3d9c87c42f86a1eacad755

Contents?: true

Size: 350 Bytes

Versions: 17

Compression:

Stored size: 350 Bytes

Contents

# Switch Ree.logger to debug level
# Ree.set_logger_debug

if ENV['RUBY_ENV'] == 'test'
  Ree.enable_contracts
end

if ENV['RUBY_ENV'] == 'production'
  # Define preload context for registered objects
  Ree.preload_for(:production)

  # Use performance mode to load packages and registered objects based on schema files
  Ree.set_performance_mode
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ree-1.0.47 lib/ree/templates/init/ree.setup.rb
ree-1.0.46 lib/ree/templates/init/ree.setup.rb
ree-1.0.45 lib/ree/templates/init/ree.setup.rb
ree-1.0.44 lib/ree/templates/init/ree.setup.rb
ree-1.0.43 lib/ree/templates/init/ree.setup.rb
ree-1.0.42 lib/ree/templates/init/ree.setup.rb
ree-1.0.41 lib/ree/templates/init/ree.setup.rb
ree-1.0.40 lib/ree/templates/init/ree.setup.rb
ree-1.0.39 lib/ree/templates/init/ree.setup.rb
ree-1.0.38 lib/ree/templates/init/ree.setup.rb
ree-1.0.37 lib/ree/templates/init/ree.setup.rb
ree-1.0.36 lib/ree/templates/init/ree.setup.rb
ree-1.0.35 lib/ree/templates/init/ree.setup.rb
ree-1.0.34 lib/ree/templates/init/ree.setup.rb
ree-1.0.33 lib/ree/templates/init/ree.setup.rb
ree-1.0.32 lib/ree/templates/init/ree.setup.rb
ree-1.0.31 lib/ree/templates/init/ree.setup.rb