Skip to content

Commit

Permalink
Lock octokit at 4.21.0
Browse files Browse the repository at this point in the history
Octokit 4.22.0 not compatible with legacy faraday versions.

see octokit/octokit.rb#1391
see octokit/octokit.rb#1392
see octokit/octokit.rb#1388

fix gatemedia/gmp-os#218
  • Loading branch information
pulkit110 committed Jan 26, 2022
1 parent 13d71f5 commit 45108bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/asset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ def load_current_resource
if Chef::Resource::ChefGem.instance_methods(false).include?(:compile_time)
chef_gem "octokit" do
compile_time true
version "4.21.0"
end
else
chef_gem "octokit" do
action :nothing
version "4.21.0"
end.run_action(:install)
end

Expand Down

0 comments on commit 45108bb

Please sign in to comment.