lib/tty.rb in tty-0.1.2 vs lib/tty.rb in tty-0.1.3
- old
+ new
@@ -4,29 +4,29 @@
require 'pastel'
require 'necromancer'
require 'tty-screen'
require 'tty-spinner'
require 'tty-progressbar'
+require 'tty-table'
require 'tty/version'
require 'tty/support/utils'
require 'tty/support/delegatable'
require 'tty/support/coercion'
require 'tty/support/unicode'
require 'tty/terminal'
require 'tty/system'
-require 'tty/table'
-require 'tty/text'
require 'tty/vector'
require 'tty/shell'
require 'tty/logger'
require 'tty/plugins'
require 'tty/plugins/plugin'
+require 'tty/shell/distance'
require 'tty/shell/response_delegation'
require 'tty/shell/question'
require 'tty/shell/question/validation'
require 'tty/shell/question/modifier'
require 'tty/shell/statement'
@@ -42,44 +42,10 @@
require 'tty/terminal/pager/system'
require 'tty/system/which'
require 'tty/system/editor'
-require 'tty/text/distance'
-require 'tty/text/truncation'
-require 'tty/text/wrapping'
-
-require 'tty/table/header'
-require 'tty/table/row'
-require 'tty/table/field'
-
-require 'tty/table/border'
-require 'tty/table/border_dsl'
-require 'tty/table/border_options'
-require 'tty/table/border/unicode'
-require 'tty/table/border/ascii'
-require 'tty/table/border/null'
-require 'tty/table/border/row_line'
-
-require 'tty/table/column_set'
-require 'tty/table/columns'
-require 'tty/table/orientation'
-require 'tty/table/orientation/horizontal'
-require 'tty/table/orientation/vertical'
-require 'tty/table/transformation'
-require 'tty/table/indentation'
-require 'tty/table/padder'
-
-require 'tty/table/operations'
-require 'tty/table/operation/alignment_set'
-require 'tty/table/operation/alignment'
-require 'tty/table/operation/truncation'
-require 'tty/table/operation/wrapped'
-require 'tty/table/operation/filter'
-require 'tty/table/operation/escape'
-require 'tty/table/operation/padding'
-
module TTY
# Raised when the argument type is different from expected
class TypeError < ArgumentError; end
@@ -92,15 +58,9 @@
# Raised when the argument validation fails
class ArgumentValidation < ArgumentError; end
# Raised when the argument is not expected
class InvalidArgument < ArgumentError; end
-
- # Raised when the table orientation is unkown
- class InvalidOrientationError < ArgumentError; end
-
- # Raised when the table cannot be resized
- class ResizeError < ArgumentError; end
# Raised when the passed in validation argument is of wrong type
class ValidationCoercion < TypeError; end
# Raised when the attribute is unknown