diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7591eec..068b163 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,15 +10,14 @@ jobs: strategy: matrix: + ruby-version: [3.3.6] + rails-version: + - 71 + - 72 + - 80 include: - ruby-version: 3.2.3 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: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails-version }}.gemfile diff --git a/Appraisals b/Appraisals index 3f4f8d0..8c7c8ec 100644 --- a/Appraisals +++ b/Appraisals @@ -11,3 +11,7 @@ end appraise 'rails_72' do gem 'rails', '~>7.2.1' end + +appraise 'rails_80' do + gem 'rails', '~>8.0.0' +end diff --git a/gemfiles/rails_80.gemfile b/gemfiles/rails_80.gemfile new file mode 100644 index 0000000..c7a6579 --- /dev/null +++ b/gemfiles/rails_80.gemfile @@ -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: "../" diff --git a/paperclip.gemspec b/paperclip.gemspec index b004d40..d5864b5 100644 --- a/paperclip.gemspec +++ b/paperclip.gemspec @@ -19,7 +19,7 @@ Gem::Specification.new do |s| s.rubyforge_project = %q{paperclip} 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 'fastimage' end