Repost
Reposted
Jared White 🍃🍂 (@jaredwhite@indieweb.social)
Post details So predictable. Like clockwork.
Fellow #Ruby friends, are you finally ready to take a public stand against this man?
(updated with archive link because I don't even want to send traffic to DHH's blog)
http://archive.today/2024.11.06-174442/https://world.hey.com/dhh/the-spells-are-spent-beaa675b Wed, 06 Nov 2024 19:38 by Jamie Tanna
.
#politics
#ruby
#rails .
Like
Liked
Ruby on (Guard)Rails
by Mike McQuaid
Post details I’ve worked on a few Ruby apps in my career at varying scales (Homebrew, AllTrails, GitHub, Workbrew) and there’s been a consistent theme: Ruby is great for moving fast (and breaking things). Fri, 25 Oct 2024 10:23 by Jamie Tanna
.
#ruby
#rails .
Like
Liked
Fun with ANSI escape codes
Post details For fun I recently pimped out a ruby script that I had written for some testing with a little color and a spinner. If you have never used ANSI escape codes before I've put together a simple script that shows how easy it is. First let me say that if you are using ruby and Thu, 21 Mar 2024 10:03 by Jamie Tanna
.
#ruby
#shell .
Article
Introducing openapi-sorbet
, a command-line tool for generating Sorbet types from OpenAPI (2 mins read).
How to generate Sorbet type-checked models from OpenAPI specifications.
Wed, 31 May 2023 21:44 by Jamie Tanna
.
#blogumentation
#sorbet
#ruby
#go
#command-line
#openapi .
Article
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.
Thu, 20 Oct 2022 14:52 by Jamie Tanna
.
#blogumentation
#ruby
#rails
#rspec
#openapi
#testing
#contract-testing
#tdd .
Article
Setting up OpenAPI Contract Tests with a Rails and RSpec codebase (2 mins read).
How to run OpenAPI-driven contract tests against a Rails API.
Tue, 07 Jun 2022 21:43 by Jamie Tanna
.
#blogumentation
#ruby
#rails
#openapi
#testing
#contract-testing .
Article
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.
Fri, 13 May 2022 18:19 by Jamie Tanna
.
#blogumentation
#command-line
#ruby
#yaml .
Article
Installing Nokogiri on an M1 Mac (1 mins read).
How to get Nokogiri building on an M1 Mac, when using Bundler
.
Sun, 01 May 2022 14:39 by Jamie Tanna
.
#blogumentation
#mac
#ruby .
Article
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 ARGF.read
method.
Tue, 22 Mar 2022 11:22 by Jamie Tanna
.
#blogumentation
#go
#ruby .
Article
Appending Values to a Querystring with Ruby (1 mins read).
How to append a query parameter to a URL's querystring in Ruby.
Fri, 03 Dec 2021 14:15 by Jamie Tanna
.
#blogumentation
#ruby .
Article
Creating More Descriptive and Fluent Assertion Helpers (4 mins read).
How to improve test readability, and developer experience, using assertion helpers.
Thu, 04 Nov 2021 19:26 by Jamie Tanna
.
#blogumentation
#testing
#java
#ruby
#rspec
#assertj .
Article
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.
Tue, 26 Oct 2021 09:20 by Jamie Tanna
.
#blogumentation
#github
#github-projects
#ruby .
Article
Encoding Strings for Embedding in JSON with Ruby on the Command-Line (1 mins read).
How to easily convert a string to a format that can be used as a value for JSON strings.
Thu, 29 Jul 2021 22:36 by Jamie Tanna
.
#blogumentation
#json
#ruby
#command-line .
Article
Programatically Comparing Versions Using Chef's Versioning Schemes (1 mins read).
How to use Chef's versioning classes to determine whether a version constraint is matched.
Thu, 15 Jul 2021 20:48 by Jamie Tanna
.
#blogumentation
#chef
#ruby .
Article
Parsing Encoded JSON Strings on the Command-Line with Ruby (1 mins read).
How to decode an encoded JSON string.
Mon, 28 Jun 2021 19:12 by Jamie Tanna
.
#blogumentation
#command-line
#json
#ruby .
Article
Decrypting Encrypted JSON Web Tokens (JWE) with Ruby (1 mins read).
How to use Ruby to decrypt encrypted JSON Web Token objects.
Tue, 22 Jun 2021 22:18 by Jamie Tanna
.
#blogumentation
#ruby
#jwt .
Article
Constructing an Ordered Dependency Graph for Chef Cookbooks, using Berkshelf (3 mins read).
How to create a dependency graph for a given cookbook's dependencies to understand the order to install them in.
Sun, 18 Apr 2021 11:51 by Jamie Tanna
.
#blogumentation
#chef
#berkshelf
#ruby .
Article
Managing Your Chef Gem Dependencies More Easily in your Gemfile
(2 mins read).
How to source your Chef Gem dependencies from your Chef cookbook's metadata.rb
instead of duplicating them between files.
Wed, 24 Mar 2021 13:42 by Jamie Tanna
.
#blogumentation
#chef
#ruby .
Article
Programatically Determining the Version of a Chef Cookbook (1 mins read).
How to determine a Chef cookbook's version programatically, using Ruby.
Tue, 23 Mar 2021 22:04 by Jamie Tanna
.
#blogumentation
#chef
#ruby .
Article
How to Use Cookstyle to Autocorrect Style Issues (1 mins read).
How to use the cookstyle
tool with Chef cookbooks to autocorrect style issues.
Sun, 14 Mar 2021 12:41 by Jamie Tanna
.
#blogumentation
#chef
#ruby
#chefdk
#chef-workstation
#cookstyle .
Article
Using Proof of Key Code Exchange (PKCE) Using rack-oauth2 as an OAuth2 Client (1 mins read).
How to use the PKCE extension when using the Ruby library rack-oauth2 as an OAuth2 client.
Sat, 06 Mar 2021 13:41 by Jamie Tanna
.
#blogumentation
#ruby
#rack
#oauth2 .
Article
Installing Gems From Your Gemfile
When Developing Chef Cookbooks using the ChefDK / Chef Workstation (2 mins read).
How to install Ruby Gems in local development using your Gemfile
.
Mon, 22 Feb 2021 21:51 by Jamie Tanna
.
#blogumentation
#chef
#ruby
#chefdk
#chef-workstation .
Article
Autogenerating Postman Collections for IndieAuth Servers (2 mins read).
Creating Postman collections programmatically for a user's IndieAuth server.
Thu, 04 Feb 2021 18:40 by Jamie Tanna
.
#postman
#ruby
#indieauth
#indieauth-postman .
Article
Autogenerating Postman Collections for Micropub Servers (3 mins read).
Creating Postman collections programmatically from a Micropub server's supported configuration.
Mon, 11 Jan 2021 19:37 by Jamie Tanna
.
#postman
#ruby
#micropub
#micropub-postman .
Article
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 ruby-jose
library.
Sat, 12 Dec 2020 16:58 by Jamie Tanna
.
#blogumentation
#pki
#ruby
#x509
#pkcs8
#pem
#jwks .