Skip to content

Instantly share code, notes, and snippets.

View johnhebron's full-sized avatar

John Hebron johnhebron

View GitHub Profile
@johnhebron
johnhebron / testing-plex-api-spec-via-ruby-gem.md
Last active January 19, 2024 23:27
Testing plex-api-spec changes via generated Ruby gem

How I test my plex-api-spec changes in Ruby

When making updates to the spec file at https://github.com/LukeHagar/plex-api-spec, I like to test those changes by generating a Ruby gem and using it in a little Ruby script.

This gist is to document how I perform that testing. You can also check out my first pull request which is the basis for this gist.

Step 1: I Make a PR In plex-api-spec Repo

A. Update plex-api-spec

First, I edit the /pms/paths/xxx file to add a new response format, etc.

Keybase proof

I hereby claim:

  • I am johnhebron on github.
  • I am johnhebron (https://keybase.io/johnhebron) on keybase.
  • I have a public key ASBLGJjBgFH4IqpLK0wuhTBh6UyLEQnkn7htguDdkjioSAo

To claim this, I am signing this object: