Sha256: a9f9dbe6a86417a993821e7a9194d6bf2954e34a747e7ec8cecded78d2bac31e

Contents?: true

Size: 963 Bytes

Versions: 4

Compression:

Stored size: 963 Bytes

Contents

# frozen_string_literal: true

$LOAD_PATH.push File.expand_path("lib", __dir__)

require "decidim/<%= component_name %>/version"

Gem::Specification.new do |s|
  s.version = Decidim::<%= component_module_name %>.version
  s.authors = ["<%= %x[git config user.name].chomp %>"]
  s.email = ["<%= %x[git config user.email].chomp %>"]
  s.license = "AGPL-3.0"
  s.homepage = "https://github.com/decidim/decidim-module-<%= component_name %>"
  s.required_ruby_version = "~> <%= required_ruby_version %>"

  s.name = "decidim-<%= component_name %>"
  s.summary = "A decidim <%= component_name %> module"
  s.description = "<%= component_description %>."

  s.files = Dir.chdir(__dir__) do
    `git ls-files -z`.split("\x0").select do |f|
      (File.expand_path(f) == __FILE__) ||
        f.start_with?(*%w(app/ config/ db/ lib/ LICENSE-AGPLv3.txt Rakefile README.md))
    end
  end

  s.add_dependency "decidim-core", Decidim::<%= component_module_name %>.version
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-generators-0.27.9 lib/decidim/generators/component_templates/decidim-component.gemspec.erb
decidim-generators-0.27.8 lib/decidim/generators/component_templates/decidim-component.gemspec.erb
decidim-generators-0.27.7 lib/decidim/generators/component_templates/decidim-component.gemspec.erb
decidim-generators-0.27.6 lib/decidim/generators/component_templates/decidim-component.gemspec.erb