The following projects are currently under development.
The cuprum
gem provides an opinionated implementation of the Command pattern for Ruby applications. Cuprum wraps your business logic in a consistent, object-oriented interface and features status and error management, composability and control flow management.
The cuprum-collections
gem is an adapter library which provides a consistent interface between data stores. Imagine seamlessly switching between relational and document-based data stores, or using a fast in-memory store to run your unit tests.
The cuprum-rails
gem provides an integration between Cuprum
and the Rails
framework, with a configuration-based approach to defining resourceful controllers. Reduce boilerplate and improve the testability and reusability of your business logic.
The stannum
gem is a library for defining and validating data structures. It defines Constraint
s, Contract
s, and Struct
s to structure and validate data without relying on a framework or ORM.
The zinke
gem implements the Reducer pattern in Ruby, as seen in JavaScript libraries like React and languages like Elm. This provides a Store that serves as a single, stable source of truth for stateful applications.
rspec-sleeping_king_studios
is a collection of matchers and extensions to ease TDD/BDD using RSpec. Extends built-in matchers with new functionality, such as support for Ruby 2.0+ keyword arguments, and adds new matchers for testing boolean-ness, object reader/writer properties, object constructor arguments, ActiveModel validations, and more. Also defines shared example groups for more expressive testing.