Skip to content

Commit

Permalink
Shove the vault into a dummy class.
Browse files Browse the repository at this point in the history
  • Loading branch information
qrush committed Oct 14, 2010
1 parent 93e843b commit 0a9cb3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/tasks/gemcutter.rake
Expand Up @@ -10,8 +10,10 @@ namespace :gemcutter do
end

puts "Uploading to S3..."
include Vault::S3
file = directory.files.new(
class Uploader
include Vault::S3
end
file = Uploader.new.directory.files.new(
:body => Gem.deflate(Marshal.dump(index)),
:key => "Marshal.4.8.Z"
)
Expand Down

0 comments on commit 0a9cb3d

Please sign in to comment.