diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b6238346..0d07fad3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,6 @@ jobs: - rails_6_0 - rails_5_2 - dalli3 - - dalli2 - redis_5 - redis_4 - connection_pool_dalli @@ -60,32 +59,24 @@ jobs: ruby: '3.3' - gemfile: active_support_5_redis_cache_store_pooled ruby: '3.3' - - gemfile: dalli2 - ruby: '3.3' - gemfile: rails_5_2 ruby: '3.2' - gemfile: active_support_5_redis_cache_store ruby: '3.2' - gemfile: active_support_5_redis_cache_store_pooled ruby: '3.2' - - gemfile: dalli2 - ruby: '3.2' - gemfile: rails_5_2 ruby: '3.1' - gemfile: active_support_5_redis_cache_store ruby: '3.1' - gemfile: active_support_5_redis_cache_store_pooled ruby: '3.1' - - gemfile: dalli2 - ruby: '3.1' - gemfile: rails_5_2 ruby: '3.0' - gemfile: active_support_5_redis_cache_store ruby: '3.0' - gemfile: active_support_5_redis_cache_store_pooled ruby: '3.0' - - gemfile: dalli2 - ruby: '3.0' - gemfile: rails_7_0 ruby: '2.6' - gemfile: rails_7_0 diff --git a/gemfiles/dalli2.gemfile b/gemfiles/dalli2.gemfile deleted file mode 100644 index eb7e4acb..00000000 --- a/gemfiles/dalli2.gemfile +++ /dev/null @@ -1,12 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "dalli", "~> 2.0" - -group :maintenance, optional: true do - gem "bake" - gem "bake-gem" -end - -gemspec path: "../" diff --git a/spec/acceptance/stores/active_support_dalli_store_spec.rb b/spec/acceptance/stores/active_support_dalli_store_spec.rb deleted file mode 100644 index 4aded231..00000000 --- a/spec/acceptance/stores/active_support_dalli_store_spec.rb +++ /dev/null @@ -1,24 +0,0 @@ -# frozen_string_literal: true - -require_relative "../../spec_helper" - -should_run = - defined?(::Dalli) && - Gem::Version.new(::Dalli::VERSION) < Gem::Version.new("3") - -if should_run - require_relative "../../support/cache_store_helper" - require "active_support/cache/dalli_store" - - describe "ActiveSupport::Cache::DalliStore as a cache backend" do - before do - Rack::Attack.cache.store = ActiveSupport::Cache::DalliStore.new - end - - after do - Rack::Attack.cache.store.clear - end - - it_works_for_cache_backed_features(fetch_from_store: ->(key) { Rack::Attack.cache.store.fetch(key) }) - end -end