Sha256: bd0f1cf986b320a0a518ebd587726b97bb3447cf08558d220e66cc2b38104c32

Contents?: true

Size: 701 Bytes

Versions: 4

Compression:

Stored size: 701 Bytes

Contents

# frozen_string_literal: true

require 'rails_compatibility'
require 'active_record'

class << RailsCompatibility
  GTE_RAILS_6_1 = Gem::Version.new(ActiveRecord::VERSION::STRING) >= Gem::Version.new('6.1.0')
  GTE_RAILS_6_0 = Gem::Version.new(ActiveRecord::VERSION::STRING) >= Gem::Version.new('6.0.0')
  GTE_RAILS_5_2 = Gem::Version.new(ActiveRecord::VERSION::STRING) >= Gem::Version.new('5.2.0')
  GTE_RAILS_5_1 = Gem::Version.new(ActiveRecord::VERSION::STRING) >= Gem::Version.new('5.1.0')
  GTE_RAILS_5_0 = Gem::Version.new(ActiveRecord::VERSION::STRING) >= Gem::Version.new('5.0.0')
  GTE_RAILS_4_0 = Gem::Version.new(ActiveRecord::VERSION::STRING) >= Gem::Version.new('4.0.0')
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_compatibility-0.0.7 lib/rails_compatibility/active_record.rb
rails_compatibility-0.0.6 lib/rails_compatibility/active_record.rb
rails_compatibility-0.0.4 lib/rails_compatibility/active_record.rb
rails_compatibility-0.0.3 lib/rails_compatibility/active_record.rb