Skip to content

Commit

Permalink
feat: octokit.licenses.listCommonlyUsed() (#21)
Browse files Browse the repository at this point in the history
`octokit.licenses.list()` is now deprecated
  • Loading branch information
gr2m authored Mar 7, 2019
1 parent c574800 commit 783ca84
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 16 deletions.
1 change: 1 addition & 0 deletions ghe-2.13/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ octokit.issues.updateMilestone(description, due_on, number, owner, repo, state,
octokit.licenses.get(license)
octokit.licenses.getForRepo(owner, repo)
octokit.licenses.list()
octokit.licenses.listCommonlyUsed()
octokit.markdown.render(context, mode, text)
octokit.markdown.renderRaw(data)
octokit.meta.get()
Expand Down
5 changes: 5 additions & 0 deletions ghe-2.13/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -3185,6 +3185,11 @@
"method": "GET",
"params": {},
"url": "/licenses"
},
"listCommonlyUsed": {
"method": "GET",
"params": {},
"url": "/licenses"
}
},
"markdown": {
Expand Down
1 change: 1 addition & 0 deletions ghe-2.14/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ octokit.issues.updateMilestone(description, due_on, number, owner, repo, state,
octokit.licenses.get(license)
octokit.licenses.getForRepo(owner, repo)
octokit.licenses.list()
octokit.licenses.listCommonlyUsed()
octokit.markdown.render(context, mode, text)
octokit.markdown.renderRaw(data)
octokit.meta.get()
Expand Down
5 changes: 5 additions & 0 deletions ghe-2.14/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -3727,6 +3727,11 @@
"method": "GET",
"params": {},
"url": "/licenses"
},
"listCommonlyUsed": {
"method": "GET",
"params": {},
"url": "/licenses"
}
},
"markdown": {
Expand Down
1 change: 1 addition & 0 deletions ghe-2.15/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ octokit.issues.updateMilestone(description, due_on, number, owner, repo, state,
octokit.licenses.get(license)
octokit.licenses.getForRepo(owner, repo)
octokit.licenses.list()
octokit.licenses.listCommonlyUsed()
octokit.markdown.render(context, mode, text)
octokit.markdown.renderRaw(data)
octokit.meta.get()
Expand Down
5 changes: 5 additions & 0 deletions ghe-2.15/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -3731,6 +3731,11 @@
"method": "GET",
"params": {},
"url": "/licenses"
},
"listCommonlyUsed": {
"method": "GET",
"params": {},
"url": "/licenses"
}
},
"markdown": {
Expand Down
1 change: 1 addition & 0 deletions ghe-2.16/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ octokit.issues.updateMilestone(description, due_on, number, owner, repo, state,
octokit.licenses.get(license)
octokit.licenses.getForRepo(owner, repo)
octokit.licenses.list()
octokit.licenses.listCommonlyUsed()
octokit.markdown.render(context, mode, text)
octokit.markdown.renderRaw(data)
octokit.meta.get()
Expand Down
5 changes: 5 additions & 0 deletions ghe-2.16/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -3749,6 +3749,11 @@
"method": "GET",
"params": {},
"url": "/licenses"
},
"listCommonlyUsed": {
"method": "GET",
"params": {},
"url": "/licenses"
}
},
"markdown": {
Expand Down
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"homepage": "https://github.com/octokit/plugin-enterprise-rest.js#readme",
"devDependencies": {
"@octokit/routes": "18.6.3",
"@octokit/routes": "18.7.0",
"coveralls": "^3.0.2",
"lodash.camelcase": "^4.3.0",
"make-dir": "^2.1.0",
Expand Down

0 comments on commit 783ca84

Please sign in to comment.