Sha256: 7db0ef0a420b2bcfb1096942d2a45186bb60762c1b52df5210b0264a6dffdce7

Contents?: true

Size: 1.99 KB

Versions: 7

Compression:

Stored size: 1.99 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"
  spec.add_development_dependency "quiet_assets"
  spec.add_development_dependency "minitest-screenshot-reporter", "~> 0.0.2"
  spec.add_development_dependency "capybara", "~> 2.6.0"
  spec.add_development_dependency "capybara_minitest_spec", "~> 1.0.5"
  spec.add_development_dependency "selenium-webdriver", "~> 2.49.0"
  spec.add_development_dependency "poltergeist", "~> 1.8.1"
  spec.add_development_dependency "database_cleaner", "~> 1.5.2"
<% end %>
<% if @executable %>
  spec.add_dependency "thor", "~> 0.19"
<% end %>
<% if @plugin -%>
  spec.add_dependency "rails", "~> 4.2.6"
<% end %>
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
creategem-0.7.4 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.7.3 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.7.2 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.7.1 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.7.0 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.6.0 templates/gem_scaffold/%gem_name%.gemspec.tt
creategem-0.5.0 templates/gem_scaffold/%gem_name%.gemspec.tt