lib/acme/client/util.rb in acme-client-2.0.13 vs lib/acme/client/util.rb in acme-client-2.0.14

- old
+ new

@@ -1,6 +1,8 @@ module Acme::Client::Util + extend self + def urlsafe_base64(data) Base64.urlsafe_encode64(data).sub(/[\s=]*\z/, '') end LINK_MATCH = /<(.*?)>\s?;\s?rel="([\w-]+)"/ @@ -28,8 +30,6 @@ obj.public_key = priv.public_key else raise ArgumentError, 'priv must be EC or RSA' end end - - extend self end