Sha256: 5b994300d97927971e54e9824fe7118efe719c03fb32db40746730b48c9ae1e5

Contents?: true

Size: 311 Bytes

Versions: 6

Compression:

Stored size: 311 Bytes

Contents

if defined?(Sequel)
  module AttrEncrypted
    module Adapters
      module Sequel
        def self.extended(base) # :nodoc:
          base.attr_encrypted_options[:encode] = true
        end
      end
    end
  end

  Sequel::Model.extend AttrEncrypted
  Sequel::Model.extend AttrEncrypted::Adapters::Sequel
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
attr_encrypted-3.1.0 lib/attr_encrypted/adapters/sequel.rb
attr_encrypted-3.0.3 lib/attr_encrypted/adapters/sequel.rb
attr_encrypted-3.0.2 lib/attr_encrypted/adapters/sequel.rb
attr_encrypted-3.0.1 lib/attr_encrypted/adapters/sequel.rb
attr_encrypted-3.0.0 lib/attr_encrypted/adapters/sequel.rb
attr_encrypted-2.0.0 lib/attr_encrypted/adapters/sequel.rb