Skip to content

Commit af9fc06

Browse files
authored
Add 'has_projects' to the list of valid repo options (piotrmurach#345)
* Add 'has_projects' to the list of valid repo options Quotting https://developer.github.com/v3/repos/#edit ``` has_projects boolean Either true to enable projects for this repository or false to disable them. Default: true. Note: If you're creating a repository in an organization that has disabled repository projects, the default is false, and if you pass true, the API returns an error. ``` * Fix Travis-CI build when bundler 2.0 is installed See the following link for additional details: https://docs.travis-ci.com/user/languages/ruby/#bundler-20
1 parent 83dc6c9 commit af9fc06

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ matrix:
2424
fast_finish: true
2525
notifications:
2626
email: false
27+
before_install:
28+
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
29+
- gem install bundler -v '< 2'

lib/github_api/client/repos.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class Client::Repos < API
3333
homepage
3434
private
3535
has_issues
36+
has_projects
3637
has_wiki
3738
has_downloads
3839
team_id

0 commit comments

Comments
 (0)