Last active
January 25, 2018 17:49
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "test/fixtures/my_rubygems_fixture", type: "json_fixture" do | |
gem "whatever" | |
gem "foobar", "~> 1.0.1" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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