Skip to content

Commit b3c88d6

Browse files
serraduraclaude
andcommitted
Bump minimum Ruby to 2.7 and refresh README compatibility info
- gemspec: required_ruby_version >= 2.7.0 (matches the CI matrix floor established by the modernization PR; drops 2.2..2.6 which are EOL) - README badges: show "ruby >= 2.7" / "ruby 2.7+" - Compatibility table: - "unreleased" row reflects current main: ruby >= 2.7, activemodel >= 6.0 (tested through Rails 8.1 + edge) - 4.5.1 -> 4.5.2 to match the last published release - Fix small typo in pt-BR header ("u-attributes-" -> "u-attributes") Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e2300fe commit b3c88d6

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</p>
77

88
<p align="center">
9-
<img src="https://img.shields.io/badge/ruby->%3D%202.2.0-ruby.svg?colorA=99004d&colorB=cc0066" alt="Ruby">
9+
<img src="https://img.shields.io/badge/ruby->%3D%202.7-ruby.svg?colorA=99004d&colorB=cc0066" alt="Ruby">
1010

1111
<a href="https://rubygems.org/gems/u-case">
1212
<img alt="Gem" src="https://img.shields.io/gem/v/u-case.svg?style=flat-square">
@@ -101,8 +101,8 @@ unreleased| https://github.com/serradura/u-case/blob/main/README.md
101101

102102
| u-case | branch | ruby | activemodel | u-attributes |
103103
| -------------- | ------- | -------- | ------------- | ------------- |
104-
| unreleased | main | >= 2.2.0 | >= 3.2, < 7.0 | >= 2.7, < 3.0 |
105-
| 4.5.1 | v4.x | >= 2.2.0 | >= 3.2, < 7.0 | >= 2.7, < 3.0 |
104+
| unreleased | main | >= 2.7 | >= 6.0 | >= 2.7, < 3.0 |
105+
| 4.5.2 | v4.x | >= 2.2.0 | >= 3.2, < 7.0 | >= 2.7, < 3.0 |
106106
| 3.1.0 | v3.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |
107107
| 2.6.0 | v2.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |
108108
| 1.1.0 | v1.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |

README.pt-BR.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</p>
77

88
<p align="center">
9-
<img src="https://img.shields.io/badge/ruby-2.2+-ruby.svg?colorA=99004d&colorB=cc0066" alt="Ruby">
9+
<img src="https://img.shields.io/badge/ruby-2.7+-ruby.svg?colorA=99004d&colorB=cc0066" alt="Ruby">
1010

1111
<a href="https://rubygems.org/gems/u-case">
1212
<img alt="Gem" src="https://img.shields.io/gem/v/u-case.svg?style=flat-square">
@@ -97,10 +97,10 @@ unreleased| https://github.com/serradura/u-case/blob/main/README.md
9797

9898
## Compatibilidade
9999

100-
| u-case | branch | ruby | activemodel | u-attributes- |
100+
| u-case | branch | ruby | activemodel | u-attributes |
101101
| -------------- | ------- | -------- | ------------- | ------------- |
102-
| unreleased | main | >= 2.2.0 | >= 3.2, < 7.0 | >= 2.7, < 3.0 |
103-
| 4.5.1 | v4.x | >= 2.2.0 | >= 3.2, < 7.0 | >= 2.7, < 3.0 |
102+
| unreleased | main | >= 2.7 | >= 6.0 | >= 2.7, < 3.0 |
103+
| 4.5.2 | v4.x | >= 2.2.0 | >= 3.2, < 7.0 | >= 2.7, < 3.0 |
104104
| 3.1.0 | v3.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |
105105
| 2.6.0 | v2.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |
106106
| 1.1.0 | v1.x | >= 2.2.0 | >= 3.2, < 6.1 | ~> 1.1 |

u-case.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
2323
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2424
spec.require_paths = ['lib']
2525

26-
spec.required_ruby_version = '>= 2.2.0'
26+
spec.required_ruby_version = '>= 2.7.0'
2727

2828
spec.add_runtime_dependency 'kind', '>= 5.6', '< 6.0'
2929
spec.add_runtime_dependency 'u-attributes', '>= 2.7', '< 3.0'

0 commit comments

Comments
 (0)