Skip to content

Instantly share code, notes, and snippets.

@iangreenleaf
Last active January 25, 2018 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iangreenleaf/db5cf4185cabe5accc7aa7e6c7ee3760 to your computer and use it in GitHub Desktop.
Save iangreenleaf/db5cf4185cabe5accc7aa7e6c7ee3760 to your computer and use it in GitHub Desktop.
Usage example of the Bundler plugin I built for testing with JSON fixtures
source "test/fixtures/my_rubygems_fixture", type: "json_fixture" do
gem "whatever"
gem "foobar", "~> 1.0.1"
end
{
"whatever": [
{
"name": "whatever",
"version": "1.0.0",
"dependencies": {
"foobar": ">= 1.0"
}
}
],
"foobar": [
{
"name": "foobar",
"version": "1.0.0",
"dependencies": {
}
},
{
"name": "foobar",
"version": "1.0.1",
"dependencies": {
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment