diff options
Diffstat (limited to 'lib/rubygems/package_task.rb')
-rw-r--r-- | lib/rubygems/package_task.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/rubygems/package_task.rb b/lib/rubygems/package_task.rb index 2e9c89d834..ae4f2019ae 100644 --- a/lib/rubygems/package_task.rb +++ b/lib/rubygems/package_task.rb @@ -92,7 +92,7 @@ class Gem::PackageTask < Rake::PackageTask # Initialization tasks without the "yield self" or define operations. def init(gem) - super gem.name, gem.version + super gem.full_name, :noversion @gem_spec = gem @package_files += gem_spec.files if gem_spec.files end @@ -120,11 +120,13 @@ class Gem::PackageTask < Rake::PackageTask chdir(gem_dir) do when_writing "Creating #{gem_spec.file_name}" do Gem::Builder.new(gem_spec).build - verbose(true) { - mv gem_file, ".." - } + verbose trace do + mv gem_file, '..' + end end end end end + end + |