Sha256: 5a754a714eeef91a50968ef183dbd0ca2ae56dab3d1559e354ec4b48ca658055

Contents?: true

Size: 673 Bytes

Versions: 26

Compression:

Stored size: 673 Bytes

Contents

require "active_support"
require "active_record"

require "active_record/connection_adapters/cipherstash_pg/database_extensions"
require "active_record/connection_adapters/cipherstash_pg/database_tasks"
require "active_record/connection_adapters/cipherstash_pg/railtie" if defined?(Rails::Railtie)

module ActiveRecord
  module ConnectionAdapters
    module CipherStashPG
      # Method to install CipherStash custom ORE types
      def self.install
        CipherStashPG::DatabaseExtensions.install
      end

      # Method to uninstall CipherStash custom ORE types
      def self.uninstall
        CipherStashPG::DatabaseExtensions.uninstall
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
activerecord-cipherstash-pg-adapter-0.8.5 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.8.4 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.8.3 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.8.2 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.8.1 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.8.0 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.19 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.18 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.17 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.16 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.15 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.14 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.12 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.11 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.10 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.9 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.8 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.7 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.6 lib/activerecord-cipherstash-pg-adapter.rb
activerecord-cipherstash-pg-adapter-0.7.5 lib/activerecord-cipherstash-pg-adapter.rb