Skip to content

Commit 5839f83

Browse files
committed
Keep suport of some EOL Ruby versions
1 parent 756c53b commit 5839f83

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
- ruby: '3.2'
2727
active-model: '7.1.0'
2828
couchbase: '6.6.5'
29+
- ruby: '3.0'
30+
gemfile: '7.0.0'
31+
couchbase: '7.1.0'
32+
- ruby: '2.7'
33+
gemfile: '7.0.0'
34+
couchbase: '7.1.0'
2935
fail-fast: false
3036
runs-on: ubuntu-20.04
3137
name: ${{ matrix.ruby }} rails-${{ matrix.active-model }} couchbase-${{ matrix.couchbase }}

couchbase-orm.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Gem::Specification.new do |gem|
1515
gem.summary = 'Couchbase ORM for Rails'
1616
gem.description = 'A Couchbase ORM for Rails'
1717

18-
gem.required_ruby_version = '>= 3.2.0'
18+
gem.required_ruby_version = '>= 2.7.0'
1919
gem.require_paths = ['lib']
2020

21-
gem.add_runtime_dependency 'activemodel', ENV['ACTIVE_MODEL_VERSION'] || '>= 7.1'
21+
gem.add_runtime_dependency 'activemodel', ENV['ACTIVE_MODEL_VERSION'] || '>= 5.2'
2222

2323
gem.add_runtime_dependency 'couchbase', '>= 3.4.2'
2424
gem.add_runtime_dependency 'radix', '~> 2.2' # converting numbers to and from any base

0 commit comments

Comments
 (0)