Sha256: 4fc69b58362134da57c8321df3728307932ed7a26858a1f3273276b7a4951ca1
Contents?: true
Size: 775 Bytes
Versions: 21
Compression:
Stored size: 775 Bytes
Contents
desc 'Check that files included in generators match those in use by newgem itself' task :generator_report do files = [ %w( script/generate app_generators/newgem ), %w( script/destroy app_generators/newgem ), %w( tasks/deployment.rake app_generators/newgem ), %w( tasks/environment.rake app_generators/newgem ), %w( test/test_generator_helper.rb rubygems_generators/component_generator ), %w( tasks/website.rake newgem_generators/website ), ] # add "templates/#{source}" to each 2nd string end # def identical?(source, destination, &block) # return false if File.directory? destination # source = block_given? ? File.open(source) {|sf| yield(sf)} : IO.read(source) # destination = IO.read(destination) # source == destination # end
Version data entries
21 entries across 21 versions & 1 rubygems