Skip to content

Commit

Permalink
Better Ruby version check and we don't need that TravisCI script anym…
Browse files Browse the repository at this point in the history
…ore.
  • Loading branch information
goyox86 committed Feb 28, 2023
1 parent 236e1f8 commit 5f422a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
29 changes: 0 additions & 29 deletions scripts/travis_ci/install_ruby

This file was deleted.

2 changes: 1 addition & 1 deletion src/rubysys/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ enum RArrayEmbed {
LenMax = 3,
Flag = rb_sys::ruby_rarray_flags::RARRAY_EMBED_FLAG as isize,
LenMask = rb_sys::ruby_rarray_flags::RARRAY_EMBED_LEN_MASK as isize,
#[cfg(ruby_gte_3_0)]
#[cfg(ruby_gt_2_7)]
LenShift = rb_sys::ruby_rarray_consts::RARRAY_EMBED_LEN_SHIFT as isize,
#[cfg(ruby_lte_2_7)]
LenShift = rb_sys::ruby_rarray_flags::RARRAY_EMBED_LEN_SHIFT as isize,
Expand Down

0 comments on commit 5f422a9

Please sign in to comment.