diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 012e9f5be1..faeffe394c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,11 +5,6 @@ updates: schedule: interval: monthly open-pull-requests-limit: 10 - ignore: - # https://github.com/thewca/worldcubeassociation.org/pull/3644 - - dependency-name: seedbank - versions: - - 0.5.0 - package-ecosystem: npm directory: "/WcaOnRails" schedule: diff --git a/WcaOnRails/Gemfile.lock b/WcaOnRails/Gemfile.lock index f4e1cf54c2..62779320ab 100644 --- a/WcaOnRails/Gemfile.lock +++ b/WcaOnRails/Gemfile.lock @@ -618,7 +618,8 @@ GEM faraday (>= 0.17.3, < 3) sdoc (2.6.1) rdoc (>= 5.0) - seedbank (0.4.0) + seedbank (0.5.0) + rake (>= 10.0) semantic_range (3.0.0) shakapacker (6.5.6) activesupport (>= 5.2) diff --git a/WcaOnRails/spec/support/test_db_manager.rb b/WcaOnRails/spec/support/test_db_manager.rb index bc0dc84691..383c25b4d1 100644 --- a/WcaOnRails/spec/support/test_db_manager.rb +++ b/WcaOnRails/spec/support/test_db_manager.rb @@ -2,18 +2,18 @@ class TestDbManager CONSTANT_TABLES = %w( - Countries Continents + Countries + eligible_country_iso2s_for_championship Events - RoundTypes Formats preferred_formats + RoundTypes teams - eligible_country_iso2s_for_championship ).freeze def self.fill_tables - Seedbank.load_tasks + Rails.application.load_tasks Rake::Task["db:seed:common"].invoke end end