Sha256: 0614a334ebc9de6388b5a82e80307ea2139dd73ccda4437846ce63b6d5be8947
Contents?: true
Size: 1.32 KB
Versions: 1
Compression:
Stored size: 1.32 KB
Contents
$:.unshift File.expand_path('../lib', __FILE__) require '<%= project_name %>/version' Gem::Specification.new do |spec| spec.name = '<%= project_name %>' spec.version = <%= project_module %>::VERSION spec.summary = '' spec.description = <<-END.gsub(/^ */, '') #{spec.summary} Further description here. END spec.author = '<%= `git config --get user.name`.chomp %>' spec.email = '<%= `git config --get user.email`.chomp %>' spec.homepage = 'http://github.com/<%= `git config --get github.user`.chomp %>/<%= project_name %>' # You may find these helpful: # spec.requirements = ['git'] # spec.required_rubygems_version = ">= 1.3.6" # spec.add_runtime_dependency 'nokogiri' # spec.add_development_dependency 'cucumber' # spec.add_bundler_dependencies # though I'm not sure how to use this yet... def spec.git_files(glob=nil) `git ls-files -z --cached --other --exclude-standard #{glob}`.split("\0") end spec.files = spec.git_files spec.executables = spec.git_files('bin/*').map &File.method(:basename) spec.extensions = spec.git_files('ext/**/extconf.rb') spec.test_files = spec.git_files('test/{,**/}*_test.rb') spec.extra_rdoc_files = spec.git_files('{,**/}*.rdoc') spec.rdoc_options = %W( --main README.rdoc --title #{spec.full_name} --inline-source ) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoe-0.5.1 | lib/shoe/templates/gemspec.erb |