Sha256: 53457759deced348d2585544a3163dbfb47a347ea0c3b5fd504dbf904ce2c3f3

Contents?: true

Size: 377 Bytes

Versions: 5

Compression:

Stored size: 377 Bytes

Contents

if ::ActiveRecord.version < Gem::Version.new("5.0.0")
  require_relative 'rails4/uniqueness_validator'
elsif ::ActiveRecord.version < Gem::Version.new("5.1.0")
  require_relative 'rails5/uniqueness_validator'
elsif ::ActiveRecord.version < Gem::Version.new("6.1.0")
  require_relative 'rails5_1/uniqueness_validator'
else
  require_relative 'rails6_1/uniqueness_validator'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
globalize-6.3.0 lib/patches/active_record/uniqueness_validator.rb
globalize-6.2.1 lib/patches/active_record/uniqueness_validator.rb
globalize-6.2.0 lib/patches/active_record/uniqueness_validator.rb
globalize-6.1.0 lib/patches/active_record/uniqueness_validator.rb
globalize-6.0.1 lib/patches/active_record/uniqueness_validator.rb