certified.rb in certified-0.1.0 vs certified.rb in certified-0.1.1
- old
+ new
@@ -2,10 +2,10 @@
Net::HTTP.class_eval do
alias _use_ssl= use_ssl=
def use_ssl= boolean
- self.ca_file = './certs/ca-bundle.crt'
+ self.ca_file = "#{File.dirname(__FILE__)}/certs/ca-bundle.crt"
self.verify_mode = OpenSSL::SSL::VERIFY_PEER
self._use_ssl = boolean
end
end