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

Bump bootsnap from 1.6.0 to 1.18.3 #4093

Merged
merged 3 commits into from
Feb 11, 2024
Merged

Bump bootsnap from 1.6.0 to 1.18.3 #4093

merged 3 commits into from
Feb 11, 2024

Conversation

orien
Copy link
Contributor

@orien orien commented Feb 11, 2024

bootsnap

Minor version upgrade πŸ“ˆπŸ”Ά 1.6.0 β†’ 1.18.3

[change-log, source-code, gem-diff]

A change of 248 commits. See the full changes on the compare page.

@@ -13,7 +13,6 @@
cache_dir: 'tmp/bootsnap', # Path to your cache
development_mode: rails_env == "development",
load_path_cache: true, # optimizes the LOAD_PATH with a cache
autoload_paths_cache: true, # optimizes ActiveSupport autoloads with cache
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Bootsnap no longer supports the classic Rails class autoloader, which this option refers to.

Samson is not using the classic autoloader. Rather, it's using Zeitwerk. So removing this capability (and configuration) is of no consequence.

plugin_name = line[/\/plugins\/([^\/]+)/, 1] || raise("not called from a plugin not #{line}")
plugin_name = line[/^plugins\/([^\/]+)/, 1] || raise("not called from a plugin not #{line}")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adjust the plugin-detecting regex to get the tests passing.

@orien orien marked this pull request as ready for review February 11, 2024 22:31
@orien
Copy link
Contributor Author

orien commented Feb 11, 2024

@grosser The test suite is passing now.

Copy link
Contributor

@grosser grosser left a comment

Choose a reason for hiding this comment

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

weird that the path changed ... but fix seems good πŸ‘

@grosser grosser merged commit 2573f04 into zendesk:master Feb 11, 2024
9 checks passed
@orien orien deleted the bootsnap branch February 11, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants