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-4.3.3 lib/tasks/heroku.rake
iqvoc-4.3.2 lib/tasks/heroku.rake
iqvoc-4.3.1 lib/tasks/heroku.rake
iqvoc-4.3.0 lib/tasks/heroku.rake
iqvoc-4.2.0 lib/tasks/heroku.rake
iqvoc-4.1.3 lib/tasks/heroku.rake
iqvoc-4.1.2 lib/tasks/heroku.rake
iqvoc-4.1.1 lib/tasks/heroku.rake
iqvoc-4.1.0 lib/tasks/heroku.rake
iqvoc-4.0.9 lib/tasks/heroku.rake
iqvoc-4.0.8 lib/tasks/heroku.rake
iqvoc-4.0.7 lib/tasks/heroku.rake
iqvoc-4.0.6 lib/tasks/heroku.rake
iqvoc-4.0.5 lib/tasks/heroku.rake
iqvoc-4.0.4 lib/tasks/heroku.rake
iqvoc-4.0.3 lib/tasks/heroku.rake
iqvoc-4.0.2 lib/tasks/heroku.rake
iqvoc-4.0.1 lib/tasks/heroku.rake
iqvoc-4.0.0 lib/tasks/heroku.rake
iqvoc-3.5.7 lib/tasks/heroku.rake