app/controllers/writefully/hooks_controller.rb in writefully-0.4.0 vs app/controllers/writefully/hooks_controller.rb in writefully-0.4.1

- old
+ new

@@ -9,27 +9,25 @@ class InvalidSignature < StandardError; end def create self.__send__ request.headers["X-Github-Event"].to_sym + head :ok end def ping - head :ok end def push Writefully.add_job :handyman, { task: :synchronize, site_slug: body.repository.name } if branch_match? - head :ok end def member authorship = Authorship.find_by_uid(body.member.id) unless authorship Authorship.create_from_data(body.member) end - head :ok end protected def branch_match?