Commits

Michael Granger committed dcfb865

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

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' )
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.