Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ jobs:
strategy:
matrix:
include:
- ruby: '3.4'
active-model: '8.0.2'
couchbase: '7.2.3'
- ruby: '3.3'
active-model: '8.0.0'
couchbase: '7.2.3'
- ruby: '3.3'
gemfile: '7.1.0'
active-model: '7.2'
couchbase: '7.2.3'
- ruby: '3.2'
gemfile: '7.1.0'
active-model: '7.2.0'
couchbase: '7.1.1'
- ruby: '3.0'
gemfile: '7.0.0'
- ruby: '3.2'
active-model: '7.1.0'
couchbase: '6.6.5'
- ruby: '3.0'
gemfile: '7.0.0'
couchbase: '7.1.0'
- ruby: '2.7'
gemfile: '7.0.0'
couchbase: '7.1.0'
fail-fast: false
runs-on: ubuntu-20.04
name: ${{ matrix.ruby }} rails-${{ matrix.gemfile }} couchbase-${{ matrix.couchbase }}
name: ${{ matrix.ruby }} rails-${{ matrix.active-model }} couchbase-${{ matrix.couchbase }}
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update && sudo apt-get install libevent-dev libev-dev python-httplib2
Expand All @@ -39,7 +39,7 @@ jobs:
- run: sudo ./ci/run_couchbase.sh $COUCHBASE_VERSION $COUCHBASE_BUCKET $COUCHBASE_USER $COUCHBASE_PASSWORD
- run: bundle exec rspec
env:
ACTIVE_MODEL_VERSION: ${{ matrix.gemfile }}
ACTIVE_MODEL_VERSION: ${{ matrix.active-model }}
BUNDLE_JOBS: 4
BUNDLE_PATH: vendor/bundle
COUCHBASE_BUCKET: default
Expand Down
4 changes: 2 additions & 2 deletions couchbase-orm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Gem::Specification.new do |gem|
gem.summary = 'Couchbase ORM for Rails'
gem.description = 'A Couchbase ORM for Rails'

gem.required_ruby_version = '>= 2.7.0'
gem.required_ruby_version = '>= 3.2.0'
Comment thread
pimpin marked this conversation as resolved.
Outdated
gem.require_paths = ['lib']

gem.add_runtime_dependency 'activemodel', ENV['ACTIVE_MODEL_VERSION'] || '>= 5.2'
gem.add_runtime_dependency 'activemodel', ENV['ACTIVE_MODEL_VERSION'] || '>= 7.1'
Comment thread
pimpin marked this conversation as resolved.

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