Sha256: f91d925a26501b9722aecf63d3c6246d56ae914d077776105f9ccdd7cb8c9f40

Contents?: true

Size: 716 Bytes

Versions: 4

Compression:

Stored size: 716 Bytes

Contents

module SpreePaymentCalculator
  module Generators
    class InstallGenerator < Rails::Generators::Base

      def add_javascripts
        #append_file "app/assets/javascripts/store/all.js", "//= require store/spree_payment_calculator\n"
        #append_file "app/assets/javascripts/admin/all.js", "//= require admin/spree_payment_calculator\n"
      end

      def add_stylesheets
        #inject_into_file "app/assets/stylesheets/store/all.css", " *= require store/spree_payment_calculator\n", :before => /\*\//, :verbose => true
        #inject_into_file "app/assets/stylesheets/admin/all.css", " *= require admin/spree_payment_calculator\n", :before => /\*\//, :verbose => true
      end
      
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_payment_calculator-1.1.0 lib/generators/spree_payment_calculator/install/install_generator.rb
spree_payment_calculator-1.0.2 lib/generators/spree_payment_calculator/install/install_generator.rb
spree_payment_calculator-1.0.1 lib/generators/spree_payment_calculator/install/install_generator.rb
spree_payment_calculator-1.0.0 lib/generators/spree_payment_calculator/install/install_generator.rb