Sha256: 8dc233b9435b32d2770b2492b6ae26c789e54d3f599da1a08c7c6e19657ba44a

Contents?: true

Size: 811 Bytes

Versions: 91

Compression:

Stored size: 811 Bytes

Contents

require "bundler"
Bundler.setup

require "rake"
require "rspec/core/rake_task"

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "mongoid/version"

task :gem => :build
task :build do
  system "gem build mongoid.gemspec"
end

task :install => :build do
  system "sudo gem install mongoid-#{Mongoid::VERSION}.gem"
end

task :release => :build do
  system "git tag -a v#{Mongoid::VERSION} -m 'Tagging #{Mongoid::VERSION}'"
  system "git push --tags"
  system "gem push mongoid-#{Mongoid::VERSION}.gem"
  system "rm mongoid-#{Mongoid::VERSION}.gem"
end

RSpec::Core::RakeTask.new("spec") do |spec|
  spec.pattern = "spec/**/*_spec.rb"
end

RSpec::Core::RakeTask.new('spec:progress') do |spec|
  spec.rspec_opts = %w(--format progress)
  spec.pattern = "spec/**/*_spec.rb"
end

task :default => :spec

Version data entries

91 entries across 86 versions & 6 rubygems

Version Path
mongoid-5.4.1 Rakefile
mongoid-7.0.4 Rakefile
mongoid-6.4.4 Rakefile
mongoid-7.0.3 Rakefile
mongoid-6.4.2 Rakefile
mongoid-7.0.2 Rakefile
mongoid-7.0.1 Rakefile
mongoid-6.4.1 Rakefile
mongoid-5.4.0 Rakefile
tdiary-5.0.8 vendor/bundle/gems/mongoid-6.4.0/Rakefile
mongoid-7.0.0 Rakefile
mongoid-6.4.0 Rakefile
mongoid-6.3.0 Rakefile
mongoid-6.2.1 Rakefile
mongoid-7.0.0.beta Rakefile
tdiary-5.0.5 vendor/bundle/gems/mongoid-6.1.0/Rakefile
tdiary-5.0.5 vendor/bundle/gems/mongoid-6.2.0/Rakefile
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mongoid-6.1.0/Rakefile
mongoid-6.2.0 Rakefile
mongoid-6.1.1 Rakefile