From e88c43baeb992810a1b690fabe7ceb5e772d7f2a Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Tue, 24 Oct 2017 20:03:12 +0200 Subject: [PATCH] Remove really old legacy support --- lib/rainbow.rb | 1 - lib/rainbow/legacy.rb | 13 ------------- 2 files changed, 14 deletions(-) delete mode 100644 lib/rainbow/legacy.rb diff --git a/lib/rainbow.rb b/lib/rainbow.rb index bbc5f05..db5a61b 100644 --- a/lib/rainbow.rb +++ b/lib/rainbow.rb @@ -1,5 +1,4 @@ require_relative 'rainbow/global' -require_relative 'rainbow/legacy' module Rainbow def self.new diff --git a/lib/rainbow/legacy.rb b/lib/rainbow/legacy.rb deleted file mode 100644 index 1fce21e..0000000 --- a/lib/rainbow/legacy.rb +++ /dev/null @@ -1,13 +0,0 @@ -module Sickill - module Rainbow - def self.enabled=(value) - STDERR.puts("Rainbow gem notice: Sickill::Rainbow.enabled= is " \ - "deprecated, use Rainbow.enabled= instead.") - ::Rainbow.enabled = value - end - - def self.enabled - ::Rainbow.enabled - end - end -end