Sha256: 90220fe421a8c110ae1163da231a51e7a56ae6bb2e3790e01057026d4fd441a6

Contents?: true

Size: 316 Bytes

Versions: 7

Compression:

Stored size: 316 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
sevenwire-attr_encrypted-1.0.8 lib/huberry/attr_encrypted/adapters/sequel.rb
sevenwire-attr_encrypted-1.1.0 lib/huberry/attr_encrypted/adapters/sequel.rb
shuber-attr_encrypted-1.0.6 lib/huberry/attr_encrypted/adapters/sequel.rb
shuber-attr_encrypted-1.0.7 lib/huberry/attr_encrypted/adapters/sequel.rb
shuber-attr_encrypted-1.0.8 lib/huberry/attr_encrypted/adapters/sequel.rb
attr_encrypted-1.0.9 lib/huberry/attr_encrypted/adapters/sequel.rb
attr_encrypted-1.0.8 lib/huberry/attr_encrypted/adapters/sequel.rb