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

Support for Heroku #186

Merged
merged 1 commit into from
Dec 1, 2018
Merged

Support for Heroku #186

merged 1 commit into from
Dec 1, 2018

Conversation

ankane
Copy link
Contributor

@ankane ankane commented Dec 1, 2018

Hi, this PR allows rbnacl to work with Heroku out-of-the-box (since Heroku is a pretty popular platform for Ruby developers). FFI allows you to specify alternate file names, so it shouldn't cause any issues for other platforms.

Tested on Mac, the heroku-16 stack, and the heroku-18 stack.

@tarcieri tarcieri merged commit 0ffb3c2 into RubyCrypto:master Dec 1, 2018
@tarcieri
Copy link
Contributor

tarcieri commented Dec 1, 2018

Seems fine to me, and will probably help in other cases with ABI-versioned libsodium releases besides just Heroku

@ankane
Copy link
Contributor Author

ankane commented Dec 4, 2018

This also helped on Travis CI. Users can now use the Xenial build environment and do:

dist: xenial
addons:
  apt:
    packages:
      - libsodium18

May be worth adding this .travis.yml example to the wiki.

@tmertens
Copy link

@tarcieri Would it be possible to cut a new gem version with this fix? It also fixes installation for Docker with the libsodium package. The rbnacl gem fails to load without this change.

Thanks!

@tarcieri
Copy link
Contributor

I was hoping to get #189 addressed first before cutting another release

@tarcieri tarcieri mentioned this pull request Jan 27, 2019
adamruzicka added a commit to adamruzicka/foreman-packaging that referenced this pull request Jul 27, 2021
adamruzicka added a commit to adamruzicka/foreman-packaging that referenced this pull request Jul 27, 2021
adamruzicka added a commit to adamruzicka/foreman-packaging that referenced this pull request Jul 27, 2021
adamruzicka added a commit to adamruzicka/foreman-packaging that referenced this pull request Jul 27, 2021
adamruzicka added a commit to adamruzicka/foreman-packaging that referenced this pull request Jul 27, 2021
adamruzicka added a commit to adamruzicka/foreman-packaging that referenced this pull request Jul 27, 2021
pcreech pushed a commit to theforeman/foreman-packaging that referenced this pull request Aug 4, 2021
adamruzicka added a commit to adamruzicka/foreman-packaging that referenced this pull request Aug 5, 2021
The patch is taken from this PR
RubyCrypto/rbnacl#186.

(cherry picked from commit 8a6df84)
zjhuntin pushed a commit to theforeman/foreman-packaging that referenced this pull request Aug 10, 2021
The patch is taken from this PR
RubyCrypto/rbnacl#186.

(cherry picked from commit 8a6df84)
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.

3 participants