We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce16c52 + 0e9fa4d commit db87119Copy full SHA for db87119
lib/linux_admin/registration_system.rb
@@ -47,7 +47,8 @@ def self.white_list_methods
47
private_class_method :white_list_methods
48
49
def install_server_certificate(server, cert_path)
50
- host = server.start_with?("http") ? URI.parse(server).host : server
+ require 'uri'
51
+ host = server.start_with?("http") ? ::URI.parse(server).host : server
52
53
LinuxAdmin::Rpm.upgrade("http://#{host}/#{cert_path}")
54
end
spec/spec_helper.rb
@@ -85,6 +85,7 @@
85
86
87
88
+require 'rspec/support/differ'
89
require 'linux_admin'
90
91
def etc_issue_contains(contents)
0 commit comments