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

Extract Attributes into its own plugin #404

Merged
merged 7 commits into from
Jul 5, 2020
Merged

Conversation

shioyama
Copy link
Owner

@shioyama shioyama commented Jul 3, 2020

That's it, now basically everything is a plugin.

Also, previously when calling methods like mobility_attributes, we'd grep all modules which are instances of Mobility::Attributes, grab their names and merge/flatten them. Same idea for backend classes. With this PR, we instead keep a running copy of what they are in an array, and add to it. Same for backend classes except we merge (since backend classes is a hash of keys->class).

Also: removed BackendCache, we don't need it.

@shioyama
Copy link
Owner Author

shioyama commented Jul 5, 2020

In passing, I'll mention the only place I could find that actually explains the return values of block.parameters in any detail is this page in Japanese.

@shioyama shioyama merged commit 7f5d71a into master Jul 5, 2020
@github-pages github-pages bot temporarily deployed to github-pages July 5, 2020 01:40 Inactive
@shioyama shioyama deleted the simplify_backend_plugin branch July 5, 2020 02:46
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.

1 participant