Sha256: 0bbd7d2fcbfb64906c6678611773797fa6122575c611f8ad156cf7009ba5e00a
Contents?: true
Size: 761 Bytes
Versions: 2
Compression:
Stored size: 761 Bytes
Contents
rake "spree:install:migrations" insert_into_file File.join('config', 'routes.rb'), :after => "Application.routes.draw do\n" do " # Mount Spree's routes\n mount Spree::Core::Engine, :at => '/'\n" end # Fix uninitialized constant Spree::User::DestroyWithOrdersError template "spree_user_error_fix.rb", "config/initializers/spree_user_error_fix.rb" # remove all stylesheets except core %w(admin store).each do |ns| template "#{ns}/all.js", "app/assets/javascripts/#{ns}/all.js", :force => true template "#{ns}/all.css", "app/assets/stylesheets/#{ns}/all.css", :force => true end # Fix sass load error by using the converted css file template "store/screen.css", "app/assets/stylesheets/store/screen.css" run "rails g spree_variant_options:install"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_variant_options-0.4.1 | test/dummy_hooks/before_migrate.rb |
spree_variant_options-0.4.0 | test/dummy_hooks/before_migrate.rb |