lib/github_api/client/repos.rb in github_api-0.16.0 vs lib/github_api/client/repos.rb in github_api-0.17.0

- old
+ new

@@ -13,10 +13,11 @@ 'forks', 'hooks', 'keys', 'merging', 'pages', + 'projects', 'pub_sub_hubbub', 'releases', 'statistics', 'statuses' @@ -69,10 +70,13 @@ namespace :merging # Access to Repos::Pages API namespace :pages + # Access to Repos::Projects API + namespace :projects + # Access to Repos::PubSubHubbub API namespace :pubsubhubbub, full_name: :pub_sub_hubbub # Access to Repos::Releases API namespace :releases @@ -227,10 +231,9 @@ # github.repos.create name: 'repo-name', org: 'organisation-name' # # @example def create(*args) arguments(args) do - permit VALID_REPO_OPTIONS + %w[ org ] assert_required %w[ name ] end params = arguments.params # Requires authenticated user