Rakefile in homeflow_api-0.17.15 vs Rakefile in homeflow_api-1.0.0
- old
+ new
@@ -1,46 +1,2 @@
-# 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 'jeweler'
-Jeweler::Tasks.new do |gem|
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
- gem.name = "homeflow_api"
- gem.homepage = "http://github.com/homeflow/Homeflow_Api"
- gem.license = "MIT"
- gem.summary = %Q{Homeflow API Gem}
- gem.description = %Q{A gem for dealing the homeflow api}
- gem.email = "daniel@homeflow.co.uk"
- gem.authors = ["Daniel Cooper"]
- # dependencies defined in Gemfile
-end
-Jeweler::RubygemsDotOrgTasks.new
-
-require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
- test.libs << 'lib' << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
-end
-
-
-task :default => :test
-
-require 'rdoc/task'
-Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "homeflow_api #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
+Bundler::GemHelper.install_tasks
\ No newline at end of file