Rack middleware that can be used to protect against typical web attacks. It can protect all Rack apps, including Rails. For instance, it protects against cross site request forgery, cross site scripting, clickjacking, directory traversal, session hijacking and IP spoofing.
This unmaintained package provides a Prawn extension that allows including other Portable Document Format (PDF) documents as background or combining several PDF documents into one. This functionality used to be part of Prawn itself, but was extracted from Prawn 0.15.0 because of its many longstanding issues.
Saikuro is a Ruby cyclomatic complexity analyzer. When given Ruby source code Saikuro will generate a report listing the cyclomatic complexity of each method found. In addition, Saikuro counts the number of lines per method and can generate a listing of the number of tokens on each line of code.
mime-types-data provides a registry for information about Multipurpose Internet Mail Extensions (MIME) media type definitions. It can be used with the Ruby mime-types library or other software to determine defined filename extensions for MIME types, or to use filename extensions to look up the likely MIME type definitions.
Import maps can import JavaScript modules using logical names that map to versioned/digested files -- directly from the browser. It makes it possible to build modern JavaScript applications using JavaScript libraries made for ES modules (ESM) without the need for transpiling or bundling, which removes the need for Webpack, Yarn, npm, or any other part of the JavaScript toolchain. All that is needed is the asset pipeline that is already included in Rails.
This library contains the Ruby extension that implements Protocol Buffers functionality in Ruby.
The Ruby extension makes use of generated Ruby code that defines message and enum types in a Ruby DSL. You may write definitions in this DSL directly, but we recommend using protoc's Ruby generation support with .proto files. The build process in this directory only installs the extension; you need to install protoc (in package ruby-grpc-tools) as well to have Ruby code generation functionality.
Asciidoctor PDF is an extension for Asciidoctor that converts AsciiDoc documents to Portable Document Format (PDF) using the Prawn PDF library. It has features such as:
Direct AsciiDoc to PDF conversion
Configuration-driven theme (style and layout)
Scalable Vector Graphics (SVG) support
PDF document outline (i.e., bookmarks)
Table of contents page(s)
Document metadata (title, authors, subject, keywords, etc.)
Internal cross reference links
Syntax highlighting with Rouge, Pygments, or CodeRay
Page numbering
Customizable running content (header and footer)
“Keep together” blocks (i.e., page breaks avoided in certain block content)
Orphaned section titles avoided
Autofit verbatim blocks (as permitted by base_font_size_min setting)
Table border settings honored
Font-based icons
Custom TrueType (TTF) fonts
Double-sided printing mode (margins alternate on recto and verso pages)
This package provides a MiniTest plugin for displaying the slowest tests in a minitest suite.
This package provides a library to help create value objects without the pain of Ruby's Struct (or its setters).
websocket-driver provides a complete implementation of the WebSocket protocols that can be hooked up to any TCP library
This package provides a native extension that can increase performance by about 25% compared to the pure Ruby WebSocket implementation.
This package provides a RuboCop plugin that can be used for code style checking of Capybara test files (RSpec, Cucumber, Minitest).
Gherkin is a parser and compiler for the Gherkin language. It is intended be used by all Cucumber implementations to parse .feature files.
This Ruby module allows you to map simple HTML back into Markdown---e.g., if you want to import existing HTML data in your application.
The minitest-proveit MiniTest extension ensures all tests to prove success (via at least one assertion) rather than rely on the absence of failure.
Shoulda Matchers provides RSpec- and Minitest-compatible one-liners that test common Rails functionality. These tests would otherwise be much longer, more complex, and error-prone.
This gem is a Faraday adapter for the Net::HTTP library. Faraday is an HTTP client library that provides a common interface over many adapters.
RangeCompresses is a tiny library that allows compressing arrays of objects into arrays of ranges. For example, it can turn the following: [1, 2, 3, 4, 6, 8, 9, 10] into [1..4, 6..6, 8..10].
multipart-parser is a simple parser for multipart MIME messages, written in Ruby, based on felixge/node-formidable's parser. It has the following characteristics:
Pure Ruby
Event-driven API
Only supports one level of multipart parsing
Does not perform I/O
Does not depend on any other library.
This gem removes common margin from indented strings, such as the ones produced by indented heredocs. In other words, it strips out leading whitespace chars at the beginning of each line, but only as much as the line with the smallest margin.
It is acknowledged that many strings defined by heredocs are just code and fact is that most parsers are insensitive to indentation. If, however, the strings are to be used otherwise, be it for printing or testing, the extra indentation will probably be an issue and hence this gem.
Documentation at https://melpa.org/#/ruby-compilation
Documentation at https://melpa.org/#/emamux-ruby-test
Documentation at https://melpa.org/#/ruby-hash-syntax
Documentation at https://melpa.org/#/company-inf-ruby