Sign in

Repository Index

47,133 repositories indexed

Filters

Filters

Clear all filters

1–13 of 13 · Most stars

A minimal finite state machine with a straightforward syntax.

  • ruby-gem
  • state-machine
  • state-transitions
  • conditional-transitions

A collection of useful utility functions

  • utility
  • utilities
  • string
  • strings

Counter caches for Rails computed from any block, such as conditional counts or sums, kept up to date by callbacks on any number of models and stored in a column, a shared counters table or your cache store. Recounts run after commit, so concurrent saves can't leave a stale value.

This shard provides facilities for checking whether a constant exists at compile time, and for a variety of different conditional compilation options. Code can be conditionally compiled based on the existence of a constant, version number constraints, or whether an environment variable is set truthy or not.

  • crystal