Sha256: 99b37f60857ae4af766851ed40e070838021e2d4df75d6f26798a28fc5831d67

Contents?: true

Size: 1.67 KB

Versions: 1

Compression:

Stored size: 1.67 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 "simplecov", "~> 0.11"
  spec.add_development_dependency "simplecov-rcov", "~> 0.2"
  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

1 entries across 1 versions & 1 rubygems

Version Path
creategem-0.3.2 templates/gem_scaffold/%gem_name%.gemspec.tt