Permalink
Browse files

Removed Net::Http patch to avoid warning

This patch might cause other libraries that patch
Net::Http to get into a funky state
  • Loading branch information...
Paco Viromontes authored and zquestz committed Dec 20, 2011
1 parent 57bae3e commit 1e80f5d4885f7326d694a1705d505e706de127ad
Showing with 2 additions and 10 deletions.
  1. +1 −9 lib/satisfaction.rb
  2. +1 −1 lib/satisfaction/version.rb
View
@@ -1,13 +1,5 @@
require 'satisfaction/external_dependencies'
-# Suppress the 'warning: peer certificate won't be verified in this SSL session'
-class Net::HTTP
- alias_method :old_initialize, :initialize
- def initialize(*args)
- old_initialize(*args)
- @ssl_context = OpenSSL::SSL::SSLContext.new
- @ssl_context.verify_mode = OpenSSL::SSL::VERIFY_NONE
- end
-end
+
module Sfn
end
class Satisfaction
@@ -2,7 +2,7 @@ module GemSatisfaction
module VERSION
MAJOR = 0
MINOR = 7
- PATCH = 2
+ PATCH = 3
PRE = nil
STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')

0 comments on commit 1e80f5d

Please sign in to comment.