Sha256: 52afb64b6ce7f4221543759cf31ac1bccee8fe456e0b978ae1855e45711c68d8

Contents?: true

Size: 499 Bytes

Versions: 4

Compression:

Stored size: 499 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module Dbt
    module Configuration
      module UsedDbtPackage
        attr_writer :used_dbt_package_names

        def used_dbt_utils?
          used_dbt_package_names.include?('dbt-labs/dbt_utils')
        end

        def used_dbterd?
          used_dbt_package_names.include?('datnguye/dbterd')
        end

        private

        def used_dbt_package_names
          @used_dbt_package_names ||= []
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activerecord-dbt-0.4.0 lib/active_record/dbt/configuration/used_dbt_package.rb
activerecord-dbt-0.3.0 lib/active_record/dbt/configuration/used_dbt_package.rb
activerecord-dbt-0.2.0 lib/active_record/dbt/configuration/used_dbt_package.rb
activerecord-dbt-0.1.0 lib/active_record/dbt/configuration/used_dbt_package.rb