Sha256: 3b690872686a1933fea5b68fc3e9351d6d8b93cca1c500d3acbd254871bcb9c1
Contents?: true
Size: 860 Bytes
Versions: 3
Compression:
Stored size: 860 Bytes
Contents
require 'rubygems' require 'rake' require 'spec/rake/spectask' require File.expand_path('../lib/bin/version', __FILE__) namespace :spec do Spec::Rake::SpecTask.new(:all) do |t| t.ruby_opts << '-rubygems' t.verbose = true end task :as3 do sh 'ACTIVE_SUPPORT_VERSION=">= 3.0.0.beta3" rake spec:all' end end desc 'Runs all specs against Active Support 2 and 3' task :spec do Rake::Task['spec:as3'].invoke end task :default => :spec desc 'Builds the gem' task :build do sh "gem build bin.gemspec" end desc 'Builds and installs the gem' task :install => :build do sh "gem install bin-#{Bin::Version}" end desc 'Tags version, pushes to remote, and pushes gem' task :release => :build do sh "git tag v#{Bin::Version}" sh "git push origin master" sh "git push origin v#{Bin::Version}" sh "gem push bin-#{Bin::Version}.gem" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
honkster-bin-0.6.3.6 | Rakefile |
honkster-bin-0.6.3.5 | Rakefile |
honkster-bin-0.6.3.4 | Rakefile |