fisher/test/fixtures/gist/foo.json
Jorge Bucaran 4cfd037cc0 Ahoy! an early v0.7.0 is here!
+ Add  the ability  to install plugins  from Gists.  You can
distribute a very simple,  one-single function plugin in the
form  of a  Gist. Your  users  can install  it using  fisher
install  url and  Fisherman will  query the  Gist using  the
GitHub API to get a list of  the Gist files and use the name
of the  first identified *.fish  file to name the  plugin in
your system.  Since there is no  formal way to name  a Gist,
and you may  prefer to keep the "description"  field for the
actual description  and not a name,  Fisherman supports only
one fish file per Gist. Closes #75.

+ Use command(1) when calling non-builtins. Thanks @daenney.
Closes #79.

+  Add  __fisher_plugin_can_enable  to detect  installing  a
prompt that is not the current one. Closes #78.

+  Remove  the ability  to  install  a  plugin in  a  parent
directory using ..  or ../ or even worse, ../../  as well as
other combinations  that navigate  to a parent  directory. I
find  the use  case odd  at  best, and  more dangerous  that
useful.  If you  want  to  install a  local  plugin use  the
full  path  or a  relative  path,  always top  down.  fisher
install  . or  fisher  install my/plugin  or fisher  install
/Users/$USER/path/to/plugin. Closes #81.
2016-02-11 09:40:03 +09:00

47 lines
2.0 KiB
JSON

{
"url": "https://api.github.com/gists/897324897f239847w238974g",
"forks_url": "https://api.github.com/gists/897324897f239847w238974g/forks",
"commits_url": "https://api.github.com/gists/897324897f239847w238974g/commits",
"id": "897324897f239847w238974g",
"git_pull_url": "https://gist.github.com/897324897f239847w238974g.git",
"git_push_url": "https://gist.github.com/897324897f239847w238974g.git",
"html_url": "https://gist.github.com/897324897f239847w238974g",
"files": {
"foo.fish": {
"filename": "foo.fish",
"type": "text/plain",
"language": "fish",
"raw_url": "https://gist.githubusercontent.com/user/897324897f239847w238974g/raw/c4ede9079b2080b0f06bf25a55c0f500de37e7f3/foo.fish",
"size": 530,
"truncated": false,
"content": "...."
}
},
"public": true,
"created_at": "2016-02-05T20:43:29Z",
"updated_at": "2016-02-10T18:37:28Z",
"description": "foo description",
"comments": 0,
"user": null,
"comments_url": "https://api.github.com/gists/897324897f239847w238974g/comments",
"owner": {
"login": "user",
"id": 0000000,
"avatar_url": "https://avatars.githubusercontent.com/u/8317250?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/user",
"html_url": "https://github.com/user",
"followers_url": "https://api.github.com/users/user/followers",
"following_url": "https://api.github.com/users/user/following{/other_user}",
"gists_url": "https://api.github.com/users/user/gists{/gist_id}",
"starred_url": "https://api.github.com/users/user/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/user/subscriptions",
"organizations_url": "https://api.github.com/users/user/orgs",
"repos_url": "https://api.github.com/users/user/repos",
"events_url": "https://api.github.com/users/user/events{/privacy}",
"received_events_url": "https://api.github.com/users/user/received_events",
"type": "User",
"site_admin": false
}
}