Sha256: 785fe915ceea339215e5c4a1fef67d531ed8d8547f6bccf65236b55c5241d3fd

Contents?: true

Size: 735 Bytes

Versions: 5

Compression:

Stored size: 735 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |task|
  # Set a bogus Fog credential, otherwise it's possible for the unit
  # tests to accidentially run (and succeed against!) an actual
  # environment, if Fog connection is not stubbed correctly.
  ENV['FOG_CREDENTIAL'] = 'random_nonsense_owiejfoweijf'
  ENV['COVERAGE'] = 'true'
  task.pattern = FileList['spec/vcloud/**/*_spec.rb']
end

task :default => [:spec]

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

require "gem_publisher"
task :publish_gem do |t|
  gem = GemPublisher.publish_if_updated("vcloud-core.gemspec", :rubygems)
  puts "Published #{gem}" if gem
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vcloud-core-0.0.11 Rakefile
vcloud-core-0.0.10 Rakefile
vcloud-core-0.0.9 Rakefile
vcloud-core-0.0.8 Rakefile
vcloud-core-0.0.7 Rakefile