lib/stationed/generators/plugins/styles.rb in stationed-0.4.0 vs lib/stationed/generators/plugins/styles.rb in stationed-0.5.0

- old
+ new

@@ -13,21 +13,23 @@ return super unless options[:styles] gem 'bourbon' gem 'neat' gem 'bitters' remove_file 'app/assets/stylesheets/application.css' - copy_file 'application.scss', 'app/assets/stylesheets/application.scss' - copy_file 'layout.scss', 'app/assets/stylesheets/_layout.scss' - copy_file 'normalize.css', 'vendor/assets/stylesheets/normalize.css' + copy_file 'application.scss', 'app/assets/stylesheets/application.scss' + copy_file 'layout.scss', 'app/assets/stylesheets/_layout.scss' + copy_file '_input_wrapper_default.scss', 'app/assets/stylesheets/modules/_input_wrapper_default.scss' + copy_file '_error_notification.scss', 'app/assets/stylesheets/modules/_error_notification.scss' + copy_file 'normalize.css', 'vendor/assets/stylesheets/normalize.css' super end def run_bundle super return unless options[:styles] run 'bitters install' - FileUtils.mv 'bitters', 'app/assets/stylesheets/bitters' - gsub_file 'app/assets/stylesheets/bitters/_bitters.scss', %r{// @import}, '@import' + FileUtils.mv 'base', 'app/assets/stylesheets/base' + gsub_file 'app/assets/stylesheets/base/_base.scss', %r{// @import}, '@import' end end end end end