Skip to content

Maintenance: Update rbnacl to resolve ffi deprecation warning#2782

Merged
kevinrobinson merged 1 commit into
masterfrom
patch/rbnacl-ffi
Mar 17, 2020
Merged

Maintenance: Update rbnacl to resolve ffi deprecation warning#2782
kevinrobinson merged 1 commit into
masterfrom
patch/rbnacl-ffi

Conversation

@kevinrobinson

Copy link
Copy Markdown
Contributor

Follow-on to #2781, which was an automated security patch. It seems the automated patch updated unrelated gems, and while I reviewed the changelog for administrate, I didn't didn't notice the diff updated a bunch of unrelated packages.

One of the changes was to update ffi, which led to this deprecation warning when running tests or deploying:

```[DEPRECATION] Struct layout is already defined for class RbNaCl::HMAC::State. Redefinition as in /Users/me/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/rbnacl-7.1.0/lib/rbnacl/hmac/sha512.rb:105:in `class:State' will be disallowed in ffi-2.0.


So this bumps `rbnacl` to resolve that ([changelog](https://github.com/RubyCrypto/rbnacl/blob/master/CHANGES.md)).

@kevinrobinson

Copy link
Copy Markdown
Contributor Author

selfie

@kevinrobinson kevinrobinson merged commit 8a2cd2b into master Mar 17, 2020
@kevinrobinson kevinrobinson deleted the patch/rbnacl-ffi branch March 17, 2020 18:33
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