Given a string pattern, Mustermann will turn it into an object that behaves like a regular expression and has comparable performance characteristics.
Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3). This gem is part of the AWS SDK for Ruby.
This extends the bacon testing framework with useful extensions to disable tests, have before and after blocks that run once and more.
Deep Merge is a set of utility functions for Hash
. It permits you to merge elements inside a hash together recursively.
Instantiate one with `redis = MockRedis.new` and treat it like you would a normal Redis object. It supports all the usual Redis operations.
Given_core is the basic functionality behind rspec-given and minitest-given, extensions that allow the use of Given/When/Then terminology when defining specifications.
Measure following file dimensions: apng, bmp, cur, gif, ico, j2c, jp2, jpeg, jpx, mng, pam, pbm, pcx, pgm, png, ppm, psd, svg, swf, tiff, webp, xbm, xpm
Measure following file dimensions: apng, bmp, cur, gif, ico, j2c, jp2, jpeg, jpx, mng, pam, pbm, pcx, pgm, png, ppm, psd, svg, swf, tiff, webp, xbm, xpm
This package provides actionable code coverage reports for Ruby projects. It has very little overhead and can be easily integrated with development tools to catch coverage problems early.
Concurrent Ruby includes concurrency tools such as agents, futures, promises, thread pools, actors, supervisors, and more. It is inspired by Erlang, Clojure, Go, JavaScript, actors, and classic concurrency patterns.
multi_test
provides a uniform interface onto whatever testing libraries that have been loaded into a running Ruby process to help control rogue test/unit/autorun requires.
This package provides a common interface to multiple JSON libraries, including Oj, Yajl, the JSON gem (with C-extensions), the pure-Ruby JSON gem, NSJSONSerialization, gson.rb, JrJackson, and OkJson.
This package provides a common interface to multiple JSON libraries, including Oj, Yajl, the JSON gem (with C-extensions), the pure-Ruby JSON gem, NSJSONSerialization, gson.rb, JrJackson, and OkJson.
Rack::Cache is suitable as a drop-in component to enable HTTP caching for Rack-based applications that produce freshness (Expires, Cache-Control) and/or validation (Last-Modified, ETag) information.
Lumberjack is a simple logging utility that can be a drop in replacement for Logger or ActiveSupport::BufferedLogger. It provides support for automatically rolling log files even with multiple processes writing the same log file.
The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe. It provides programmatic access to the contents of a PDF file with a high degree of flexibility.
BlankSlate provides an abstract base class with no predefined methods (except for __send__
and __id__
). BlankSlate is useful as a base class when writing classes that depend upon method_missing
(e.g. dynamic proxies).
The mime-types library provides a library and registry for information about Multipurpose Internet Mail Extensions (MIME) content type definitions. It can be used to determine defined filename extensions for MIME types, or to use filename extensions to look up the likely MIME type definitions.
The httpclient
ruby library provides functionality related to HTTP. Compared to the net/http
library, {httpclient
The test-queue module is a parallel test runner, built using a centralized queue to ensure optimal distribution of tests between workers. It is specifically optimized for Continuous Integration (CI) environments: build statistics from each run are stored locally and used to sort the queue at the beginning of the next run.
With Serverspec, you can write RSpec tests for checking your servers are configured correctly.
Serverspec tests your servers’ actual state by executing command locally, via SSH, via WinRM, via Docker API and so on. So you don’t need to install any agent softwares on your servers and can use any configuration management tools, Puppet, Ansible, CFEngine, Itamae and so on.
But the true aim of Serverspec is to help refactoring infrastructure code.
ChunkyPNG is a pure Ruby library that can read and write Portable Network Graphics (PNG) images without depending on an external image library. It tries to be memory efficient and reasonably fast. It has features such as:
Decoding support for any image that the PNG standard allows. This includes all standard color modes, all bit depths, all transparency, and interlacing and filtering options.
Encoding support for images of all color modes (true color, grayscale, and indexed) and transparency for all these color modes. The best color mode is chosen automatically, based on the amount of used colors.
Read/write access to the image's pixels.
Read/write access to all image metadata that is stored in chunks.
Memory efficiency:
fixnum
are used, i.e. 4 or 8 bytes of memory per pixel, depending on the hardware).Performance: ChunkyPNG is reasonably fast for Ruby standards, by only using integer math and a highly optimized saving routine.
Interoperability with RMagick.
ChunkyPNG is vulnerable to decompression bombs and can run out of memory when loading a specifically crafted PNG file. This is hard to fix in pure Ruby. Deal with untrusted images in a separate process, e.g., by using fork
or a background processing library.
Knows about MRI, Rubinius, JRuby, MagLev and MacRuby.
Integrate SassC-Ruby into Rails.