lib/rubygems_plugin.rb in rubygems_ssl-client-certs-0.0.1.pre.alpha.pre.33 vs lib/rubygems_plugin.rb in rubygems_ssl-client-certs-0.0.1.pre.alpha.pre.34
- old
+ new
@@ -7,15 +7,15 @@
attr_reader :ssl_verify_mode
attr_reader :ssl_ca_cert
class << self
- alias_method :__new__, :new
+ unless self.method_defined? :__new__
+ alias_method :__new__, :new
+ end
def new(*args)
- puts "instaniating new Gem::ConfigFile"
config = __new__(*args)
config.set_ssl_vars
- puts "Gem::ConfigFile instantiated"
return config
end
end
def set_ssl_vars