Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eppo-server-sdk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eppo-server-sdk

  • 3.3.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Eppo SDK for Ruby

Getting Started

Refer to our SDK documentation for how to install and use the SDK.

Supported Ruby Versions

This version of the SDK is compatible with Ruby 3.0.6 and above.

Logging

Ruby SDK uses env_logger for logging.

Starting from version 3.3.0, the log level can be configured via EPPO_LOG environment variable using one of the following values:

  • off
  • error
  • warn
  • info (default)
  • debug
  • trace

Alternatively, it can be configured using log_level parameter for EppoClient::Config constructor:

config = EppoClient::Config.new("sdk-key", log_level: "debug")

Contributing

Testing with local version of eppo_core

To run build and tests against a local version of eppo_core, you should instruct Cargo to look for it at the local path.

Add the following to .cargo/config.toml file (relative to ruby-sdk):

[patch.crates-io]
eppo_core = { path = '../eppo_core' }

Make sure you remove the override before updating Cargo.lock. Otherwise, the lock file will be missing eppo_core checksum and will be unsuitable for release. (CI will warn you if you do this accidentally.)

Releasing

  • Bump versions in ruby-sdk/lib/eppo_client/version.rb and ruby-sdk/ext/eppo_client/Cargo.toml
  • Run cargo update --workspace --verbose to update Cargo.lock
  • Run bundle to update Gemfile.lock

FAQs

Package last updated on 22 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc