Sha256: f28ebc1dab0f628722cc95f4ec701fd47b641dc1a134e9a251e64e2d5e3d8c80

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "<%=config[:gem_name]%>/version"

Gem::Specification.new do |s|
  s.name        = "<%= config[:gem_name] %>"
  s.version     = <%= config[:gem_class] %>::VERSION
  s.platform    = <%= config[:gem_platform] %>
  s.authors     = ["<%= config[:author_name] %>"]
  s.email       = ["<%= config[:author_email] %>"]
  s.homepage    = "<%= config[:author_url] %>"
  s.summary     = "TODO: Add your gem summary here."
  s.description = "TODO: Add your gem description here."

  s.rdoc_options << "CHANGELOG.rdoc"
	s.required_ruby_version = "~> <%= config[:ruby_version] %>"
  <%- if config[:bin] -%>
	s.add_dependency "thor"
	<%- end -%>
  <%- if config[:rails] -%>
	s.add_dependency "rails", "~> <%= config[:rails_version] %>"
	<%- end -%>
  <%- if config[:rspec] -%>
	s.add_development_dependency "rspec"
	<%- end -%>
  <%- if config[:bin] -%>
	s.add_development_dependency "aruba"
	<%- end -%>
  <%- if config[:bin] -%>
	s.executables << "<%= config[:gem_name] %>"
	<%- end -%>

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map {|f| File.basename f}
  s.require_paths = ["lib"]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemsmith-0.5.0 lib/gemsmith/templates/gem.gemspec.tmp