Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update seedbank to 0.5.0 #7710

Merged
merged 1 commit into from
Mar 18, 2023
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
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