Sha256: d8c61bb71a411be4613330ee34207834ee70944ce6ee1b140f1412d20888355b

Contents?: true

Size: 1.64 KB

Versions: 18

Compression:

Stored size: 1.64 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = 'psplugin_<%= plugin_name %>'
  spec.version       = <%= plugin_module_name %>::VERSION
  spec.authors       = ['Your name']
  spec.email         = ['you@somewhere']

  spec.summary       = %q{TODO: Write a short summary, because RubyGems requires one.}
  spec.description   = %q{TODO: Write a longer description or delete this line.}
  spec.homepage      = "TODO: Put your gem's website or public repo URL here."
  spec.license       = "MIT"

  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  # to allow pushing to a single host or delete this section to allow pushing to any host.
  if spec.respond_to?(:metadata)
    spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
    # This metadata is mandatory for PowerStencil !!
    spec.metadata['plugin_name'] = '<%= plugin_name %>'
  else
    raise 'RubyGems 2.0 or newer is required to protect against public gem pushes and PowerStencil plugin mechanism !'
  end

  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_development_dependency 'bundler', '~> 2.0.2'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'
  spec.add_development_dependency 'power_stencil', "~> <%= PowerStencil::VERSION %>"
end

Version data entries

18 entries across 9 versions & 1 rubygems

Version Path
power_stencil-0.7.4 etc/meta_templates/plugin_seed/psplugin_{entity}.gemspec
power_stencil-0.7.4 etc/templates/plugin_definition/psplugin_{entity}.gemspec
power_stencil-0.7.3 etc/meta_templates/plugin_seed/psplugin_{entity}.gemspec
power_stencil-0.7.3 etc/templates/plugin_definition/psplugin_{entity}.gemspec
power_stencil-0.7.2 etc/templates/plugin_definition/psplugin_{entity}.gemspec
power_stencil-0.7.2 etc/meta_templates/plugin_seed/psplugin_{entity}.gemspec
power_stencil-0.7.1 etc/meta_templates/plugin_seed/psplugin_{entity}.gemspec
power_stencil-0.7.1 etc/templates/plugin_definition/psplugin_{entity}.gemspec
power_stencil-0.7.0 etc/templates/plugin_definition/psplugin_{entity}.gemspec
power_stencil-0.7.0 etc/meta_templates/plugin_seed/psplugin_{entity}.gemspec
power_stencil-0.6.3 etc/templates/plugin_definition/psplugin_{entity}.gemspec
power_stencil-0.6.3 etc/meta_templates/plugin_seed/psplugin_{entity}.gemspec
power_stencil-0.6.2 etc/templates/plugin_definition/psplugin_{entity}.gemspec
power_stencil-0.6.2 etc/meta_templates/plugin_seed/psplugin_{entity}.gemspec
power_stencil-0.6.1 etc/meta_templates/plugin_seed/psplugin_{entity}.gemspec
power_stencil-0.6.1 etc/templates/plugin_definition/psplugin_{entity}.gemspec
power_stencil-0.6.0 etc/templates/plugin_definition/psplugin_{entity}.gemspec
power_stencil-0.6.0 etc/meta_templates/plugin_seed/psplugin_{entity}.gemspec