Sha256: f4a8e04494ae3dbbb127b01be73766325e194f44c80715a316fe4a7b6667b529
Contents?: true
Size: 358 Bytes
Versions: 3
Compression:
Stored size: 358 Bytes
Contents
module Gemsmith module Skeletons # Configures Rubocop support. class RubocopSkeleton < BaseSkeleton def create return unless configuration.create_rubocop? cli.template "%gem_name%/.rubocop.yml.tt", configuration.to_h cli.template "%gem_name%/lib/tasks/rubocop.rake.tt", configuration.to_h end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gemsmith-6.2.0 | lib/gemsmith/skeletons/rubocop_skeleton.rb |
gemsmith-6.1.0 | lib/gemsmith/skeletons/rubocop_skeleton.rb |
gemsmith-6.0.0 | lib/gemsmith/skeletons/rubocop_skeleton.rb |