lib/bullet.rb in bullet-7.1.0 vs lib/bullet.rb in bullet-7.1.1
- old
+ new
@@ -41,10 +41,11 @@
:skip_html_injection
attr_reader :safelist
attr_accessor :add_footer, :orm_patches_applied, :skip_http_headers, :always_append_html_body
available_notifiers =
- UniformNotifier::AVAILABLE_NOTIFIERS.select { |notifier| notifier != :raise }.map { |notifier| "#{notifier}=" }
+ UniformNotifier::AVAILABLE_NOTIFIERS.select { |notifier| notifier != :raise }
+ .map { |notifier| "#{notifier}=" }
available_notifiers_options = { to: UniformNotifier }
delegate(*available_notifiers, **available_notifiers_options)
def raise=(should_raise)
UniformNotifier.raise = (should_raise ? Notification::UnoptimizedQueryError : false)