HighLine provides a high-level IO library that provides validation, type conversion, and more for command-line interfaces. HighLine also includes a menu system for providing multiple options to the user.
Sanitize is a whitelist-based HTML and CSS sanitizer. Given a list of acceptable elements, attributes, and CSS properties, Sanitize will remove all unacceptable HTML and/or CSS from a string.
Maxitest is a wrapper around Minitest with extra functionality such as timeouts, an mtest executable that can run tests by line number, support for interrupted tests, better backtraces, and more.
The Polyglot library allows a Ruby module to register a loader for the file type associated with a filename extension, and it augments require to find and load matching files.
This library provides functionality to send Internet mail via SMTP, the Simple Mail Transfer Protocol. The SMTP protocol specification is known as RFC2821.
Data URIs allow resources to be embedded inside a URI. The URI::Data class provides support for parsing these URIs using the normal URI.parse method.
Parallel allows you to run any code in parallel Processes (to use all CPUs) or Threads(to speedup blocking operations). It is best suited for map-reduce or e.g. parallel downloads/uploads.
Standard is a port of StandardJS. Like StandardJS, it aims to save time in the following ways:
No configuration.
Automatically format code.
Catch style issues and programmer errors early.
Diff::LCS computes the difference between two Enumerable sequences using the McIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities to create a simple HTML diff output format and a standard diff-like tool.
This library provides a high-level API that wraps the ZeroMQ networking library using the Ruby foreign function interface (FFI). It is a pure Ruby wrapper, hence is compatible with any Ruby runtime that has support for FFI.
CiteProc is a citation processor interface and citation data API based on the CSL specifications. To actually process citations, a dedicated processor engine is required: a pure Ruby engine is available in the citeproc-ruby gem.
Kramdown is a library for parsing and converting a superset of Markdown. It is completely written in Ruby, supports standard Markdown (with some minor modifications) and various extensions that have been made popular by the PHP Markdown Extra package and Maruku.
TomParse is a TomDoc parser for Ruby. It takes a code comment as input and parses it into a convenient object-oriented structure in accordance with the TomDoc standard. See TomDoc for more information about the TomDoc format.
Sorcerer generates Ruby code from a Ripper-like abstract syntax tree (i.e. S-Expressions). Sorcerer is targeted mainly at small snippets of Ruby code, expressible in a single line. Longer examples may be re-sourced, but they will be rendered in a single-line format.
Net::SFTP is a pure Ruby implementation of the SFTP protocol (specifically, versions 1 through 6 of the SFTP protocol). Note that this is the “Secure File Transfer Protocol”, typically run over an SSH connection, and has nothing to do with the FTP protocol.
The cane gem provides a great framework for running quality checks over your ruby project as part of continuous integration build. It comes with a few checks out of the box, but also provides an API for loading custom checks. This gem provides a set of additional checks.
Mustache is a framework-agnostic way to render logic-free views. Think of Mustache as a replacement for your views. Instead of views consisting of ERB or HAML with random helpers and arbitrary logic, your views are broken into two parts: a Ruby class and an HTML template.
Optimist is a commandline option parser for Ruby that just gets out of your way. One line of code per option is all you need to write. For that, you get a nice automatically-generated help page, robust option parsing, command subcompletion, and sensible defaults for everything you don't specify.
This is just a loader for "readline". If Ruby has the "readline-ext" gem that is a native extension, this gem will load it. If Ruby does not have the "readline-ext" gem this gem will load "reline", a library that is compatible with the "readline-ext" gem and implemented in pure Ruby.
AnyStyle is a very fast and smart parser for academic reference lists and bibliographies. AnyStyle uses powerful machine learning heuristics based on Conditional Random Fields and aims to make it easy to train the model with data that is relevant to your parsing needs.
This package provides the Ruby module AnyStyle. AnyStyle can also be used via the anystyle command-line utility or a web application, though the later has not yet been packaged for Guix.
This is a heavily modified fork of http://github.com/defunkt/colored gem, with many sensible pull requests combined. Since the authors of the original gem no longer support it, this might, perhaps, be considered a good alternative.
Simple gem that adds various color methods to String class, and can be used as follows:
require 'colored2'
puts 'this is red'.red puts 'this is red with a yellow background'.red.on.yellow puts 'this is red with and italic'.red.italic puts 'this is green bold'.green.bold << ' and regular'.green puts 'this is really bold blue on white but reversed'.bold.blue.on.white.reversed puts 'this is regular, but '.red! << 'this is red '.yellow! << ' and yellow.'.no_color! puts ('this is regular, but '.red! do 'this is red '.yellow! do ' and yellow.'.no_color! end end)
Measure YARD documentation coverage
Predicate logic with rule composition
Documentation at https://melpa.org/#/ruby-end