Sha256: b9448ba7bfc08684c57eadb39f0af199600ac08f4263a64cc996d351b1bdbc57

Contents?: true

Size: 635 Bytes

Versions: 5

Compression:

Stored size: 635 Bytes

Contents

require "bundler/gem_tasks"
require 'rake/testtask'
require 'rspec/core/rake_task'
require "gem_publisher"

RSpec::Core::RakeTask.new(:spec) do |task|
  task.pattern = FileList.new('spec/**/*_spec.rb') do |file|
    file.exclude(/integration/)
  end
  task.rspec_opts = ['--color']
end

RSpec::Core::RakeTask.new(:integration) do |task|
  task.pattern = FileList['spec/integration/*_spec.rb']
  task.rspec_opts = ['--color']
end

task :default => [:spec]

desc "Publish gem to RubyGems.org"
task :publish_gem do |t|
  gem = GemPublisher.publish_if_updated("vcloud-net-spinner.gemspec", :rubygems)
  puts "Published #{gem}" if gem
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vcloud-net-spinner-0.2.0 Rakefile
vcloud-net-spinner-0.1.6 Rakefile
vcloud-net-spinner-0.1.5 Rakefile
vcloud-net-spinner-0.1.4 Rakefile
vcloud-net-spinner-0.1.2 Rakefile