Sha256: 9136bdfb5ae9aac6d9bc2ecc4acccf714a8f070c74ab49bc26879d5ee4c601a1

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

# coding: utf-8
# frozen_string_literal: true

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require '<%= name %>'

Gem::Specification.new do |spec|
  spec.name          = '<%= name %>'
  spec.version       = <%= namespace %>::VERSION
  spec.authors       = ['<%= author %>']
  spec.email         = ['<%= email %>']
  spec.homepage      = 'https://github.com/<%= github %>/<%= name %>'
  spec.license       = 'MIT'

  spec.summary       = '<%= summary %>'
  spec.description   = <<~DESCRIPTION.chomp
<%= description.lines.map { |line| (' ' * 4) + line }.join %>
  DESCRIPTION

  spec.files = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.add_dependency 'version', '~> 1.0.0'
  spec.add_development_dependency 'bundler', '~> 1.14'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
  spec.add_development_dependency 'rubocop', '~> 0.48.1'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
observe_event-0.1.0 templates/observe_event.gemspec.erb