Add this line to your application's Gemfile:
gem 'omniauth-liblynx'Adding the middleware to a Rails app in config/initializers/omniauth.rb:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :liblynx, ENV['LIBLYNX_ID'], ENV['LIBLYNX_SECRET']
endRead the OmniAuth docs for detailed instructions: https://github.com/intridea/omniauth.
- Bump the version in
lib/omniauth-liblynx/version.rb - Commit:
git commit -am "Bump version to X.Y.Z" - Tag:
git tag vX.Y.Z - Push:
git push origin master --tags
The GitHub Actions release workflow will build and publish the gem to RubyGems automatically.
Note: RubyGems trusted publishing must be configured for this repo on rubygems.org before the first release. Under the gem's settings on rubygems.org, add a trusted publisher with owner
dsablic, repositoryomniauth-liblynx, workflowrelease.yml, and environmentrubygems.