Sha256: 611a59172e01afb9fb3717c49d583f322b1ac5c48e7f258d6e7a750dd338fc30

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

module CertFileMaker
  class Railtie < Rails::Railtie
    config.before_configuration do
      CertFileMaker.validate
    end

    initializer 'cert_file_maker.generate', before: 'active_record.initialize_database' do
      CertFileMaker.generate
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cert_file_maker-0.0.7 lib/cert_file_maker/railtie.rb
cert_file_maker-0.0.6 lib/cert_file_maker/railtie.rb