Sha256: 08c5b9133e40891fa8776fa4958cee694d0e8e9071dcfc820e6d5b4fdbc4f6f9

Contents?: true

Size: 1.33 KB

Versions: 5

Compression:

Stored size: 1.33 KB

Contents

$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require '<%= @gem_name %>/version'

Gem::Specification.new do |spec|
  spec.name          = "<%= @gem_name %>"
  spec.version       = <%= @class_name %>::VERSION
  spec.authors       = ["<%= @repository.user_name %>"]
  spec.email         = ["<%= @repository.user_email %>"]
  spec.summary       = %q{TODO Summary what the gem is for}
  spec.description   = %q{TODO Longer description of the gem}
  spec.homepage      = "<%= @repository.url %>"
<% if @repository.public? -%>
  spec.license       = "MIT"
<% end -%>

<% if @repository.private? -%>
  spec.metadata['allowed_push_host'] = "<%= @repository.gem_server_url %>"
<% end -%>

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
<% if @executable -%>
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
<% end -%>
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.11"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "minitest", "~> 5.8"
  spec.add_development_dependency "minitest-reporters", "~> 1.1"
  spec.add_development_dependency "gem-release", "~> 0.7"
  spec.add_development_dependency "geminabox", "~> 0.13"
<% if @executable -%>
  spec.add_dependency "thor", "~> 0.19"
<% end %>
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
creategem-0.2.1 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.2.0 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.1.3 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.1.2 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.1.1 templates/gem_scaffold/%gem_name%.gemspec.tt