Sha256: a5fbf02aabb5973756848e7086eae6cc48c28ee0d3e3d29a005ef6cb34ac6190

Contents?: true

Size: 326 Bytes

Versions: 5

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

module DatadogBackup
  # Notify the user if they are using deprecated features.
  module Deprecations
    def self.check
      LOGGER.warn "ruby-#{RUBY_VERSION} is deprecated. Ruby 2.7 or higher will be required to use this gem after datadog_backup@v3" if RUBY_VERSION < '2.7'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datadog_backup-3.3.0 lib/datadog_backup/deprecations.rb
datadog_backup-3.2.1 lib/datadog_backup/deprecations.rb
datadog_backup-3.2.0 lib/datadog_backup/deprecations.rb
datadog_backup-3.1.1 lib/datadog_backup/deprecations.rb
datadog_backup-3.1.0 lib/datadog_backup/deprecations.rb