Sha256: a01b27637cfce781fc246a7214bd2ebd3d10ba8f87c7afdff5ffd96cff3e52d9

Contents?: true

Size: 1.44 KB

Versions: 6

Compression:

Stored size: 1.44 KB

Contents

# frozen_string_literal: true

require_relative 'lib/<%= file_name %>/version'

Gem::Specification.new do |spec|
  spec.name = '<%= file_name %>'
  spec.version = <%= class_name %>::VERSION
  spec.authors = <%= gemspec.authors.inspect.gsub('"', "'") %>
  spec.email = '<%= gemspec.email %>'

  spec.summary = '<%= gemspec.summary %>'
  <% if gemspec.description %>spec.description = '<%= gemspec.description %>'
  <% end %>spec.homepage = '<%= gemspec.homepage %>'
  spec.license = '<%= gemspec.license %>'

  spec.metadata['homepage_uri'] = spec.homepage
  spec.metadata['source_code_uri'] = '<%= gemspec.metadata["source_code_uri"] %>'
  spec.metadata['changelog_uri'] = '<%= gemspec.metadata["changelog_uri"] %>'

  spec.required_ruby_version = Gem::Requirement.new('~> 2.5')

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  files = Dir.chdir(__dir__) { `git ls-files -z`.split("\x0") }

  spec.files = files.grep_v(%r{^(test|spec|features)/})
  spec.test_files = files.grep(%r{^(test|spec|features)/})
  spec.bindir = "exe"
  spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_dependency 'solidus_core', ['>= 2.0.0', '< 3']
  spec.add_dependency 'solidus_support', '~> 0.5'

  spec.add_development_dependency 'solidus_dev_support', '<%= SolidusDevSupport.gem_version.approximate_recommendation %>'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_dev_support-2.4.3 lib/solidus_dev_support/templates/extension/extension.gemspec.tt
solidus_dev_support-2.4.2 lib/solidus_dev_support/templates/extension/extension.gemspec.tt
solidus_dev_support-2.4.1 lib/solidus_dev_support/templates/extension/extension.gemspec.tt
solidus_dev_support-2.4.0 lib/solidus_dev_support/templates/extension/extension.gemspec.tt
solidus_dev_support-2.3.0 lib/solidus_dev_support/templates/extension/extension.gemspec.tt
solidus_dev_support-2.2.0 lib/solidus_dev_support/templates/extension/extension.gemspec.tt