Automatic Dependency Injection where you get to see and keep control of the constructor
WARNING: Contains intentional security vulnerabilities including command injection, YAML deserialization, eval injection, and hardcoded secrets. For testing GitLab dependency scanning, SAST tools, and security training ONLY. DO NOT use in production.
DepInject helps to inject dependencies into your classes, enforcing public method restrictions.
GlueGun makes dependency injection and hydration a first-order concern
Yet another dependency injection container
Simple dependency injection for Ruby classes
A thread-safe dependency injection container.
SmartInject is a minimalist, flexible and efficient dependency injection for Ruby based on constructor injection, one of the most used method for DI. SmartInject is intented to be under your control. No magic here.
A gem to handle dependency injection on ruby applications
A custom generator for creating features as modules using the dry.rb gems. The module registers a dry system provider, adds routes, view and migrations paths to the application configuration and registers the models and services for dependency injection.