Sha256: 0a114ee50ec0e7e87de7c1aff67bb11d7af221d3210b018c972d25542513632b

Contents?: true

Size: 1023 Bytes

Versions: 114

Compression:

Stored size: 1023 Bytes

Contents

begin
  require "rubygems"
  require "bundler"
rescue LoadError
  raise "Could not load the bundler gem. Install it with `gem install bundler`."
end

if Gem::Version.new(Bundler::VERSION) <= Gem::Version.new("1.0.0")
  raise RuntimeError, "Your bundler version is too old for Mail" +
   "Run `gem install bundler` to upgrade."
end

begin
  # Set up load paths for all bundled gems
  ENV["BUNDLE_GEMFILE"] = File.expand_path("../Gemfile", __FILE__)
  Bundler.setup
rescue Bundler::GemNotFound
  raise RuntimeError, "Bundler couldn't find some gems." +
    "Did you run `bundle install`?"
end

require File.expand_path('../spec/environment', __FILE__)

require 'rake/testtask'
require 'rspec/core/rake_task'

desc "Build a gem file"
task :build do
  system "gem build mail.gemspec"
end

task :default => :spec

RSpec::Core::RakeTask.new(:spec) do |t|
  t.ruby_opts = '-w'
  t.rspec_opts = %w(--backtrace --color)
end

# load custom rake tasks
Dir["#{File.dirname(__FILE__)}/lib/tasks/**/*.rake"].sort.each { |ext| load ext }

Version data entries

114 entries across 103 versions & 11 rubygems

Version Path
classiccms-0.5.0 vendor/bundle/gems/mail-2.4.4/Rakefile
classiccms-0.4.2 vendor/bundle/gems/mail-2.4.4/Rakefile
classiccms-0.4.1 vendor/bundle/gems/mail-2.4.4/Rakefile
classiccms-0.4.0 vendor/bundle/gems/mail-2.4.4/Rakefile
classiccms-0.3.9 vendor/bundle/gems/mail-2.4.4/Rakefile
challah-0.6.2 vendor/bundle/gems/mail-2.4.1/Rakefile
challah-0.6.2 vendor/bundle/gems/mail-2.4.4/Rakefile
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/Rakefile
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/Rakefile
initforthe-cookies-0.0.1 vendor/bundle/gems/mail-2.4.4/Rakefile
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/Rakefile
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/Rakefile
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/Rakefile
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/Rakefile
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/Rakefile
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/Rakefile
rails-uploader-0.0.4 vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/Rakefile
classiccms-0.3.8 vendor/bundle/gems/mail-2.4.4/Rakefile
challah-0.6.1 vendor/bundle/gems/mail-2.4.1/Rakefile
challah-0.6.1 vendor/bundle/gems/mail-2.4.4/Rakefile