templates/gemspec.tt in projecter-0.0.2 vs templates/gemspec.tt in projecter-0.0.3
- old
+ new
@@ -2,17 +2,17 @@
# vim: ft=ruby
require File.expand_path('../lib/<%= config[:project] %>/version', __FILE__)
Gem::Specification.new do |gem|
- gem.authors = ["SET ME"]
- gem.email = ["SET ME"]
- gem.description = %q{I am an application stub}
- gem.summary = %q{app stub}
+ gem.authors = ['SET ME']
+ gem.email = ['SET ME']
+ gem.description = 'I am an application stub'
+ gem.summary = 'app stub'
- gem.files = `git ls-files`.split($\)
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
+ gem.executables = gem.files.grep(/^bin\//).map { |f| File.basename(f) }
+ gem.test_files = gem.files.grep(/^(test|spec|features)\//)
gem.name = '<%= config[:project] %>'
gem.require_paths = %w(lib)
gem.version = <%= config[:classname] %>::VERSION
# dependencies...