Sha256: 3e93bb90b969135c265df07e3f0b980a736e11fc6eeb1ebe494ab76221be99a3
Contents?: true
Size: 551 Bytes
Versions: 2
Compression:
Stored size: 551 Bytes
Contents
# frozen_string_literal: true unless defined?(DEVISE_ORM) DEVISE_ORM = (ENV["DEVISE_ORM"] || :active_record).to_sym end module Devise module Test # Detection for minor differences between Rails 4 and 5, and 5.1 in tests. def self.rails51? Rails.version.start_with? '5.1' end def self.rails5? Rails.version.start_with? '5' end end end # Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__) require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise-4.4.1 | test/rails_app/config/boot.rb |
devise-4.4.0 | test/rails_app/config/boot.rb |