diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-04-24 15:07:23 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-04 10:57:09 -0700 |
commit | a874fce5a4f7e79f7319e5959b6802ad48c45344 (patch) | |
tree | d919ff6fa67e22dca22fa55dd868280398065530 /chef.gemspec | |
parent | e2b7e4e76cd8dae088299137d991a0455d87a109 (diff) | |
download | chef-a874fce5a4f7e79f7319e5959b6802ad48c45344.tar.gz |
use validate_utf8=false option to json encoder for node
with validation off any bad utf8 data will not cause the
ffi-yajl encoder to raise. with ffi-yajl >= 2.2.0 the bad
data will be scrubbed to produce valid JSON to POST/PUT to
the server.
Diffstat (limited to 'chef.gemspec')
-rw-r--r-- | chef.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef.gemspec b/chef.gemspec index 8bec26ea7c..ec600f1f89 100644 --- a/chef.gemspec +++ b/chef.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |s| s.add_dependency "mixlib-shellout", ">= 2.0.0.rc.0", "< 3.0" s.add_dependency "ohai", "~> 8.0" - s.add_dependency "ffi-yajl", ">= 1.2", "< 3.0" + s.add_dependency "ffi-yajl", "~> 2.2" s.add_dependency "net-ssh", "~> 2.6" s.add_dependency "net-ssh-multi", "~> 1.1" # CHEF-3027: The knife-cloud plugins require newer features from highline, core chef should not. |