lib/automation_helpers/patches/base.rb
def prevent_usage?
        if defined?(prevent_usage_date)
          Time.new >= prevent_usage_date
        elsif defined?(prevent_usage_from)
          Gem::Version.new(gem_version) >= Gem::Version.new(prevent_usage_from)
        end
      end
#
# api private (Not intended to be instantiated directly!)
#
# From what point should this patch start preventing usage deprecation notices
# If a date is provided, then after that date
# If a version from is provided, then all releases after that one (NB: You must provide a link to the gem version)
#
api private (Not intended to be instantiated directly!)
From what point should this patch start preventing usage deprecation notices
If a date is provided, then after that date
If a version from is provided, then all releases after that one (NB: You must provide a link to the gem version)
api private ( Not intended to be instantiated directly! ) From what point should this patch start preventing usage deprecation notices If a date is provided then after that date If a version from is provided then all releases after that one ( NB : You must provide a link to the gem version )
def prevent_usage?
        if defined?(prevent_usage_date)
          Time.new >= prevent_usage_date
        elsif defined?(prevent_usage_from)
          Gem::Version.new(gem_version) >= Gem::Version.new(prevent_usage_from)
        end
      end
def prevent_usage? if defined? ( prevent_usage_date ) Time . new >= prevent_usage_date elsif defined? ( prevent_usage_from ) Gem :: Version . new ( gem_version ) >= Gem :: Version . new ( prevent_usage_from ) end end
api private (Not intended to be instantiated directly!)
api private ( Not intended to be instantiated directly! )