Sha256: 556d67b2135f5c7a2a8d5692e602dcff1826164a5d113c163f34aaab9ce492be

Contents?: true

Size: 852 Bytes

Versions: 12

Compression:

Stored size: 852 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 => [:rubocop, :spec]

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-edge_gateway.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

12 entries across 12 versions & 1 rubygems

Version Path
vcloud-edge_gateway-2.1.1 Rakefile
vcloud-edge_gateway-2.1.0 Rakefile
vcloud-edge_gateway-1.5.2 Rakefile
vcloud-edge_gateway-1.5.0 Rakefile
vcloud-edge_gateway-1.4.1 Rakefile
vcloud-edge_gateway-1.4.0 Rakefile
vcloud-edge_gateway-1.3.0 Rakefile
vcloud-edge_gateway-1.2.0 Rakefile
vcloud-edge_gateway-1.1.0 Rakefile
vcloud-edge_gateway-1.0.2 Rakefile
vcloud-edge_gateway-1.0.1 Rakefile
vcloud-edge_gateway-1.0.0 Rakefile