Sha256: 82566808bf2d957c81f52c4504bc0ba26920a875389e440a8cf503497e646a27

Contents?: true

Size: 438 Bytes

Versions: 97

Compression:

Stored size: 438 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'

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

    def copy_javascript_file
      copy_file('install.js', 'vendor/assets/javascripts/active_frontend.js')
    end

    def copy_stylesheet_file
      copy_file('install.scss', 'vendor/assets/stylesheets/active_frontend.scss')
    end

  end
end

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
active_frontend-18.0.1 lib/generators/active_frontend/install_generator.rb
active_frontend-18.0.0 lib/generators/active_frontend/install_generator.rb
active_frontend-17.7.0 lib/generators/active_frontend/install_generator.rb
active_frontend-17.6.3 lib/generators/active_frontend/install_generator.rb
active_frontend-17.6.2 lib/generators/active_frontend/install_generator.rb
active_frontend-17.6.1 lib/generators/active_frontend/install_generator.rb
active_frontend-17.6.0 lib/generators/active_frontend/install_generator.rb
active_frontend-17.5.1 lib/generators/active_frontend/install_generator.rb
active_frontend-17.5.0 lib/generators/active_frontend/install_generator.rb
active_frontend-17.4.1 lib/generators/active_frontend/install_generator.rb
active_frontend-17.4.0 lib/generators/active_frontend/install_generator.rb
active_frontend-17.3.1 lib/generators/active_frontend/install_generator.rb
active_frontend-17.3.0 lib/generators/active_frontend/install_generator.rb
active_frontend-17.2.0 lib/generators/active_frontend/install_generator.rb
active_frontend-17.1.4 lib/generators/active_frontend/install_generator.rb
active_frontend-17.1.3 lib/generators/active_frontend/install_generator.rb
active_frontend-17.1.2 lib/generators/active_frontend/install_generator.rb
active_frontend-17.1.1 lib/generators/active_frontend/install_generator.rb
active_frontend-17.1.0 lib/generators/active_frontend/install_generator.rb
active_frontend-17.0.4 lib/generators/active_frontend/install_generator.rb