Skip to content
This repository has been archived by the owner on May 1, 2018. It is now read-only.

Commit

Permalink
Fix warning about gem packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
webmat committed Dec 6, 2011
1 parent a1c1b11 commit 085ae89
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -3,6 +3,7 @@ source :rubygems
gem 'rainbow'
group :development do
gem 'rake'
gem 'rdoc'
gem 'test-unit'
gem 'shoulda'
gem 'mocha', :require => false # Must be loaded only after ActiveSupport::TestCase is defined
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
@@ -1,11 +1,14 @@
GEM
remote: http://rubygems.org/
specs:
json (1.6.1)
metaclass (0.0.1)
mocha (0.10.0)
metaclass (~> 0.0.1)
rainbow (1.1.3)
rake (0.9.2.2)
rdoc (3.11)
json (~> 1.4)
shoulda (2.11.3)
test-unit (2.4.2)

Expand All @@ -16,5 +19,6 @@ DEPENDENCIES
mocha
rainbow
rake
rdoc
shoulda
test-unit
4 changes: 2 additions & 2 deletions tasks/gem.rake
@@ -1,6 +1,6 @@
require 'yaml'

require 'rake/gempackagetask'
require 'rubygems/package_task'

spec = Gem::Specification.new do |s|
s.name = GitRemoteBranch::NAME.dup
Expand Down Expand Up @@ -30,7 +30,7 @@ end

#Creates clobber_package, gem, package and repackage tasks
#Note on clobber_package: fortunately, this will clobber the CODE package
Rake::GemPackageTask.new(spec) do |p|
Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end

Expand Down

0 comments on commit 085ae89

Please sign in to comment.