summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbinoam P. Marques Jr <abinoam@gmail.com>2017-07-01 00:03:48 -0300
committerAbinoam P. Marques Jr <abinoam@gmail.com>2017-07-01 00:03:52 -0300
commit5998e683e90f30e9de93c45aa01a9f0d91b28c73 (patch)
tree67a537ce9517ad4480f4fd00a89fe2c6141361a0
parent97888f5f91f9675ef2f7809fe1cb423abf6099c8 (diff)
downloadhighline-5998e683e90f30e9de93c45aa01a9f0d91b28c73.tar.gz
Require 'English' for rubocop autofixed files
-rwxr-xr-xlib/highline.rb1
-rwxr-xr-xlib/highline/question.rb1
-rw-r--r--lib/highline/wrapper.rb2
-rw-r--r--test/test_helper.rb2
4 files changed, 6 insertions, 0 deletions
diff --git a/lib/highline.rb b/lib/highline.rb
index 7612674..be5adda 100755
--- a/lib/highline.rb
+++ b/lib/highline.rb
@@ -10,6 +10,7 @@
#
# This is Free Software. See LICENSE and COPYING for details.
+require "English"
require "erb"
require "optparse"
require "stringio"
diff --git a/lib/highline/question.rb b/lib/highline/question.rb
index 4d390dc..98b3fa9 100755
--- a/lib/highline/question.rb
+++ b/lib/highline/question.rb
@@ -8,6 +8,7 @@
#
# This is Free Software. See LICENSE and COPYING for details.
+require "English"
require "optparse"
require "date"
require "pathname"
diff --git a/lib/highline/wrapper.rb b/lib/highline/wrapper.rb
index eb3c138..4b17666 100644
--- a/lib/highline/wrapper.rb
+++ b/lib/highline/wrapper.rb
@@ -1,5 +1,7 @@
# coding: utf-8
+require "English"
+
class HighLine
# A simple Wrapper module that is aware of ANSI escape codes.
# It compensates for the ANSI escape codes so it works on the
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 48c0ff0..79fa1fb 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,6 +1,8 @@
#!/usr/bin/env ruby
# coding: utf-8
+require "English"
+
# Run code coverage only for mri
require 'simplecov' if RUBY_ENGINE == 'ruby'