Commits

Michael Granger committed dcfb865

Override the Hoe '.gemtest' injection, work around stupid Rack IO wrapper.

  • Participants
  • Parent commits 494fc9a

Comments (0)

Files changed (2)

 	self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}"
 end
 
+# Remove the .gemtest file until this is gem-testers ready
+hoespec.spec.files.delete( '.gemtest' )
+
 ENV['VERSION'] ||= hoespec.spec.version.to_s
 
 # Ensure the specs pass before checking in

lib/gemserver/app.rb

 		end
 
 		self.log.info "Accepted API key."
-		io = request.body
-		# io = request.body.instance_variable_get( :@input )
-		# $stderr.puts "  unwrapped the IO from the half-assed rack wrapper: %p" % [ io ]
+		# io = request.body
+		io = request.body.instance_variable_get( :@input )
+		self.log.debug "  unwrapped the IO from the half-assed rack wrapper: %p" % [ io ]
 		gemspec, bytes = self.handle_gem_upload( io )
 
 		content_type( 'text/plain' )