Sha256: 8f1a29a7f495bfaabffda64c715621a678786e80f1e1e3c87371ed9bd2b35b3d

Contents?: true

Size: 585 Bytes

Versions: 4

Compression:

Stored size: 585 Bytes

Contents

require 'bundler/gem_tasks'
require 'bundler/setup'

begin
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new(:spec)

  task :default => :spec
rescue LoadError
  # no rspec available
end

task :refresh do
  require 'yaml'

  `appraisal install`

  travis_file = File.expand_path('../.travis.yml', __FILE__)
  travis_config = YAML.load(File.read(travis_file))
  travis_config['gemfile'] = Dir.glob("#{File.dirname(__FILE__)}/gemfiles/*.gemfile").
    map { |path| "gemfiles/#{File.basename(path)}" }
  File.open(travis_file, 'w') { |f| f.write YAML.dump(travis_config) }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
schema_expectations-0.5.0 Rakefile
schema_expectations-0.4.0 Rakefile
schema_expectations-0.3.0 Rakefile
schema_expectations-0.2.0 Rakefile