Sha256: 2b94b0ac74d1d1c66c9e9e20f703036c2156bb04cf3c5ad82ed43da14445da55

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 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.author								= "<%= config[:author_name] %>"
  s.email									= "<%= config[:author_email] %>"
  s.homepage							= "<%= config[:gem_url] %>"
  s.summary								= "TODO: Add gem summary here."
  s.description						= "TODO: Add gem description here."
	s.license								= "MIT"
  <%- if config[:post_install_message] -%>
	s.post_install_message	= "<%= config[:post_install_message] %>"
	<%- end -%>

	s.required_ruby_version = "~> <%= config[:ruby_version] %>"
  <%- if config[:bin] -%>
	s.add_dependency "thor"
	s.add_dependency "thor_plus"
	<%- end -%>
  <%- if config[:rails] -%>
	s.add_dependency "rails", "~> <%= config[:rails_version] %>"
	<%- end -%>
  <%- if config[:travis] -%>
	s.add_development_dependency "rake"
	<%- end -%>
  <%- if config[:rspec] -%>
	s.add_development_dependency "rspec"
	<%- end -%>
  <%- if config[:bin] -%>
	s.add_development_dependency "aruba"
	<%- end -%>

  s.files            = Dir["lib/**/*"]
  s.extra_rdoc_files = Dir["README*", "CHANGELOG*", "LICENSE*"]
  <%- if config[:bin] -%>
	s.executables      << "<%= config[:gem_name] %>"
	<%- end -%>
  s.require_paths    = ["lib"]
end

Version data entries

1 entries across 1 versions & 1 rubygems

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