lib/rubysmith/extensions/pragmater.rb in rubysmith-7.2.0 vs lib/rubysmith/extensions/pragmater.rb in rubysmith-7.3.0
- old
+ new
@@ -12,10 +12,23 @@
using Refinements::Pathname
CLIENT = ::Pragmater::Inserter.new(
settings: ::Pragmater::Configuration::Model[
comments: ["# frozen_string_literal: true"],
- patterns: %w[**/*.rake **/*.rb *.gemspec exe/* bin/* config.ru *file]
+ patterns: %w[
+ **/*.rake
+ **/*.rb
+ *.gemspec
+ exe/*
+ bin/console
+ bin/rake
+ bin/rspec
+ bin/rubocop
+ bin/setup
+ config.ru
+ Gemfile
+ Rakefile
+ ]
]
).freeze
def initialize(client: CLIENT, **)
@client = client