Sha256: 47d943354f1dbadc418f4a6a10b854572fa43e89d38c97f23eab34c76b0a5eff

Contents?: true

Size: 601 Bytes

Versions: 2

Compression:

Stored size: 601 Bytes

Contents

require 'rubygems'
require 'spec'
require 'spec/rake/spectask'

task :default => :spec

desc "run specs for the gem"
Spec::Rake::SpecTask.new(:spec) do |t|
  t.spec_files = FileList["spec/**/*_spec.rb"]
end

desc "run specs for the gem against all available activesupport versions"
task :spec_multi do
  # hmm - there's probably a better way to write this
  IO.popen("gem list activesupport").readlines.last.split(',').grep(/(\d\.\d\.\d)/) { $1 }.each do |version|
    throw "Failed against ActiveSupport v#{version}" unless system("rake spec DIACRITICS_FU_ACTIVESUPPORT_VERSION=#{version}")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thbar-diacritics_fu-1.0.1 Rakefile
thbar-diacritics_fu-1.0.2 Rakefile