Sha256: 996a4144126f1521c0278bb18357db11a11d0218634479f9ec847feffc3144f1

Contents?: true

Size: 1.39 KB

Versions: 90

Compression:

Stored size: 1.39 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require '{{ gem_dirname }}/version'

Gem::Specification.new do |spec|
  spec.name          = "{{ gem_name }}"
  spec.version       = {{ gem_constant }}::VERSION
  spec.authors       = {{ gem_authors | to_json }}
  spec.email         = {{ gem_emails | to_json }}

  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      = "https://github.com/{{ git_user_name }}/{{ dir | basename }}"
  {% if gem_license is defined -%}
  spec.license       = "{{ gem_license }}"
  {%- endif %}
  
  {% if gem_allowed_push_host is defined -%}
  # Prevent pushing this gem to RubyGems.org
  if spec.respond_to?(:metadata)
    spec.metadata['allowed_push_host'] = "{{ gem_allowed_push_host }}"
  else
    raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
  end
  {%- endif %}

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

  spec.add_development_dependency "bundler", "~> 1.10"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec"
end

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
qb-0.1.9 roles/qb.gem/templates/gemspec.j2
qb-0.1.8 roles/qb.gem/templates/gemspec.j2
qb-0.1.7 roles/qb.gem/templates/gemspec.j2
qb-0.1.6 roles/qb.gem/templates/gemspec.j2
qb-0.1.5 roles/qb.gem/templates/gemspec.j2
qb-0.1.4 roles/qb.gem/templates/gemspec.j2
qb-0.1.3 roles/qb.gem/templates/gemspec.j2
qb-0.1.2 roles/qb.gem/templates/gemspec.j2
qb-0.1.1 roles/qb.gem/templates/gemspec.j2
qb-0.1.0 roles/qb.gem/templates/gemspec.j2