Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Oct 14, 2023
1 parent 10dd473 commit 6508e05
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 19 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ jobs:
- 3.1
- "3.0"
- 2.7
- 2.6
- 2.5
gemfile:
- gemfiles/activerecord_6.0.gemfile
- gemfiles/activerecord_6.1.gemfile
- gemfiles/activerecord_7.1.gemfile
- gemfiles/activerecord_7.0.gemfile
- gemfiles/activerecord_6.1.gemfile
db:
- mysql
- postgresql
Expand All @@ -35,10 +33,6 @@ jobs:
db: postgresql
gemfile: gemfiles/activerecord_7.0.gemfile
exclude:
- ruby: 2.5
gemfile: gemfiles/activerecord_7.0.gemfile
- ruby: 2.6
gemfile: gemfiles/activerecord_7.0.gemfile
- ruby: 3.2
gemfile: gemfiles/activerecord_6.0.gemfile

Expand Down
18 changes: 12 additions & 6 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# frozen_string_literal: true

appraise 'activerecord-6.0' do
gem 'activerecord', '~> 6.0.0'
gem 'pg'
gem 'mysql2', '~> 0.5'
end

appraise 'activerecord-6.1' do
gem 'activerecord', '~> 6.1.0'
gem 'pg'
Expand All @@ -17,3 +11,15 @@ appraise 'activerecord-7.0' do
gem 'pg'
gem 'mysql2', '~> 0.5'
end

appraise 'activerecord-7.1' do
gem 'activerecord', '~> 7.1.0'
gem 'pg'
gem 'mysql2', '~> 0.5'
end

appraise 'activerecord-7.1' do
gem 'activerecord', '~> 7.1.0'
gem 'pg'
gem 'trilogy'
end
7 changes: 3 additions & 4 deletions acts-as-taggable-on.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'acts_as_taggable_on/version'

require_relative 'lib/acts_as_taggable_on/version'

Gem::Specification.new do |gem|
gem.name = 'acts-as-taggable-on'
Expand All @@ -22,7 +21,7 @@ Gem::Specification.new do |gem|
gem.post_install_message = File.read('UPGRADING.md')
end

gem.add_runtime_dependency 'activerecord', '>= 6.0', '< 8'
gem.add_runtime_dependency 'activerecord', '>= 6.1', '< 7.2'

gem.add_development_dependency 'rspec-rails'
gem.add_development_dependency 'rspec-its'
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/activerecord_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "activerecord", "~> 7.0.0"
gem "activerecord", "~> 7.0.1"
gem "pg"
gem "mysql2", "~> 0.5"

Expand Down
18 changes: 18 additions & 0 deletions gemfiles/activerecord_7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord", "~> 7.1.0"
gem "pg"
gem "trilogy"

group :local_development do
gem "guard"
gem "guard-rspec"
gem "appraisal"
gem "rake"
gem "sqlite3"
gem "byebug", platforms: [:mri]
end

gemspec path: "../"

0 comments on commit 6508e05

Please sign in to comment.