diff --git a/lib/bulletmark_repairer/patcher.rb b/lib/bulletmark_repairer/patcher.rb index a629fc8..ba09940 100644 --- a/lib/bulletmark_repairer/patcher.rb +++ b/lib/bulletmark_repairer/patcher.rb @@ -5,7 +5,7 @@ require 'parser/runner/ruby_rewrite' module BulletmarkRepairer - class Pathcer + class Patcher def self.execute(notifications:, controller:, action:) new(notifications: notifications, controller: controller, action: action).execute end diff --git a/lib/bulletmark_repairer/rack.rb b/lib/bulletmark_repairer/rack.rb index be37c12..0c5db50 100644 --- a/lib/bulletmark_repairer/rack.rb +++ b/lib/bulletmark_repairer/rack.rb @@ -12,7 +12,7 @@ def call(env) ensure begin if Thread.current[:bullet_notification_collector].notifications_present? - BulletmarkRepairer::Pathcer.execute( + BulletmarkRepairer::Patcher.execute( notifications: Thread.current[:bullet_notification_collector], controller: env['action_dispatch.request.parameters']['controller'], action: env['action_dispatch.request.parameters']['action']