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-17.0.3 lib/generators/active_frontend/install_generator.rb
active_frontend-17.0.2 lib/generators/active_frontend/install_generator.rb
active_frontend-17.0.1 lib/generators/active_frontend/install_generator.rb
active_frontend-17.0.0 lib/generators/active_frontend/install_generator.rb
active_frontend-16.4.1 lib/generators/active_frontend/install_generator.rb
active_frontend-16.4.0 lib/generators/active_frontend/install_generator.rb
active_frontend-16.3.4 lib/generators/active_frontend/install_generator.rb
active_frontend-16.3.3 lib/generators/active_frontend/install_generator.rb
active_frontend-16.3.2 lib/generators/active_frontend/install_generator.rb
active_frontend-16.3.1 lib/generators/active_frontend/install_generator.rb
active_frontend-16.3.0 lib/generators/active_frontend/install_generator.rb
active_frontend-16.2.2 lib/generators/active_frontend/install_generator.rb
active_frontend-16.2.1 lib/generators/active_frontend/install_generator.rb
active_frontend-16.2.0 lib/generators/active_frontend/install_generator.rb
active_frontend-16.1.7 lib/generators/active_frontend/install_generator.rb
active_frontend-16.1.6 lib/generators/active_frontend/install_generator.rb
active_frontend-16.1.5 lib/generators/active_frontend/install_generator.rb
active_frontend-16.1.4 lib/generators/active_frontend/install_generator.rb
active_frontend-16.1.3 lib/generators/active_frontend/install_generator.rb
active_frontend-16.1.2 lib/generators/active_frontend/install_generator.rb