lib/berkshelf/source.rb in berkshelf-3.1.2 vs lib/berkshelf/source.rb in berkshelf-3.1.3
- old
+ new
@@ -8,10 +8,10 @@
attr_reader :uri
# @param [String, Berkshelf::SourceURI] uri
def initialize(uri)
@uri = SourceURI.parse(uri)
- @api_client = APIClient.new(uri)
+ @api_client = APIClient.new(uri, ssl: {verify: Berkshelf::Config.instance.ssl.verify})
@universe = nil
end
# Forcefully obtain the universe from the API endpoint and assign it to {#universe}. This
# will reload the value of {#universe} even if it has been loaded before.