How to generate Sorbet type-checked models from OpenAPI specifications.
Retrofitting OpenAPI documentation to your Rails codebase (12 mins read).
How to take a Rails codebase and introduce OpenAPI documentation and contract tests, in a test-driven manner.
Learn how to use custom RSpec matchers to write better, less repetitive tests.
Rack middlewares to create OpenAPI based HTTP APIs - GitHub - ahx/openapi_first: Rack middlewares to create OpenAPI based HTTP APIs
How to run OpenAPI-driven contract tests against a Rails API.
A collection of Rack middleware to support JSON Schema. - GitHub - interagent/committee: A collection of Rack middleware to support JSON Schema.
Constructing a serialised YAML string in Ruby (1 mins read).
How to convert a YAML document to a string representation, preserving escaped newlines, with Ruby.
Ruby made its YAML interpreter more secure by default at the cost of backward compatibility. Developers weren’t given heads up warning about the changes.
Installing Nokogiri on an M1 Mac (1 mins read).
How to get Nokogiri building on an M1 Mac, when using
Safely refactoring Ruby traditionally involves many incremental steps and feature flags. Sorbet and 100% branch coverage make it possible to refactor a lot of code safely.
Providing a basic implementation of Ruby's
ARGF.read in Go (2 mins read).
Creating a Go helper method to read from
stdin or a file, inspired by Ruby's
Appending Values to a Querystring with Ruby (1 mins read).
How to append a query parameter to a URL's querystring in Ruby.
Creating More Descriptive and Fluent Assertion Helpers (4 mins read).
How to improve test readability, and developer experience, using assertion helpers.
Listing Which GitHub Pull Requests are in a Project (2 mins read).
How to list the PRs inside a Project on Github, for example, via a Ruby client.
How to easily convert a string to a format that can be used as a value for JSON strings.
How to use Chef's versioning classes to determine whether a version constraint is matched.
Parsing Encoded JSON Strings on the Command-Line with Ruby (1 mins read).
How to decode an encoded JSON string.
Decrypting Encrypted JSON Web Tokens (JWE) with Ruby (1 mins read).
How to use Ruby to decrypt encrypted JSON Web Token objects.
How to create a dependency graph for a given cookbook's dependencies to understand the order to install them in.
How to source your Chef Gem dependencies from your Chef cookbook's
metadata.rb instead of duplicating them between files.
Programatically Determining the Version of a Chef Cookbook (1 mins read).
How to determine a Chef cookbook's version programatically, using Ruby.
How to Use Cookstyle to Autocorrect Style Issues (1 mins read).
How to use the
cookstyle tool with Chef cookbooks to autocorrect style issues.
How to use the PKCE extension when using the Ruby library rack-oauth2 as an OAuth2 client.
How to install Ruby Gems in local development using your
Autogenerating Postman Collections for IndieAuth Servers (2 mins read).
Creating Postman collections programmatically for a user's IndieAuth server.
Autogenerating Postman Collections for Micropub Servers (3 mins read).
Creating Postman collections programmatically from a Micropub server's supported configuration.
Converting X.509 and PKCS#8
.pem file to a JWKS (in Ruby) (2 mins read).
Converting X.509 and PKCS#8 files to JWKS format, using the
Generating a JSON Web Key (JWK) With Ruby (1 mins read).
How to create a new JWK with Ruby.
You're currently viewing page 1 of 2, of 91 posts.