Skip to content

Commit

Permalink
Update seedbank to 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorbg committed Mar 18, 2023
1 parent 5c1f827 commit 312a898
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 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
2 changes: 0 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
with:
path: '~/.cache/yarn'
key: ${{ runner.os }}-yarn
- name: Populate database with seeds
run: bundle exec rake db:reset
- name: Pre-compile assets for frontend tests
env:
DISABLE_SPRING: 1
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 312a898

Please sign in to comment.