Skip to content

Commit

Permalink
Update seedbank to 0.5.0 (#7710)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorbg authored Mar 18, 2023
1 parent 79257a7 commit acca140
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion WcaOnRails/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions WcaOnRails/spec/support/test_db_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit acca140

Please sign in to comment.