Sha256: 2df68fd4d8288b97dfc04386141b6393b4f139a74b7e77cdb839fa7d7f944f64
Contents?: true
Size: 845 Bytes
Versions: 2
Compression:
Stored size: 845 Bytes
Contents
require 'rake' namespace :drg do desc "Pins the gems in your Gemfile to the current version in the Gemfile.lock" task :pin do DRG::Tasks::Pinner.new.perform end desc 'Unpins the gems in your the Gemfile' task :unpin do DRG::Tasks::Pinner.new.unpin end namespace :pin do desc 'Adds the fuzzy match operator to the minor version of your gems (e.g. rails, "~> 4.2")' task :minor do DRG::Tasks::Pinner.new(:minor).perform end desc 'Adds the fuzzy match operator to the major version of your gems (e.g. rails, "~> 4")' 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
drg-0.5.1 | lib/tasks/drg.rake |
drg-0.5.0 | lib/tasks/drg.rake |