Sha256: 4695f1ee615c3223edd483e64807e74da56b8f1cc5aeba634eb6f6d721b9a75a

Contents?: true

Size: 550 Bytes

Versions: 3

Compression:

Stored size: 550 Bytes

Contents

require 'rake'

namespace :drg do
  desc 'Pins your gems in the Gemfile to the current version (using Gemfile.lock)'
  task :pin do
    DRG::Tasks::Pinner.new.perform
  end

  namespace :pin do
    task :minor do
      DRG::Tasks::Pinner.new(:minor).perform
    end

    task :major do
      DRG::Tasks::Pinner.new(:major).perform
    end
  end

  desc 'Updates your gems in the Gemfile to the latest compatible version'
  task :update do
    # sh 'cd /Users/ryanbuckley/apps/dontspreadit && which ruby'
    DRG::Tasks::Updater.new.perform
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
drg-0.4.2 lib/tasks/drg.rake
drg-0.4.1 lib/tasks/drg.rake
drg-0.4.0 lib/tasks/drg.rake