mirror of
https://github.com/kemko/paperclip.git
synced 2026-01-01 16:05:40 +03:00
Allow and test on rails 8
This commit is contained in:
11
.github/workflows/test.yaml
vendored
11
.github/workflows/test.yaml
vendored
@@ -10,15 +10,14 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
ruby-version: [3.3.6]
|
||||||
|
rails-version:
|
||||||
|
- 71
|
||||||
|
- 72
|
||||||
|
- 80
|
||||||
include:
|
include:
|
||||||
- ruby-version: 3.2.3
|
- ruby-version: 3.2.3
|
||||||
rails-version: 70
|
rails-version: 70
|
||||||
# - ruby-version: 3.3.5
|
|
||||||
# rails-version: 70
|
|
||||||
- ruby-version: 3.3.5
|
|
||||||
rails-version: 71
|
|
||||||
- ruby-version: 3.3.5
|
|
||||||
rails-version: 72
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails-version }}.gemfile
|
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails-version }}.gemfile
|
||||||
|
|||||||
@@ -11,3 +11,7 @@ end
|
|||||||
appraise 'rails_72' do
|
appraise 'rails_72' do
|
||||||
gem 'rails', '~>7.2.1'
|
gem 'rails', '~>7.2.1'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
appraise 'rails_80' do
|
||||||
|
gem 'rails', '~>8.0.0'
|
||||||
|
end
|
||||||
|
|||||||
18
gemfiles/rails_80.gemfile
Normal file
18
gemfiles/rails_80.gemfile
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# This file was generated by Appraisal
|
||||||
|
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "pg"
|
||||||
|
gem "aws-sdk-s3", "=1.143.0"
|
||||||
|
gem "fog-local"
|
||||||
|
gem "delayed_paperclip", git: "https://github.com/insales/delayed_paperclip.git"
|
||||||
|
gem "rails", "~>8.0.0"
|
||||||
|
gem "sidekiq", "~>6.5"
|
||||||
|
gem "test-unit"
|
||||||
|
gem "simplecov", require: false
|
||||||
|
gem "mocha"
|
||||||
|
gem "thoughtbot-shoulda", ">= 2.9.0"
|
||||||
|
gem "pry"
|
||||||
|
gem "pry-byebug"
|
||||||
|
|
||||||
|
gemspec path: "../"
|
||||||
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|||||||
s.rubyforge_project = %q{paperclip}
|
s.rubyforge_project = %q{paperclip}
|
||||||
s.summary = %q{File attachments as attributes for ActiveRecord}
|
s.summary = %q{File attachments as attributes for ActiveRecord}
|
||||||
|
|
||||||
s.add_dependency 'activesupport', [">= 5.0", '< 8']
|
s.add_dependency 'activesupport', [">= 5.0", '< 9']
|
||||||
s.add_dependency 'addressable'
|
s.add_dependency 'addressable'
|
||||||
s.add_dependency 'fastimage'
|
s.add_dependency 'fastimage'
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user