Sha256: 4d41b25c172118edd362ea66f0af8b87f43468a4f432fc8ed0f1a9629c26bb48

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

AppConfig = {
  :port => 4578,
  :environment => ENV['RACK_ENV'] || 'production'
}

AppConfig[:database] = case AppConfig[:environment]
                       when 'production'
                         './rest-assured.db'
                       else
                         File.expand_path("../../../db/#{AppConfig[:environment]}.db", __FILE__)
                       end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rest-assured-0.1.0 lib/rest-assured/config.rb