File: version.rb

package info (click to toggle)
ruby-jsonb-accessor 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 316 kB
  • sloc: ruby: 1,819; makefile: 10; sh: 5
file content (10 lines) | stat: -rw-r--r-- 241 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

module JsonbAccessor
  VERSION = "1.4.1"

  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