htty is the HTTP TTY, a console application for interacting with web servers. It’s a fun way to explore web APIs and to learn the ins and outs of HTTP.
Install by typing:
gem install htty
This RubyGem and Rails plugin adds a ‘validates_constancy_of’ validation to Active Record. It allows you to prevent particular database fields from being changed after a record is created. A validation error occurs on updates if an attribute of a model object is different from its value in the
... [More] database.
The code is packaged as both a RubyGem and a Rails plugin. You can use either one, depending on what your needs are.
NOTE: This project is no longer in active development. It has been superseded by the built-in attr_readonly method in Rails. [Less]
Trapeze generates a suite of unit tests or specifications for existing Ruby source code. This is accomplished through dynamic analysis, by reflecting on the public interfaces of classes, modules and top-level methods defined in the source. Trapeze then exercises each object, module and method
... [More], recording the behavior of the code. This recorded behavior is captured in a suite of test cases or specifications that can be rendered as test code or executable specifications.
In essence, Trapeze is a tool for characterizing Ruby source code. Trapeze lets you fly high as you maintain and enhance a Ruby codebase that lacks test or spec coverage, knowing that you have a regression safety net underneath you. [Less]
An Elixir API for consuming structured input streams
‘StructuredIO’ resembles Elixir’s ‘IO’ module. The difference is that whereas ‘IO’ exposes a freeform stream of bytes or lines of data, ‘StructuredIO’ guarantees that only complete data elements are returned from its reader functions. This
... [More] simplifies your application logic with respect to fragmentary input. [Less]
Cape provides a simple DSL for selecting Rake tasks to be made available as documented Capistrano recipes. You can pass required arguments to Rake tasks via environment variables.
Install by typing:
gem install cape
If you like the ‘Module#autoload’ feature of the Ruby Core library, you may have wished for Autoloaded. It eliminates the drudgery of handcrafting an `autoload` statement for each Ruby source code file in your project. It also avoids the limitations of rigid convention-driven facilities such as
... [More] those provided by the ActiveSupport RubyGem.
Autoloaded assumes, but does not enforce, `CamelCase`-to-`snake_case` correspondence between the names of constants and source files. You can combine conventions, even putting multiple autoloaded constants in a single source file. [Less]
This site uses cookies to give you the best possible experience.
By using the site, you consent to our use of cookies.
For more information, please see our
Privacy Policy