Sha256: f28d5f77ff340f7dbeb9dde0c21d9d9f9258bf51d71bd9304ed3acb0078db162

Contents?: true

Size: 1.56 KB

Versions: 9

Compression:

Stored size: 1.56 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", "~> 11.1"
  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 @repository.public? -%>
  spec.add_development_dependency "coveralls"
<% end %>
<% if @plugin -%>
  spec.add_development_dependency "sqlite3"
<% end %>
<% if @executable %>
  spec.add_dependency "thor", "~> 0.19"
<% end %>
<% if @plugin -%>
  spec.add_dependency "rails", "~> 4.2.6"
<% end %>
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
creategem-0.4.4 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.4.3 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.4.2 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.4.1 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.4.0 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.3.4 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.3.3 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.3.1 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.3.0 templates/gem_scaffold/%gem_name%.gemspec.tt