Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
include:
- ruby: "ruby"
standardrb: true
- ruby: "3.4"
appraisal: "activerecord_8"
- ruby: "3.1"
appraisal: "activerecord_7"
- ruby: "2.7"
Expand Down
29 changes: 0 additions & 29 deletions .github/workflows/regression_test.yml

This file was deleted.

6 changes: 6 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# frozen_string_literal: true

appraise "activerecord_8" do
gem "activerecord", "~> 8.0"
gem "sqlite3", "~> 2.5.0"
end

appraise "activerecord_7" do
gem "activerecord", "~> 7.0"
gem "sqlite3", "~> 1.4.0"
Expand All @@ -8,6 +13,7 @@ end
appraise "activerecord_6" do
gem "activerecord", "~> 6.0"
gem "sqlite3", "~> 1.4.0"
gem "concurrent-ruby", "1.3.4"
end

appraise "activerecord_5" do
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ gemspec

gem "rspec", "~> 3.0"
gem "rake"
gem "sqlite3", "~> 1.4"
gem "sqlite3"
gem "appraisal"
gem "standard", "~>1.0"
gem "pry-byebug"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Support Table Cache

[![Continuous Integration](https://github.com/bdurand/support_table_cache/actions/workflows/continuous_integration.yml/badge.svg)](https://github.com/bdurand/support_table_cache/actions/workflows/continuous_integration.yml)
[![Regression Test](https://github.com/bdurand/support_table_cache/actions/workflows/regression_test.yml/badge.svg)](https://github.com/bdurand/support_table_cache/actions/workflows/regression_test.yml)
[![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)
[![Gem Version](https://badge.fury.io/rb/support_table_cache.svg)](https://badge.fury.io/rb/support_table_cache)

This gem adds caching for ActiveRecord support table models. These models have a unique key (i.e. a unique `name` attribute, etc.) and a limited number of entries (a few hundred at most). These are often models added to normalize the data structure and are also known as lookup tables.

Expand Down
1 change: 1 addition & 0 deletions gemfiles/activerecord_6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ gem "standard", "~>1.0"
gem "pry-byebug"
gem "yard"
gem "activerecord", "~> 6.0"
gem "concurrent-ruby", "1.3.4"

gemspec path: "../"
14 changes: 14 additions & 0 deletions gemfiles/activerecord_8.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rspec", "~> 3.0"
gem "rake"
gem "sqlite3", "~> 2.5.0"
gem "appraisal"
gem "standard", "~>1.0"
gem "pry-byebug"
gem "yard"
gem "activerecord", "~> 8.0"

gemspec path: "../"