lib/fernet.rb in fernet-1.1 vs lib/fernet.rb in fernet-1.2

- old
+ new

@@ -1,12 +1,15 @@ require 'fernet/version' require 'fernet/generator' require 'fernet/verifier' require 'fernet/secret' +require 'fernet/configuration' if RUBY_VERSION == '1.8.7' require 'shim/base64' end + +Fernet::Configuration.run module Fernet def self.generate(secret, encrypt = true, &block) Generator.new(secret, encrypt).generate(&block) end