Sha256: 53ba083a500021eebfcd197d7aff6d4250d658c07163ef927eac209e8b127391

Contents?: true

Size: 624 Bytes

Versions: 2

Compression:

Stored size: 624 Bytes

Contents

# frozen_string_literal: true

require 'solidus_dev_support/rake_tasks'

SolidusDevSupport::RakeTasks.class_eval do
  def install_changelog_task
    require 'github_changelog_generator/task'

    source_code_uri = URI.parse(gemspec.metadata['source_code_uri'])
    user, project = source_code_uri.path.split("/", 3)[1..2]

    GitHubChangelogGenerator::RakeTask.new(:changelog) do |config|
      config.user = user || 'solidus-contrib'
      config.project = project || gemspec.name
      config.future_release = "v#{gemspec.version}"
    end
  end
end

SolidusDevSupport::RakeTasks.install

task default: 'extension:specs'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_webhooks-0.4.0 Rakefile
solidus_webhooks-0.3.0 Rakefile