Sha256: a39dfea9e43ee63ac307510c0d09152afcbcb1b308fd163e7a24dab72bfea06d
Contents?: true
Size: 520 Bytes
Versions: 6
Compression:
Stored size: 520 Bytes
Contents
module Stationed module Generators module Plugins module Spring def self.prepended(base) base.class_option :spring, type: :boolean, default: true, desc: 'Add Rspec spring commands and configuration' end def finish_template return super unless options[:spring] gem 'spring-commands-rspec', group: :development copy_file 'spring.rb', 'config/spring.rb' super end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems