Sha256: 30eb3fe7cc2ca2e624a5a27674979aff9df1b4bcb738c011c580ebeef2e0614d

Contents?: true

Size: 591 Bytes

Versions: 15

Compression:

Stored size: 591 Bytes

Contents

# -*- mode: ruby -*-

# Monkey-patch to fix the interaction of Rake and Bundler on Windows.
if Rake.application.rakefile_location =~ /:in `rakefile_location/
  class Rake::Application
    def rakefile_location
      File.expand_path(File.basename(__FILE__))
    end
  end
end

require 'bundler'
require 'rspec/core/rake_task'

Bundler::GemHelper.install_tasks

RSpec::Core::RakeTask.new(:specs) do |t|
  # Don't do color on Windows.
  arch, platform = RUBY_PLATFORM.split('-')
  if platform !~ /^mswin/ && platform !~ /^mingw/
    t.rspec_opts = "--color"
  end
end

task :default => :specs

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mp3file-1.3.0 Rakefile
mp3file-1.2.0 Rakefile
mp3file-1.1.5 Rakefile
mp3file-1.1.4 Rakefile
mp3file-1.1.3 Rakefile
mp3file-1.1.2 Rakefile
mp3file-1.1.1 Rakefile
mp3file-1.1.0 Rakefile
mp3file-1.0.3 Rakefile
mp3file-1.0.2 Rakefile
mp3file-1.0.1 Rakefile
mp3file-1.0.0 Rakefile
mp3file-0.0.4 Rakefile
mp3file-0.0.3 Rakefile
mp3file-0.0.2 Rakefile