Sha256: d14414842728f307858abe545e8408600a2e5d4bc40eb62aa4b5554c73631b25

Contents?: true

Size: 748 Bytes

Versions: 25

Compression:

Stored size: 748 Bytes

Contents

# encoding: utf-8

if ENV["BUNDLE_GEMFILE"] == File.expand_path("Gemfile")
  ENV["BUNDLE_GEMFILE"] = "gemfiles/Gemfile.rails-3.2.x"
end

require 'bundler'
Bundler::GemHelper.install_tasks

begin
  targeted_files = ARGV.drop(1)
  file_pattern = targeted_files.empty? ? 'spec/**/*_spec.rb' : targeted_files

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

  RSpec::Core::RakeTask.new(:spec) do |t|
    t.pattern = FileList[file_pattern]
  end

  RSpec.configure do |config|
    config.color_enabled = true
    config.formatter = :documentation
  end
rescue LoadError
  require 'spec/rake/spectask'

  puts file_pattern

  Spec::Rake::SpecTask.new(:spec) do |t|
    t.pattern = FileList[file_pattern]
    t.spec_opts += ["--color"]
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
influxdb-rails-0.1.9 Rakefile
influxdb-rails-0.1.7 Rakefile
influxdb-rails-0.1.6 Rakefile
influxdb-rails-0.1.5 Rakefile
influxdb-rails-0.1.4 Rakefile
influxdb-rails-0.1.3 Rakefile
influxdb-rails-0.1.2 Rakefile
influxdb-rails-0.1.1 Rakefile
influxdb-rails-0.1.0 Rakefile
influxdb-rails-0.0.2 Rakefile
influxdb-rails-0.0.1 Rakefile
errplane-1.0.15 Rakefile
errplane-1.0.14 Rakefile
errplane-1.0.13 Rakefile
errplane-1.0.11 Rakefile
errplane-1.0.10 Rakefile
errplane-1.0.9 Rakefile
errplane-1.0.8 Rakefile
errplane-1.0.7 Rakefile
errplane-1.0.6 Rakefile