зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-08-28 15:36:17 +03:00
fix: Improve backward compatibility for Rails 6 and Ruby 3.0+
- Lower Rails requirement from 7.0 to 6.0 for ActiveAdmin 2.9 compatibility - Lower Ruby requirement from 3.2 to 3.0 for broader compatibility - Update CI workflows to test with Ruby 3.0, 3.1, 3.2 where appropriate - Maintain Ruby 3.2+ for ActiveAdmin 4 and Rails 8 tests
Этот коммит содержится в:
4
.github/workflows/specs.yml
поставляемый
4
.github/workflows/specs.yml
поставляемый
@@ -17,10 +17,10 @@ jobs:
|
||||
matrix:
|
||||
include:
|
||||
# Legacy ActiveAdmin 2.x/3.x support
|
||||
- ruby: '3.2'
|
||||
- ruby: '3.0'
|
||||
rails: '7.0'
|
||||
activeadmin: '~> 2.9'
|
||||
- ruby: '3.2'
|
||||
- ruby: '3.1'
|
||||
rails: '7.1'
|
||||
activeadmin: '~> 3.0'
|
||||
- ruby: '3.2'
|
||||
|
||||
2
.github/workflows/specs_rails61.yml
поставляемый
2
.github/workflows/specs_rails61.yml
поставляемый
@@ -13,7 +13,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
ruby: ['3.2']
|
||||
ruby: ['3.0', '3.1', '3.2']
|
||||
|
||||
env:
|
||||
RAILS_VERSION: 6.0
|
||||
|
||||
2
.github/workflows/specs_rails70.yml
поставляемый
2
.github/workflows/specs_rails70.yml
поставляемый
@@ -13,7 +13,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
ruby: ['3.2', '3.3']
|
||||
ruby: ['3.0', '3.1', '3.2']
|
||||
|
||||
env:
|
||||
RAILS_VERSION: 7.0
|
||||
|
||||
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
||||
spec.email = 'mat@blocknot.es'
|
||||
spec.homepage = 'https://github.com/rs-pro/activeadmin-quill_editor'
|
||||
|
||||
spec.required_ruby_version = '>= 3.2'
|
||||
spec.required_ruby_version = '>= 3.0'
|
||||
|
||||
spec.metadata['homepage_uri'] = spec.homepage
|
||||
spec.metadata['changelog_uri'] = 'https://github.com/rs-pro/activeadmin-quill_editor/blob/main/CHANGELOG.md'
|
||||
@@ -26,5 +26,5 @@ Gem::Specification.new do |spec|
|
||||
spec.require_paths = ['lib']
|
||||
|
||||
spec.add_runtime_dependency 'activeadmin', '>= 2.9', '< 5' # rubocop:disable Gemspec/AddRuntimeDependency
|
||||
spec.add_runtime_dependency 'rails', '>= 7.0'
|
||||
spec.add_runtime_dependency 'rails', '>= 6.0'
|
||||
end
|
||||
|
||||
Ссылка в новой задаче
Block a user