Sha256: 28ff282aa97cfc88c84b84853ec6c12a571df74ff4394b16195d3245f49a602b

Contents?: true

Size: 311 Bytes

Versions: 17

Compression:

Stored size: 311 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'

module ActiveArchive
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    def copy_initializer_file
      copy_file('install.rb', 'config/initializers/active_archive.rb')
    end

  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
active_archive-6.1.0 lib/generators/active_archive/install_generator.rb
active_archive-6.0.2 lib/generators/active_archive/install_generator.rb
active_archive-6.0.1 lib/generators/active_archive/install_generator.rb
active_archive-6.0.0 lib/generators/active_archive/install_generator.rb
active_archive-5.3.0 lib/generators/active_archive/install_generator.rb
active_archive-5.2.2 lib/generators/active_archive/install_generator.rb
active_archive-5.2.1 lib/generators/active_archive/install_generator.rb
active_archive-5.2.0 lib/generators/active_archive/install_generator.rb
active_archive-5.1.7 lib/generators/active_archive/install_generator.rb
active_archive-5.1.6 lib/generators/active_archive/install_generator.rb
active_archive-5.1.5 lib/generators/active_archive/install_generator.rb
active_archive-5.1.4 lib/generators/active_archive/install_generator.rb
active_archive-5.1.3 lib/generators/active_archive/install_generator.rb
active_archive-5.1.2 lib/generators/active_archive/install_generator.rb
active_archive-5.1.1 lib/generators/active_archive/install_generator.rb
active_archive-5.1.0 lib/generators/active_archive/install_generator.rb
active_archive-5.0.0 lib/generators/active_archive/install_generator.rb