Skip to content

Commit

Permalink
Fix CI (#94)
Browse files Browse the repository at this point in the history
* Fix Docker setup for Apple M2

* Drop support for Rails 5.2 and 6.0

* Drop support for Ruby 2.7

* Lock sqlite3 version
  • Loading branch information
adamniedzielski committed Jun 14, 2024
1 parent f82b994 commit 9585037
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 27 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,15 @@ jobs:
fail-fast: false
matrix:
gemfile:
- rails5.2
- rails6.0
- rails6.1
- rails7.0
ruby:
- "2.7"
- "3.0"
- "3.1"
backend:
- active_record
- mongoid
exclude:
- gemfile: rails5.2
ruby: "3.0"
- gemfile: rails5.2
ruby: "3.1"
- gemfile: rails6.0
ruby: "3.1"
- gemfile: rails6.1
ruby: "3.1"
name: ${{ matrix.gemfile }}, ruby ${{ matrix.ruby }}, ${{ matrix.backend }}
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: "3.9"
services:
library:
platform: linux/x86_64
build:
context: .
stdin_open: true
Expand Down
7 changes: 0 additions & 7 deletions gemfiles/rails5.2.gemfile

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/rails6.0.gemfile

This file was deleted.

2 changes: 1 addition & 1 deletion gemfiles/rails6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ source "https://rubygems.org"

gem "rails", "~> 6.1.0"
gem "mongoid"
gem "sqlite3"
gem "sqlite3", "~> 1.4"

gemspec path: "../"
2 changes: 1 addition & 1 deletion gemfiles/rails7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ source "https://rubygems.org"

gem "rails", "~> 7.0.2"
gem "mongoid"
gem "sqlite3"
gem "sqlite3", "~> 1.4"

gemspec path: "../"
4 changes: 2 additions & 2 deletions tiddle.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.required_ruby_version = '>= 2.7.0'
spec.required_ruby_version = '>= 3.0.0'

spec.add_dependency "devise", ">= 4.0.0.rc1", "< 5"
spec.add_dependency "activerecord", ">= 5.2.0"
spec.add_dependency "activerecord", ">= 6.1.0"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec-rails"
spec.add_development_dependency "simplecov"
Expand Down

0 comments on commit 9585037

Please sign in to comment.