ronin.gemspec in ronin-1.5.0.rc1 vs ronin.gemspec in ronin-1.5.0.rc2
- old
+ new
@@ -21,11 +21,12 @@
gem.email = gemspec['email']
gem.homepage = gemspec['homepage']
glob = lambda { |patterns| gem.files & Dir[*patterns] }
- gem.files = `git ls-files`.split($/)
- gem.files = glob[gemspec['files']] if gemspec['files']
+ gem.files = `git ls-files`.split($/)
+ gem.files = glob[gemspec['files']] if gemspec['files']
+ gem.files += Array(gemspec['generated_files'])
gem.executables = gemspec.fetch('executables') do
glob['bin/*'].map { |path| File.basename(path) }
end
gem.default_executable = gem.executables.first if Gem::VERSION < '1.7.'