Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
12 changes: 6 additions & 6 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.6, 2.7, "jruby"]
ruby: ["3.2", "3.3", "jruby"]
gemfile:
- "active_support_5_0"
- "active_support_5_1"
- "active_support_5_2"
- "active_support_6_0"
- "active_support_6_1"
- "active_support_7_2"
- "active_support_8_0"
exclude:
- ruby: "jruby"
gemfile: "active_support_8_0"
steps:
- uses: actions/checkout@v2
- name: Set up CouchDB
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ end

desc 'Run all specs for all gemfiles'
task :spec do
%w(6_1 6_0 5_2 5_1 5_0).each do |version|
Bundler.with_clean_env do
%w(7_2 8_0).each do |version|
Bundler.with_original_env do
puts "Running tests with ActiveSupport #{version.sub('_', '.')}"
sh "env BUNDLE_GEMFILE=gemfiles/active_support_#{version} bundle install"
sh "env BUNDLE_GEMFILE=gemfiles/active_support_#{version} bundle exec rake spec_unit spec_functional"
Expand Down
2 changes: 1 addition & 1 deletion couch_potato.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.version = CouchPotato::VERSION
s.platform = Gem::Platform::RUBY

s.add_dependency 'activemodel', ['>= 5.0', '< 7.0']
s.add_dependency 'activemodel', ['>= 7.2', '< 8.1']
s.add_dependency 'couchrest', '~>2.0.1'
s.add_dependency 'json', '~> 2.3'

Expand Down
7 changes: 0 additions & 7 deletions gemfiles/active_support_5_1

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/active_support_5_2

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/active_support_6_0

This file was deleted.

4 changes: 2 additions & 2 deletions gemfiles/active_support_6_1 → gemfiles/active_support_7_2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source 'https://rubygems.org'

gem 'activemodel', '~>6.1'
gem 'rails', '~>6.1'
gem 'railties', '~>7.2.1'
gem 'activemodel'
gem 'execjs'

gemspec name: 'couch_potato', path: '..'
5 changes: 3 additions & 2 deletions gemfiles/active_support_5_0 → gemfiles/active_support_8_0
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
source 'https://rubygems.org'

gem 'activemodel', '~>5.0.0'
gem 'rails', '~>5.0.0'

gem 'railties', '~>8.0.1'
gem 'activemodel'
gem 'execjs'

gemspec name: 'couch_potato', path: '..'
Loading