{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/shoulda-matchers/","markdown":"https://findsoftware.frbit.cloud/shoulda-matchers.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"shoulda-matchers","name":"Shoulda Matchers","urls":{"home":"https://matchers.shoulda.io","repository":"https://github.com/thoughtbot/shoulda-matchers","docs":"https://matchers.shoulda.io/docs"},"category":["testing"],"description":"Ruby gem that provides RSpec and Minitest one-liner matchers for testing Rails models, controllers and routes.","maintainer":"Tammer Saleh and thoughtbot, inc.","firstRelease":2011,"hosting":null,"language":"ruby","runtime":["ruby"],"runtimeMin":"ruby 3.3","basedOn":["rails"],"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"renderingModes":null,"installMethod":"gem","licenseModel":"open-source","license":"MIT","currentMajor":"8","latestReleaseDate":"2026-06-12T00:00:00.000Z","githubStargazers":3577,"contributors":279,"packagistDownloads":null,"npmWeeklyDownloads":null,"dependentRepos":69221,"dependentPackages":765,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://matchers.shoulda.io/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/thoughtbot/shoulda-matchers","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://matchers.shoulda.io/docs/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://github.com/thoughtbot/shoulda-matchers/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"basedOn","url":"https://raw.githubusercontent.com/thoughtbot/shoulda-matchers/v8.0.1/shoulda-matchers.gemspec","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/thoughtbot/shoulda-matchers","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://github.com/thoughtbot/shoulda-matchers/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtimeMin","url":"https://raw.githubusercontent.com/thoughtbot/shoulda-matchers/v8.0.1/shoulda-matchers.gemspec","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/thoughtbot/shoulda-matchers/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://rubygems.org/api/v1/gems/shoulda-matchers.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/thoughtbot/shoulda-matchers/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/thoughtbot/shoulda-matchers/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://rubygems.org/api/v1/versions/shoulda-matchers.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/thoughtbot/shoulda-matchers","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/thoughtbot/shoulda-matchers/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/shoulda-matchers","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/shoulda-matchers","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"Shoulda Matchers adds one-line tests for common Rails functionality, such as models, controllers and routes, to RSpec and Minitest suites. The matchers cover ActiveModel, ActiveRecord and ActionController, and the gem is loaded by test suites, in the test group of a Gemfile.\n\nApps that are not Rails apps but use ActiveRecord or ActiveModel can use the gem too, by naming the library in a configuration block. The gem is copyrighted by Tammer Saleh and thoughtbot, inc, and the README says thoughtbot, inc maintains and funds the repository."}