-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛💥 Remove accidental
Data#attributes
method
`#attributes` isn't part of the core `Data` API, and it never should've been added as a public method to our polyfill. This is a breaking API change, _but only for users on ruby 3.1._ For users on ruby 3.2+, this is _not_ a breaking change. For newer ruby versions, `Data#attributes` wasn't defined and this fixes YAML encoding. Since this only affects ruby 3.1 and this was only recently added (in v0.5.2), it's unlikely anyone has written code that uses this method. If they have, they'll need to convert it to `#to_h`.
- Loading branch information
Showing
1 changed file
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters