lib/fernet.rb in legacy-fernet-1.6.1 vs lib/fernet.rb in legacy-fernet-1.6.2
- old
+ new
@@ -6,12 +6,12 @@
if RUBY_VERSION == '1.8.7'
require 'shim/base64'
end
-Legacy::Fernet::Configuration.run
+Fernet::Legacy::Configuration.run
-module Legacy::Fernet
+module Fernet::Legacy
def self.generate(secret, encrypt = Configuration.encrypt, &block)
Generator.new(secret, encrypt).generate(&block)
end
def self.verify(secret, token, encrypt = Configuration.encrypt, &block)