bake/modernize/gemspec.rb in bake-modernize-0.12.2 vs bake/modernize/gemspec.rb in bake-modernize-0.13.0

- old
+ new

@@ -1,5 +1,7 @@ +# Released under the MIT License. +# Copyright, 2020-2022, by Samuel Williams. # Rewrite the current gemspec. def gemspec path = default_gemspec_path buffer = StringIO.new @@ -125,12 +127,12 @@ dotfiles = true end end if dotfiles - return "Dir.glob('{#{directories.keys.join(',')}}/**/*', File::FNM_DOTMATCH, base: __dir__)" + return "Dir.glob(['{#{directories.keys.join(',')}}/**/*', '*.md'], File::FNM_DOTMATCH, base: __dir__)" else - return "Dir['{#{directories.keys.join(',')}}/**/*', base: __dir__]" + return "Dir['{#{directories.keys.join(',')}}/**/*', '*.md', base: __dir__]" end end def format_dependency(dependency) requirements = dependency.requirements_list