Sleeping King Studios



Projects

The following projects are currently under development.

Cuprum

  • Language: Ruby
  • Source Code: GitHub
  • Rubygems: Link
  • Version: 1.0.0

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.

Read More

Cuprum::Collections

  • Language: Ruby
  • Source Code: GitHub
  • Rubygems: Link
  • Version: 0.2.0

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.

Cuprum::Rails

  • Language: Ruby
  • Source Code: GitHub
  • Rubygems: Link
  • Version: 0.1.0

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.

Stannum

  • Language: Ruby
  • Source Code: GitHub
  • Rubygems: Link
  • Version: 0.2.0

The stannum gem is a library for defining and validating data structures. It defines Constraints, Contracts, and Structs to structure and validate data without relying on a framework or ORM.

Zinke

  • Language: Ruby
  • Source Code: GitHub
  • Version: 0.1.0 Alpha

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.


Other Libraries

RSpec::SleepingKingStudios

  • Language: Ruby
  • Source Code: GitHub
  • Rubygems: Link
  • Version: 2.6.0

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.

Back to Home