Skip to content

Commit

Permalink
Obey bundler convensions in gemspec, Gemfile, and Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jferris committed Nov 11, 2011
1 parent 2388945 commit 1137175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
3 changes: 1 addition & 2 deletions Gemfile
@@ -1,3 +1,2 @@
source "http://rubygems.org"

source :rubygems
gemspec
8 changes: 1 addition & 7 deletions Rakefile
@@ -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
Expand Down

0 comments on commit 1137175

Please sign in to comment.