diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-10-09 19:33:47 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-10-09 19:33:47 -0700 |
commit | d41c232591806892ebcb78574cd81fd51b03e1d9 (patch) | |
tree | 718aab3813eaeefaa2959aa598a8d5f988b0eb60 /lib | |
parent | 39a19644e678b7ac24808be203895f5f758a1e6d (diff) | |
download | ffi-yajl-d41c232591806892ebcb78574cd81fd51b03e1d9.tar.gz |
add deprecation warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ffi_yajl/json_gem.rb | 2 |
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) |