Skip to content

Commit

Permalink
Merge pull request #14 from casperisfine/ruby-head-compat
Browse files Browse the repository at this point in the history
Update magnus for ruby-head compatibility
  • Loading branch information
IAPark authored Sep 22, 2023
2 parents 60ae6cd + 4ea7ced commit 8505679
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: [3.2, 3.0, 2.7]
ruby: ['ruby-head', '3.2', '3.0', '2.7']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
51 changes: 33 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion ext/tiktoken_ruby/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ publish = false
crate-type = ["cdylib"]

[dependencies]
magnus = { version = "0.4" }
magnus = { version = "0.6.1" }
rb-sys = { version = "*", features = ["stable-api-compiled-fallback"] }
tiktoken-rs = { git = "https://github.com/IAPark/tiktoken-rs.git" }

0 comments on commit 8505679

Please sign in to comment.