Sha256: a0c7eb5dbb14aed1381216e28a1f97f3aea21a63d5d6c2404909d621efe9e96d

Contents?: true

Size: 272 Bytes

Versions: 23

Compression:

Stored size: 272 Bytes

Contents

namespace :heroku do
  task :config do
    require 'securerandom'

    HEROKU_CONFIG = %W(
      HEROKU=true
      RACK_ENV=heroku
      RAILS_ENV=heroku
      SECRET_TOKEN=#{SecureRandom.hex(64)}
    )

    system "heroku config:add #{HEROKU_CONFIG.join(' ')}"
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
iqvoc-3.5.6 lib/tasks/heroku.rake
iqvoc-3.5.5 lib/tasks/heroku.rake
iqvoc-3.5.4 lib/tasks/heroku.rake