Sha256: 63e49c9efa10b13779463d452c73de2dae71439ea5fdc044261f191b82313c0e

Contents?: true

Size: 1.63 KB

Versions: 2

Compression:

Stored size: 1.63 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require '<%= name %>/version'
Gem::Specification.new do |spec|
  spec.name          = '<%= name %>'
  spec.version       = <%= MiscUtils.camel_case(name) %>::VERSION
  spec.authors       = ['<%= options[:author] %>']
  spec.email         = ['<%= options[:email] %>']
  spec.summary       = %q{CLI template for <%= MiscUtils.camel_case(name) %>}
  spec.description   = %q{The starting template for <%= MiscUtils.camel_case(name) %>}
  spec.homepage      = 'https://github.com/<%= options[:github_id] %>/<%= name %>'
  spec.required_ruby_version = ">= 1.9.3"
  spec.license       = 'MIT'
  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  # runtime dependencies
  spec.add_runtime_dependency 'activesupport-core-ext', '~> 4.0.0.2'
  spec.add_runtime_dependency 'thor', '~> 0.19.1'

  # development dependencies
  spec.add_development_dependency 'awesome_print', '~> 1.2.0'
  spec.add_development_dependency 'bundler', '~> 1.7.0'
  spec.add_development_dependency 'gem-ctags', '~> 1.0.6'
  spec.add_development_dependency 'guard', '~> 2.6.1'
  spec.add_development_dependency 'guard-rspec', '~> 4.3.1'
  spec.add_development_dependency 'pry', '~> 0.10.0'
  spec.add_development_dependency 'rake', '~> 10.3.2'
  spec.add_development_dependency 'rspec', '~> 3.0.0'
  spec.add_development_dependency 'rubocop', '~> 0.24.0'
  spec.add_development_dependency 'yard', '~> 0.8.7'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gem_bootstrap-0.2.4 templates/newgem-rspec.gemspec.tt
gem_bootstrap-0.2.3 templates/newgem-rspec.gemspec.tt