fastlane/lib/fastlane/plugins/plugin_manager.rb in fastlane-2.178.0 vs fastlane/lib/fastlane/plugins/plugin_manager.rb in fastlane-2.179.0

- old
+ new

@@ -153,14 +153,13 @@ ##################################################### # @!group Accessing RubyGems ##################################################### def self.fetch_gem_info_from_rubygems(gem_name) - require 'open-uri' require 'json' url = "https://rubygems.org/api/v1/gems/#{gem_name}.json" begin - JSON.parse(URI.open(url).read) + JSON.parse(FastlaneCore::Helper.open_uri(url).read) rescue nil end end