Sha256: edbae530f423c1e541ac545468f8de6a5b3d09006a5c437a9ba41a95305db61c

Contents?: true

Size: 239 Bytes

Versions: 2

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

module JsonbAccessor
  VERSION = "1.4"

  def self.enum_support?
    # From AR 7.1 on, enums require a database column.
    Gem::Version.new(ActiveRecord::VERSION::STRING) < Gem::Version.new("7.1")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jsonb_accessor-1.4-java lib/jsonb_accessor/version.rb
jsonb_accessor-1.4 lib/jsonb_accessor/version.rb