Permalink
Browse files

Obey bundler convensions in gemspec, Gemfile, and Rakefile

  • Loading branch information...
1 parent 2388945 commit 1137175b766c6ec5a36419c27118d8cca64d4604 @jferris jferris committed Nov 11, 2011
Showing with 2 additions and 9 deletions.
  1. +1 −2 Gemfile
  2. +1 −7 Rakefile
View
@@ -1,3 +1,2 @@
-source "http://rubygems.org"
-
+source :rubygems
gemspec
View
@@ -1,15 +1,9 @@
require 'rubygems'
require 'bundler/setup'
-require 'rake/gempackagetask'
+require "bundler/gem_tasks"
require 'rspec/core/rake_task'
require 'cucumber/rake/task'
-eval("$specification = #{IO.read('appraisal.gemspec')}")
-Rake::GemPackageTask.new($specification) do |package|
- package.need_zip = true
- package.need_tar = true
-end
-
RSpec::Core::RakeTask.new do |t|
t.pattern = 'spec/**/*_spec.rb'
end

0 comments on commit 1137175

Please sign in to comment.