Sha256: 08de3c746409c47b047ac2e71c0e40b2cc0141dd64b1be6623fba5bb5afdb505

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

require "rails"

module RailsKeyRotator
  class Railtie < Rails::Railtie
    config.before_initialize do
      KeyRotator.rotated?
    end
    rake_tasks do
      load "tasks/key_rotator.rake"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_key_rotator-0.2.2 lib/rails_key_rotator/railtie.rb
rails_key_rotator-0.2.1 lib/rails_key_rotator/railtie.rb