Sha256: e0c5c1b7eb8440bc30c3a3ff586e2dc76f97f7120404ee707f3dcd673e1cf57a

Contents?: true

Size: 347 Bytes

Versions: 12

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

require 'eac_rails_utils/models/tableless_associations/hooks'
require 'eac_ruby_utils/require_sub'

module EacRailsUtils
  module Patches
    module Rails52
      ::EacRubyUtils.require_sub __FILE__

      class << self
        def enabled?
          ::Rails.version >= '5.2'
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
eac_rails_utils-0.25.0 lib/eac_rails_utils/patches/rails_5_2.rb
eac_rails_utils-0.24.0 lib/eac_rails_utils/patches/rails_5_2.rb
eac_rails_utils-0.23.4 lib/eac_rails_utils/patches/rails_5_2.rb
eac_rails_utils-0.23.3 lib/eac_rails_utils/patches/rails_5_2.rb
eac_rails_utils-0.23.2 lib/eac_rails_utils/patches/rails_5_2.rb
eac_rails_utils-0.23.1 lib/eac_rails_utils/patches/rails_5_2.rb
eac_rails_utils-0.23.0 lib/eac_rails_utils/patches/rails_5_2.rb
eac_rails_utils-0.22.3 lib/eac_rails_utils/patches/rails_5_2.rb
eac_rails_utils-0.22.2 lib/eac_rails_utils/patches/rails_5_2.rb
eac_rails_utils-0.22.1 lib/eac_rails_utils/patches/rails_5_2.rb
eac_rails_utils-0.22.0 lib/eac_rails_utils/patches/rails_5_2.rb
eac_rails_utils-0.21.0 lib/eac_rails_utils/patches/rails_5_2.rb