Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Cherry-pick Object#blank? extension

Since ActiveSupport is modular just include the blank inflection extension
rather than including all of the core extensions and active_support itself.
  • Loading branch information...
1 parent 4530e3c commit 60a84bd3071b1691314d1cc1a3bf9d96d7803a5e @jpignata jpignata committed
Showing with 1 addition and 8 deletions.
  1. +1 −8 lib/airbrake.rb
9 lib/airbrake.rb
@@ -2,13 +2,7 @@
require 'net/http'
require 'net/https'
require 'rubygems'
- require 'active_support'
- require 'active_support/core_ext'
-rescue LoadError
- require 'activesupport'
- require 'activesupport/core_ext'
+require 'active_support/core_ext/object/blank'
require 'airbrake/version'
require 'airbrake/configuration'
require 'airbrake/notice'
@@ -28,7 +22,6 @@ module Airbrake
'Accept' => 'text/xml, application/xml'
# Queue used to send async notices. Used only if configuration.async is
# set to true.
AIRBRAKE_QUEUE =,:size => 3) do |notice|

0 comments on commit 60a84bd

Please sign in to comment.
Something went wrong with that request. Please try again.