Skip to content

Commit

Permalink
Merge pull request #293 from kortirso/testing
Browse files Browse the repository at this point in the history
update gems
  • Loading branch information
kortirso committed Apr 23, 2024
2 parents b8c2441 + 33ba61d commit acc0100
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ GEM
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.1)
rubocop (1.63.2)
rubocop (1.63.3)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand Down Expand Up @@ -428,7 +428,7 @@ GEM
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.3)
rubocop (~> 1.40)
ruby-next-core (1.0.2)
ruby-next-core (1.0.3)
ruby-progressbar (1.13.0)
sassc (2.4.0)
ffi (~> 1.9)
Expand Down Expand Up @@ -482,7 +482,7 @@ GEM
unicode-display_width (2.5.0)
uniform_notifier (1.16.0)
uri (0.13.0)
view_component (3.12.0)
view_component (3.12.1)
activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0)
method_source (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20240417155344_add_finished_to_seasons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def change
add_column :seasons, :status, :integer, null: false, default: 0

Season.find_each do |season|
season.update!(status: season.active? ? Season::ACTIVE : Season::INACTIVE)
season.update!(status: season.attributes['active'] ? Season::ACTIVE : Season::INACTIVE)
end
end
end

0 comments on commit acc0100

Please sign in to comment.