Rakefile in guard-rails-0.7.2 vs Rakefile in guard-rails-0.7.3
- old
+ new
@@ -6,27 +6,27 @@
require 'rake/version_task'
Rake::VersionTask.new
include Rake::DSL if defined?(Rake::DSL)
-RVM_PREFIX = "rvm jruby,1.9.3,2.0.0 do"
+RVM_DO_ALL = "rvm all do"
namespace :spec do
desc "Run on three Rubies"
task :platforms do
- exit $?.exitstatus unless system "#{RVM_PREFIX} bundle install 2>&1 1>/dev/null "
- exit $?.exitstatus unless system "#{RVM_PREFIX} bundle exec rake spec"
+ exit $?.exitstatus unless system "#{RVM_DO_ALL} bundle install 2>&1 1>/dev/null "
+ exit $?.exitstatus unless system "#{RVM_DO_ALL} bundle exec rake spec"
end
end
task :default => 'spec:platforms'
-# Add to .git/config:
-# [remote "all"]
-# url = git@github.com:ranmocy/guard-rails.git
-# url = git@gitcafe.com:ranmocy/guard-rails.git
desc 'Push everywhere!'
task :publish do
- system %{git push all}
- system %{git push all --tags}
+ system %{git push}
+ system %{git push --tags}
+end
+
+task :contributors do
+ puts `git summary | grep "%" | sed 's/ *[0-9]*\.[0-9]*%//g' | cut -f2 | sed 's/^/* /g'`
end