Sha256: c8b71feb38191fcd70c68677096ca42c75de34e79251d2c5e436aa182d6ad74d

Contents?: true

Size: 280 Bytes

Versions: 7

Compression:

Stored size: 280 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

7 entries across 7 versions & 1 rubygems

Version Path
iqvoc-3.5.3 lib/tasks/heroku.rake
iqvoc-3.5.2 lib/tasks/heroku.rake
iqvoc-3.5.1 lib/tasks/heroku.rake
iqvoc-3.5.0 lib/tasks/heroku.rake
iqvoc-3.4.0 lib/tasks/heroku.rake
iqvoc-3.3.4 lib/tasks/heroku.rake
iqvoc-3.3.3 lib/tasks/heroku.rake