Skip to content

Commit

Permalink
Add some missing ruby 2.6 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
flori committed Feb 21, 2019
1 parent bb80864 commit 3eb7e9e
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 91 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ rvm:
- 2.3
- 2.4
- 2.5
- 2.6
- ruby-head
- jruby
matrix:
Expand Down
1 change: 1 addition & 0 deletions ext/json/ext/generator/generator.c
Original file line number Diff line number Diff line change
Expand Up @@ -1335,6 +1335,7 @@ static VALUE cState_buffer_initial_length_set(VALUE self, VALUE buffer_initial_l
*/
void Init_generator(void)
{
#undef rb_intern
rb_require("json/common");

mJSON = rb_define_module("JSON");
Expand Down
Loading

0 comments on commit 3eb7e9e

Please sign in to comment.