lib/fourchette/pull_request.rb in fourchette-0.0.5 vs lib/fourchette/pull_request.rb in fourchette-0.0.6
- old
+ new
@@ -3,11 +3,11 @@
def perform params
callbacks = Fourchette::Callbacks.new(params)
fork = Fourchette::Fork.new(params)
- callbacks.before
+ callbacks.before_all
case params['action']
when 'synchronize' # new push against the PR (updating code, basically)
fork.update
when 'closed'
@@ -16,8 +16,8 @@
fork.create
when 'opened'
fork.create
end
- callbacks.after
+ callbacks.after_all
end
end
\ No newline at end of file