Sha256: 86ad5ec20627f2dbb75c3e9a9b987d44be9c3ddca42b21a0e57b891a891cce62
Contents?: true
Size: 699 Bytes
Versions: 13
Compression:
Stored size: 699 Bytes
Contents
require 'rake' require 'rake/tasklib' class Jeweler # Rake tasks for putting a Jeweler gem on Gemcutter. # # Jeweler::Tasks.new needs to be used before this. # # Basic usage: # # Jeweler::Gemcutter.new # # Easy enough, right? class GemcutterTasks < ::Rake::TaskLib attr_accessor :jeweler def initialize yield self if block_given? self.jeweler = Rake.application.jeweler define end def define namespace :gemcutter do desc "Release gem to Gemcutter" task :release => [:gemspec, :build] do jeweler.release_gem_to_gemcutter end end task :release => 'gemcutter:release' end end end
Version data entries
13 entries across 13 versions & 2 rubygems