Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Part of the Pusher class from RubyGems.org
class Pusher
attr_reader :user, :spec, :message, :code, :rubygem, :body, :version, :version_id
def initialize(user, body, host_with_port=nil)
@user = user
@body = StringIO.new(body.read)
@indexer = Indexer.new
@host_with_port = host_with_port
end
def process
pull_spec && find && authorize && save
end
... etc ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.