Sha256: d686f1f49a7ebf19961b3bdf4ab611aa19984dab661f2721e765266a769ccb9a

Contents?: true

Size: 1.66 KB

Versions: 1

Compression:

Stored size: 1.66 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']
  spec.add_runtime_dependency 'activesupport-core-ext', '~> 4.0.0.2'
  spec.add_runtime_dependency 'thor', '~> 0.19.1'
  spec.add_development_dependency 'awesome_print', '~> 1.2.0'
  spec.add_development_dependency 'bundler', '~> 1.7.3'
  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.1'
  spec.add_development_dependency 'pry-byebug', '~> 2.0.0' if RUBY_VERSION >= '2.0.0'
  spec.add_development_dependency 'rake', '~> 10.3.2'
  spec.add_development_dependency 'rspec', '~> 3.1.0'
  spec.add_development_dependency 'rubocop', '~> 0.26.1'
  spec.add_development_dependency 'yard', '~> 0.8.7'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gem_bootstrap-0.2.5 templates/newgem-rspec.gemspec.tt