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

Ruby 3.3.6 update #6098

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Ruby 3.3.6 update #6098

merged 2 commits into from
Dec 11, 2024

Conversation

thejonroberts
Copy link
Contributor

What github issue is this PR for, if any?

No issue

What changed, and why?

Update ruby version

How is this tested? (please write tests!) 💖💪

Current specs only

@github-actions github-actions bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code Tests! 🎉💖👏 erb labels Nov 13, 2024
private_class_method

def self.send_notification(followup, creator)
private_class_method def self.send_notification(followup, creator)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this fixed a warning: private_class_method is ignored unless called with a symbol, like:
private_class_method :send_notification
or used this way.

@@ -54,7 +54,6 @@
</h3>
<% min_date = CaseContact::MINIMUM_DATE %>
<% current_date = Time.zone.today %>
<% initial_value = @case_contact.occurred_at&.to_date %>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused (warning)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's an erb, so probably used by js somewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, but I only know that because I wrote it haha. I left this straggler.

@@ -6,7 +6,7 @@
casa_org = create(:casa_org, name: "Fake Name", display_name: "Fake Display Name")
placement_type = create(:placement_type, casa_org: casa_org)
creator = create(:user)
placement = create(:placement, creator: creator, placement_type: placement_type) # rubocop:disable Lint/UselessAssignment
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused var (warning)

end
end
end
Capybara.save_path = Rails.root.join("tmp", "screenshots#{ENV["GROUPS_UNDERSCORE"]}")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

method redefined (warning). I'm like 90% sure this is equivalent, but may want to check CI artifacts work.

@thejonroberts thejonroberts marked this pull request as ready for review November 13, 2024 14:18
@compwron
Copy link
Collaborator

compwron commented Dec 5, 2024

has merge conflicts now sorry :/

ran rspec with --warnings flag and fixed most of them in our code
@thejonroberts
Copy link
Contributor Author

@compwron no problem, rebased now.

@FireLemons FireLemons merged commit 8d3934f into rubyforgood:main Dec 11, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file erb ruby Pull requests that update Ruby code Tests! 🎉💖👏
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants