Skip to content

Update version #2

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

Merged

Conversation

threeplanetssoftware
Copy link
Collaborator

Hi there! I came across your gem as I was needing to handle NSKeyedArchiver data in one of my repositories and wanted to help bring it up to date. The changes in the PR bring the Gemfile much further into 2020 and particularly support the latest version of CFPropertyList.

I saw your issue that was waiting on changes to CFPropertyList and believe I have implemented everything necessary for this to be closed. Of note, I removed unpacked_objects and instead made this unpacked_top, since I believe what you really wanted to accomplish was to be able to use a given key in the NSKeyedArchive to get the data it pointed to.

Of note, these are breaking changes, so I have incremented the major version of the gem to 1. The specific breaking change is this initializer now supports the same arguments that CFPropertyList does, :file and :data. I needed to use this on data which I was pulling out of SQLite databases, so having to write to disk in order to make a new KeyedArchive was not appealing.

Fixes #1.

@threeplanetssoftware threeplanetssoftware merged commit 36f81a1 into paulyoung:master Sep 26, 2020
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.

Respond to upcoming changes in CFPropertyList
1 participant