Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 1e80f5d4885f7326d694a1705d505e706de127ad 1 parent 57bae3e
Paco Viromontes authored committed
Showing with 2 additions and 10 deletions.
  1. +1 −9 lib/satisfaction.rb
  2. +1 −1  lib/satisfaction/version.rb
View
10 lib/satisfaction.rb
@@ -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
View
2  lib/satisfaction/version.rb
@@ -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('.')
Please sign in to comment.
Something went wrong with that request. Please try again.