Sha256: fbbd8e1fbfc1ed136ee14330490d893d2d2931ab3a11f0ccc97c7d9014a624fd
Contents?: true
Size: 821 Bytes
Versions: 1
Compression:
Stored size: 821 Bytes
Contents
module Jumpup module Heroku class Env def self.all if Jumpup::Heroku.configuration.valid? { app: Jumpup::Heroku.configuration.app, staging_app: Jumpup::Heroku.configuration.staging_app, production_app: Jumpup::Heroku.configuration.production_app, run_database_tasks: Jumpup::Heroku.configuration.run_database_tasks }.delete_if { |k, v| v.nil? } else error_message = 'Check your `/config/initializers/jumpup-heroku.rb` and ' \ 'confirm you have defined only `app` or `staging_app` and `production_app` together ' \ 'more info here https://github.com/Helabs/jumpup-heroku' raise ConfigurationError, error_message end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jumpup-heroku-0.0.1 | lib/jumpup/heroku/env.rb |