ohler55 / oj

Optimized JSON
http://www.ohler.com/oj
MIT License
3.14k stars 251 forks source link

Add ostruct as dependency gem for Ruby 3.5 #928

Closed Watson1978 closed 3 months ago

Watson1978 commented 3 months ago

The ostruct gem will be changed bundled gem since Ruby 3.5.0. https://github.com/ruby/ruby/commit/4db7c8a24ad66e15ef6bce053c4d5d90b84cb855

The ostruct gem has been required at https://github.com/ohler55/oj/blob/2e57dc711172ee2aae4a1e381ad905c7d461e805/lib/oj/json.rb#L1

To use bundled gem, it requires to specify the dependency in Gemfile.

Similar with https://github.com/ohler55/oj/pull/901

ohler55 commented 3 months ago

Thank you