diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7402bd16..b626a82b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,6 @@ jobs: - rails_6_1 - rails_6_0 - dalli3 - - dalli2 - redis_5 - redis_4 - connection_pool_dalli @@ -51,13 +50,6 @@ jobs: - active_support_6_redis_cache_store_pooled - redis_store exclude: - - gemfile: dalli2 - ruby: '3.3' - - gemfile: dalli2 - ruby: '3.2' - - gemfile: dalli2 - ruby: '3.1' - - gemfile: dalli2 ruby: '3.0' - gemfile: rails_7_0 ruby: '2.6' 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