Sha256: 89f023a8f83b63d460ba8d0c609f1d30e23eca30d2559ceec4a73c4552991755
Contents?: true
Size: 733 Bytes
Versions: 120
Compression:
Stored size: 733 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::RubygemsDotOrgTasks.new # # Easy enough, right? class RubygemsDotOrgTasks < ::Rake::TaskLib attr_accessor :jeweler def initialize yield self if block_given? define end def jeweler @jeweler ||= Rake.application.jeweler end def define namespace :rubygems do desc "Release gem to Gemcutter" task :release => [:gemspec, :build] do jeweler.release_gem_to_rubygems end end task :release => 'rubygems:release' end end end
Version data entries
120 entries across 66 versions & 6 rubygems