Sha256: 5d8d22b801b9d4075de4fbe7884d6fb88160c2d7cb71b67b0fa15655f3456d1b

Contents?: true

Size: 654 Bytes

Versions: 1

Compression:

Stored size: 654 Bytes

Contents

require "bundler"
require "rake"
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require 'quandl/command'
require 'pry'

task :default => :spec

Dir[File.expand_path("../tasks/*.rake", __FILE__)].each do |task|
  puts task
  load task
end

desc "Run all specs"
RSpec::Core::RakeTask.new(:spec) do |task|
  task.pattern = "spec/**/*_spec.rb"
end


namespace :rubies do

  rubies = [
    'ruby-1.9.3-p194',
    'ruby-1.9.3-p484',
    'ruby-2.0.0-p353',
  ]
  
  desc "rspec all the rubies"
  task :spec do |t, args|
    rubies.each do |ruby|
      cmd = "rvm #{ruby} do bundle exec rspec"
      puts(cmd)
      system(cmd)
    end
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quandl-0.2.22 Rakefile