Skip to content

Commit 72371a9

Browse files
thiagoaclaude
andcommitted
Pin Ruby version to 3.1.0 via asdf
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d7426c1 commit 72371a9

4 files changed

Lines changed: 16 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
!.tool-versions
12
/.bundle/
23
/.yardoc
34
/_yardoc/

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.1.0

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby 3.1.0

CLAUDE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@
1515
- After releasing, delete the generated `.gem` files from the root
1616
directory — they are not committed and should not linger.
1717

18+
## Ruby version
19+
20+
For now, use the minimum required Ruby version for development —
21+
this ensures the gem works for everyone who meets that requirement.
22+
23+
When updating the minimum required Ruby version, update it in all
24+
of these places:
25+
26+
- `.ruby-version`
27+
- `.tool-versions`
28+
- `duck_typer.gemspec` (`spec.required_ruby_version`)
29+
- `.github/workflows/ci.yml` (`ruby-version`)
30+
1831
## Commands
1932

2033
- `bundle exec rake test` — run Minitest and RSpec suites

0 commit comments

Comments
 (0)