summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-10-09 19:33:47 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-10-09 19:33:47 -0700
commitd41c232591806892ebcb78574cd81fd51b03e1d9 (patch)
tree718aab3813eaeefaa2959aa598a8d5f988b0eb60
parent39a19644e678b7ac24808be203895f5f758a1e6d (diff)
downloadffi-yajl-d41c232591806892ebcb78574cd81fd51b03e1d9.tar.gz
add deprecation warning
-rw-r--r--lib/ffi_yajl/json_gem.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ffi_yajl/json_gem.rb b/lib/ffi_yajl/json_gem.rb
index 47586b6..bb34d9d 100644
--- a/lib/ffi_yajl/json_gem.rb
+++ b/lib/ffi_yajl/json_gem.rb
@@ -3,6 +3,8 @@
require 'ffi_yajl' unless defined?(FFI_Yajl::Parser)
+warn "ffi-yajl/json_gem is deprecated, these monkeypatches will be dropped shortly"
+
module JSON
class JSONError < StandardError; end unless defined?(JSON::JSONError)
class GeneratorError < JSONError; end unless defined?(JSON::GeneratorError)