Sha256: 99047c98df5b50bebca2cf54a207e7c3196c526d08cac9f4131220d8388d9464
Contents?: true
Size: 537 Bytes
Versions: 3
Compression:
Stored size: 537 Bytes
Contents
# frozen_string_literal: true require 'rake/release/spec' require 'rake/release/task' require 'bundler' require 'pathname' module Rake module Release class << self def autodetect! specs = Spec.scan Task.pwd.join '{*/*/,*/,}*.gemspec' specs.uniq!(&:name) if specs.size == 1 Rake::Release::Task.new specs.first else specs.each do |spec| Rake::Release::Task.new spec, namespace: spec.name end end end end autodetect! end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rake-release-1.3.0 | lib/rake/release.rb |
rake-release-1.2.1 | lib/rake/release.rb |
rake-release-1.2.0 | lib/rake/release.rb |