Sha256: 570cbd61aa867547bb7837158155c471e3344424170f7440ebcaea2f8841a66c

Contents?: true

Size: 526 Bytes

Versions: 2

Compression:

Stored size: 526 Bytes

Contents

namespace :versionator do
  desc "patch version"
  task :patch => :environment do
    versionator = Versionator::Version.new
    output = versionator.release(:patch)
    puts output    
  end

  desc "minor version"
  task :minor => :environment do
    versionator = Versionator::Version.new
    output = versionator.release(:minor)
    puts output    
  end

  desc "major version"
  task :major => :environment do
    versionator = Versionator::Version.new
    output = versionator.release(:major)
    puts output
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
versionator-0.1.0 lib/versionator/railties/versionator.rake
versionator-0.0.4 lib/versionator/railties/versionator.rake