Rakefile in bit-packer-0.1.0 vs Rakefile in bit-packer-0.1.2

- old
+ new

@@ -1,18 +1,20 @@ # 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' +require 'rake' require 'jeweler' + Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "bit-packer" gem.homepage = "http://github.com/martinkozak/bit-packer" gem.license = "MIT" @@ -24,14 +26,5 @@ # gem.add_runtime_dependency 'jabber4r', '> 0.1' # gem.add_development_dependency 'rspec', '> 1.2.3' end Jeweler::RubygemsDotOrgTasks.new -require 'rake/rdoctask' -Rake::RDocTask.new do |rdoc| - version = File.exist?('VERSION') ? File.read('VERSION') : "" - - rdoc.rdoc_dir = 'rdoc' - rdoc.title = "hash-utils #{version}" - rdoc.rdoc_files.include('README*') - rdoc.rdoc_files.include('lib/**/*.rb') -end