Sha256: 336b8a7f1da441d7cca0806fbc75816b42b5d816568f5a25b8564e7d6f16a1c9

Contents?: true

Size: 816 Bytes

Versions: 22

Compression:

Stored size: 816 Bytes

Contents

require 'rspec/core/rake_task'

task :default => [:rubocop, :spec]

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

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

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

require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop) do |task|
  task.options = ['--lint']
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
vcloud-core-2.2.0 Rakefile
vcloud-core-2.1.1 Rakefile
vcloud-core-2.1.0 Rakefile
vcloud-core-2.0.1 Rakefile
vcloud-core-2.0.0 Rakefile
vcloud-core-1.2.0 Rakefile
vcloud-core-1.1.0 Rakefile
vcloud-core-1.0.2 Rakefile
vcloud-core-1.0.1 Rakefile
vcloud-core-1.0.0 Rakefile
vcloud-core-0.16.1 Rakefile
vcloud-core-0.16.0 Rakefile
vcloud-core-0.15.0 Rakefile
vcloud-core-0.14.0 Rakefile
vcloud-core-0.13.0 Rakefile
vcloud-core-0.12.0 Rakefile
vcloud-core-0.11.0 Rakefile
vcloud-core-0.10.0 Rakefile
vcloud-core-0.9.0 Rakefile
vcloud-core-0.8.0 Rakefile