Sha256: e3104903b17d1158207aa531edd20a45188724761f620a9e3a7a4a92f34084cc

Contents?: true

Size: 407 Bytes

Versions: 149

Compression:

Stored size: 407 Bytes

Contents

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

149 entries across 149 versions & 1 rubygems

Version Path
active_frontend-14.2.6 lib/generators/active_frontend/install_generator.rb
active_frontend-14.2.5 lib/generators/active_frontend/install_generator.rb
active_frontend-14.2.4 lib/generators/active_frontend/install_generator.rb
active_frontend-14.2.3 lib/generators/active_frontend/install_generator.rb
active_frontend-14.2.2 lib/generators/active_frontend/install_generator.rb
active_frontend-14.2.1 lib/generators/active_frontend/install_generator.rb
active_frontend-14.2.0 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.41 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.40 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.39 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.38 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.37 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.36 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.35 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.34 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.33 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.32 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.31 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.30 lib/generators/active_frontend/install_generator.rb
active_frontend-14.1.29 lib/generators/active_frontend/install_generator.rb