Skip to content

Commit

Permalink
Segmentless cookbook data (RFC 67)
Browse files Browse the repository at this point in the history
Implement RFC 67, which causes us to bump our max API version to 2.
 * Accept segmentless and segmented downloads and uploads of cookbooks
 * Add pedant tests

Signed-off-by: Thom May <[email protected]>
  • Loading branch information
Thom May committed Jun 13, 2018
1 parent 5e34f35 commit b96bd84
Show file tree
Hide file tree
Showing 20 changed files with 3,126 additions and 2,419 deletions.
2 changes: 1 addition & 1 deletion oc-chef-pedant/lib/pedant/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def reset_server_api_version
$server_api_version = Pedant::Config.server_api_version
end
def use_max_server_api_version
$server_api_version = 1 # TODO Pedant::Config.max_server_api_version
$server_api_version = 2 # TODO Pedant::Config.max_server_api_version
end

end
Expand Down
268 changes: 212 additions & 56 deletions oc-chef-pedant/lib/pedant/rspec/cookbook_util.rb

Large diffs are not rendered by default.

Loading

0 comments on commit b96bd84

Please sign in to comment.