bouncycastle

License

This packages the Bouncy Castle jars into a convenient gem for requiring.

require 'bouncycastle'

Setup

To setup the development environment for building the gem, some dependencies must be installed.

Install mise-en-place

The [mise] CLI tool used to manage multiple runtime versions.

See: https://mise.jdx.dev/getting-started.html

curl https://mise.jdx.dev/install.sh | sh
~/.local/bin/mise --version

Enable mise activation in future zsh sessions.

echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc

Install required runtime software

Download and install the latest version of the Java JDK.

mise install

Install required gems

Use bundler to install the required gem dependencies.

gem update --system
gem install bundler
bundle install

Building

To clean the project, run unit tests, build the gem file, and verify that the built artifact works, execute:

bundle exec rake clean clobber gem verify

Publish

To publish the gem, execute:

bundle exec rake publish