Sha256: f64bbaee3367403f8c2d31f2d56fc5fc05f869a4fb9b7d2945e8240c470a4956

Contents?: true

Size: 873 Bytes

Versions: 26

Compression:

Stored size: 873 Bytes

Contents

#!/usr/bin/env rake
# encoding: utf-8

require 'rubygems'
require 'bundler/setup'

require 'rake'
require 'vcr'
require 'rspec'
require 'rspec/core/rake_task'
require 'rubygems/package_task'

$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)

require 'locomotive/wagon'
require 'locomotive/wagon/version'

gemspec = eval(File.read('locomotivecms_wagon.gemspec'))
Gem::PackageTask.new(gemspec) do |pkg|
  pkg.gem_spec = gemspec
end

desc 'build the gem and release it to rubygems.org'
task release: :gem do
  sh "gem push pkg/locomotivecms_wagon-#{gemspec.version}.gem"
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new('spec')

RSpec::Core::RakeTask.new('spec:unit') do |spec|
  spec.pattern = 'spec/unit/**/*_spec.rb'

end

RSpec::Core::RakeTask.new('spec:integration') do |spec|
  spec.pattern = 'spec/integration/**/*_spec.rb'
end

task default: :spec

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
locomotivecms_wagon-2.2.0 Rakefile
locomotivecms_wagon-2.2.0.rc3 Rakefile
locomotivecms_wagon-2.2.0.rc2 Rakefile
locomotivecms_wagon-2.2.0.rc1 Rakefile
locomotivecms_wagon-2.2.0.beta1 Rakefile
locomotivecms_wagon-2.1.1 Rakefile
locomotivecms_wagon-2.1.0 Rakefile
locomotivecms_wagon-2.1.0.rc5 Rakefile
locomotivecms_wagon-2.1.0.rc4 Rakefile
locomotivecms_wagon-2.1.0.rc3 Rakefile
locomotivecms_wagon-2.0.1 Rakefile
locomotivecms_wagon-2.0.0 Rakefile
locomotivecms_wagon-2.0.0.rc8 Rakefile
locomotivecms_wagon-2.0.0.rc7 Rakefile
locomotivecms_wagon-2.0.0.rc6 Rakefile
locomotivecms_wagon-2.0.0.rc5 Rakefile
locomotivecms_wagon-2.0.0.rc4 Rakefile
locomotivecms_wagon-2.0.0.rc3 Rakefile
locomotivecms_wagon-2.0.0.rc2 Rakefile
locomotivecms_wagon-2.0.0.rc1 Rakefile