Skip to content

Upgrade to ruby 3.3.10#4

Open
dhruvasagar-mb wants to merge 6 commits intomasterfrom
feature/upgrade_to_ruby_3.3.10
Open

Upgrade to ruby 3.3.10#4
dhruvasagar-mb wants to merge 6 commits intomasterfrom
feature/upgrade_to_ruby_3.3.10

Conversation

@dhruvasagar-mb
Copy link
Copy Markdown

Context

Upgrade for supporting ruby 3.3.10

What story is associated with this PR? TBD

What kind of change does this PR introduce? Upgrade for ruby 3.3.10

Summary

  1. Dockerfile — Upgraded for Ruby 3.3.10
    • Base image changed from ruby:1.9.3 → ruby:3.3.10
    • Removed Qt5/webkit packages and PhantomJS installation (both deprecated)
    • Added chromium and chromium-driver to match what CI uses
    • Set CHROME_BIN=/usr/bin/chromium env var
    • Consolidated apt-get into a single layer with cleanup
  2. Removed PhantomJS and switched to using chromium for tests
  3. Dependencies - Updated all to latest versions
  4. Added rubocop, rubocop-rspec, rubocop-capybara and configuration
    • Fixed issues using auto-correct
    • Updated rubocop-todo.yml
  5. lib/billy/proxy_connection.rb — Fixed frozen string literal bug

How can the reviewer see this work locally? N/A

Screenshots

Test Coverage

  • I added unit tests as necessary.
  • I added integration tests as necessary.

Documentation

See Repository Wiki Tab

  • I documented major functions/methods/services.
  • I updated app-level documentation and README as necessary.
  • I updated API documentation as necessary.

Deployment

Does this PR introduce a breaking change? No
Are there special deployment instructions? No

Security Impact

For assistance, see this wiki page.

  • No security impact
  • I have linked to a document that considers security impact or described the security impact below.

1. Dockerfile — Upgraded for Ruby 3.3.10
    - Base image changed from ruby:1.9.3 → ruby:3.3.10
    - Removed Qt5/webkit packages and PhantomJS installation (both
    deprecated)
    - Added chromium and chromium-driver to match what CI uses
    - Set CHROME_BIN=/usr/bin/chromium env var
    - Consolidated apt-get into a single layer with cleanup
2. Removed PhantomJS and switched to using chromium for tests
3. Dependencies - Updated all to latest versions
4. Added rubocop, rubocop-rspec, rubocop-capybara and configuration
    - Fixed issues using auto-correct
    - Updated rubocop-todo.yml
5. `lib/billy/proxy_connection.rb` — Fixed frozen string literal bug
Fix for using headless chrome within ci (container environment) to
avoid memory issues
Removed Aparition since it's not maintained anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants