Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Part of the Pusher class from
class Pusher
attr_reader :user, :spec, :message, :code, :rubygem, :body, :version, :version_id
def initialize(user, body, host_with_port=nil)
@user = user
@body =
@indexer =
@host_with_port = host_with_port
def process
pull_spec && find && authorize && save
... etc ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment