Sha256: 223ab7eb192e1486d18f3ed735c77a4e7dced0c30a9f1b7c32cc3ddc16bf87f2
Contents?: true
Size: 630 Bytes
Versions: 3
Compression:
Stored size: 630 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, 5.1, and 5.2 in tests. def self.rails52? Rails.version.start_with? '5.2' end 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
devise-4.5.0 | test/rails_app/config/boot.rb |
devise-4.4.3 | test/rails_app/config/boot.rb |
devise-4.4.2 | test/rails_app/config/boot.rb |