Skip to content

Commit

Permalink
Update Rakefile and gemspec for newer rubygems versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Nov 13, 2011
1 parent d9ad91a commit 574adfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
@@ -1,11 +1,11 @@
require 'rubygems'
require 'rake'
require 'rake/gempackagetask'
require 'rubygems/package_task'

task :default => [:repackage]

spec = eval(File.read('racksh.gemspec'))

Rake::GemPackageTask.new(spec) do |pkg|
Gem::PackageTask.new(spec) do |pkg|
pkg.need_tar = true
end
1 change: 1 addition & 0 deletions racksh.gemspec
@@ -1,5 +1,6 @@
# -*- encoding: utf-8 -*-
require File.join(File.dirname(__FILE__), "lib", "racksh", "version.rb")
require 'date'

Gem::Specification.new do |s|
s.name = %q{racksh}
Expand Down

0 comments on commit 574adfd

Please sign in to comment.