Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
65 lines (54 sloc) 2.04 KB
# encoding: utf-8
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'
load './lib/pocketknife/version.rb'
require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.version = Pocketknife::Version::STRING
gem.name = "pocketknife"
gem.homepage = "http://github.com/igal/pocketknife"
gem.license = "MIT"
gem.summary = %Q{pocketknife is a devops tool for managing computers running chef-solo, powered by Opscode Chef.}
gem.description = <<-HERE
pocketknife is a devops tool for managing computers running chef-solo, powered by Opscode Chef.
Using pocketknife, you create a project that describes the configuration of your computers and then deploy it to bring them to their intended state.
With pocketknife, you don't need to setup or manage a specialized chef-server node or rely on an unreliable network connection to a distant hosted service whose security you don't control, deal with managing chef's security keys, or deal with manually synchronizing data with the chef-server datastore.
With pocketknife, all of your cookbooks, roles and nodes are stored in easy-to-use files that you can edit, share, backup and version control with tools you already have.
HERE
gem.email = "igal+pocketknife@pragmaticraft.com"
gem.authors = ["Igal Koshevoy"]
gem.executables += %w[
pocketknife
]
gem.files += %w[
Gemfile
LICENSE.txt
README.md
Rakefile
lib/*
spec/*
]
# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new
require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end
RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
end
task :default => :spec
require 'yard'
YARD::Rake::YardocTask.new