Sha256: 8562bb701494afdd1c0e5b4276bdd6fbc35209339b477a600ad2cd7883b50378

Contents?: true

Size: 445 Bytes

Versions: 5

Compression:

Stored size: 445 Bytes

Contents

require 'bundler'
Bundler.setup(:default, :test)
require 'padrino'

# Defines our constants
PADRINO_ENV  = ENV["PADRINO_ENV"] ||= ENV["RACK_ENV"] ||= "development"  unless defined?(PADRINO_ENV)
PADRINO_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))


##
# Add here your before load hooks
#
Padrino.before_load do
  ::I18n.default_locale = :en
end

##
# Add here your after load hooks
#
Padrino.after_load do
end

Padrino.load!

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
padrino-localization-0.2.0 test/test_app/config/boot.rb
localization-middleware-0.1.0 test/test_app/config/boot.rb
padrino-localization-0.1.3 test/test_app/config/boot.rb
padrino-localization-0.1.2 test/test_app/config/boot.rb
padrino-localization-0.1.1 test/test_app/config/boot.rb