lib/mixlib/authentication/signatureverification.rb in mixlib-authentication-3.0.6 vs lib/mixlib/authentication/signatureverification.rb in mixlib-authentication-3.0.7
- old
+ new
@@ -15,11 +15,11 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-require "net/http"
-require "forwardable"
+require "net/http" unless defined?(Net::HTTP)
+require "forwardable" unless defined?(Forwardable)
require_relative "../authentication"
require_relative "http_authentication_request"
require_relative "signedheaderauth"
module Mixlib