Sha256: 8d5c5fbaac55c60e7bad99bf3aa94ee8191ce146a51d00ea3f9c53fdb0874ade

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'
require 'securerandom'

module MissionKontrolRelay
  module Generators
    class MissionKontrolRelayGenerator < Rails::Generators::Base
      def generate_token_for_variable
        ENV['MISSION_KONTROL_TOKEN'] = SecureRandom.uuid
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mission_kontrol_relay-0.1.2 lib/generators/mission_kontrol_relay/mission_kontrol_relay_generator.rb
mission_kontrol_relay-0.1.1 lib/generators/mission_kontrol_relay/mission_kontrol_relay_generator.rb
mission_kontrol_relay-0.1.0 lib/generators/mission_kontrol_relay/mission_kontrol_relay_generator.rb