module Uncruft

Constants

FALSE_VALUES

api.rubyonrails.org/classes/ActiveModel/Type/Boolean.html

VERSION

Public Class Methods

ignorefile_path() click to toggle source
# File lib/uncruft.rb, line 16
def ignorefile_path
  ENV['UNCRUFT_IGNOREFILE_PATH'] || Rails.root.join('config', 'deprecations.ignore')
end
record_deprecations?() click to toggle source
# File lib/uncruft.rb, line 12
def record_deprecations?
  ENV['RECORD_DEPRECATIONS'].presence && !FALSE_VALUES.include?(ENV['RECORD_DEPRECATIONS'])
end