Sha256: 11279e624a30d1cecee1cdf2250c361bc6ee9b1b725baf981c3e4a231b69b290

Contents?: true

Size: 871 Bytes

Versions: 2

Compression:

Stored size: 871 Bytes

Contents

module Coco

  # Group all messages for deprecated things in this module.
  #
  module DeprecatedMessage

    def self.for_excludes
      "Please change `excludes` to `exclude`.\n" \
      'Support for `excludes` configuration key will ' \
      'be removed in future Coco versions.'
    end

    def self.for_directories
      "Please change `directories` to `include`.\n" \
      'Support for `directories` configuration key will ' \
      'be removed in future Coco versions.'
    end

    def self.for_threeshold
      "Please change `threeshold` to `threshold`.\n" \
      'Support for the misspelt `threeshold` configuration key will ' \
      'be removed in future Coco versions.'
    end

    def self.for_legacy_config_file
      "Please use `.coco.yml` instead of `.coco`.\n" \
      'Support for `.coco` will be removed in future versions.'
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coco-0.15.0 lib/coco/deprecated_message.rb
coco-0.14.0 lib/coco/deprecated_message.rb