Sha256: fe6be43c658e69d9dc367fd1ca0822185790757855464c6a2fdd989c5289330c

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "bke_chef-rundeck"
    gem.summary = %Q{Integrates Chef with RunDeck}
    gem.description = %Q{Provides a resource endpoint for RunDeck from a Chef Server}
    gem.email = "wsdsysadmin@buckle.com"
    gem.homepage = "https://github.com/buckle/chef-rundeck"
    gem.authors = ["Shane Blaufuss"]
    gem.add_dependency "sinatra"
    gem.add_dependency "chef"
    gem.add_dependency "mixlib-cli"
    gem.add_development_dependency "rspec", ">= 1.2.9"
    gem.add_development_dependency "yard", ">= 0"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rspec/core/rake_task'
ENV['TRAVIS_BUILD_DIR'] = "." unless ENV.has_key?('TRAVIS_BUILD_DIR')
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.rspec_opts = [ '-I', 'lib', '-I', 'spec' ]
  spec.pattern = FileList['spec/**/*_spec.rb']
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.rspec_opts = [ '-I', 'lib', '-I', 'spec' ]
  spec.pattern = FileList['spec/**/*_spec.rb']
  spec.rcov = true
end

task :default => :spec

begin
  require 'yard'
  YARD::Rake::YardocTask.new
rescue LoadError
  task :yardoc do
    abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bke_chef-rundeck-2.2.2 Rakefile