diff --git a/lib/ronin/code/sql.rb b/lib/ronin/code/sql.rb index 8004d9c..60ffb11 100644 --- a/lib/ronin/code/sql.rb +++ b/lib/ronin/code/sql.rb @@ -18,8 +18,8 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/mixin' -require 'ronin/code/sqli' +require_relative 'sql/mixin' +require_relative 'sqli' module Ronin module Code diff --git a/lib/ronin/code/sql/binary_expr.rb b/lib/ronin/code/sql/binary_expr.rb index b27f9ec..29c8a71 100644 --- a/lib/ronin/code/sql/binary_expr.rb +++ b/lib/ronin/code/sql/binary_expr.rb @@ -18,8 +18,8 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/operators' -require 'ronin/code/sql/emittable' +require_relative 'operators' +require_relative 'emittable' module Ronin module Code diff --git a/lib/ronin/code/sql/clause.rb b/lib/ronin/code/sql/clause.rb index 3c1c6a9..e86947f 100644 --- a/lib/ronin/code/sql/clause.rb +++ b/lib/ronin/code/sql/clause.rb @@ -18,12 +18,12 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/literals' -require 'ronin/code/sql/fields' -require 'ronin/code/sql/functions' -require 'ronin/code/sql/statement' -require 'ronin/code/sql/statements' -require 'ronin/code/sql/emittable' +require_relative 'literals' +require_relative 'fields' +require_relative 'functions' +require_relative 'statement' +require_relative 'statements' +require_relative 'emittable' module Ronin module Code diff --git a/lib/ronin/code/sql/emittable.rb b/lib/ronin/code/sql/emittable.rb index 97cd899..8dbd4b9 100644 --- a/lib/ronin/code/sql/emittable.rb +++ b/lib/ronin/code/sql/emittable.rb @@ -18,7 +18,7 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/emitter' +require_relative 'emitter' module Ronin module Code diff --git a/lib/ronin/code/sql/field.rb b/lib/ronin/code/sql/field.rb index 065690b..9e25d5e 100644 --- a/lib/ronin/code/sql/field.rb +++ b/lib/ronin/code/sql/field.rb @@ -18,8 +18,8 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/operators' -require 'ronin/code/sql/emittable' +require_relative 'operators' +require_relative 'emittable' module Ronin module Code diff --git a/lib/ronin/code/sql/fields.rb b/lib/ronin/code/sql/fields.rb index 41fba3b..97a82d0 100644 --- a/lib/ronin/code/sql/fields.rb +++ b/lib/ronin/code/sql/fields.rb @@ -18,7 +18,7 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/field' +require_relative 'field' module Ronin module Code diff --git a/lib/ronin/code/sql/function.rb b/lib/ronin/code/sql/function.rb index 4d3afa3..fa3b360 100644 --- a/lib/ronin/code/sql/function.rb +++ b/lib/ronin/code/sql/function.rb @@ -18,8 +18,8 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/operators' -require 'ronin/code/sql/emittable' +require_relative 'operators' +require_relative 'emittable' module Ronin module Code diff --git a/lib/ronin/code/sql/functions.rb b/lib/ronin/code/sql/functions.rb index 61dcbd2..1953ebc 100644 --- a/lib/ronin/code/sql/functions.rb +++ b/lib/ronin/code/sql/functions.rb @@ -18,7 +18,7 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/function' +require_relative 'function' module Ronin module Code diff --git a/lib/ronin/code/sql/injection.rb b/lib/ronin/code/sql/injection.rb index 0630184..3dc18df 100644 --- a/lib/ronin/code/sql/injection.rb +++ b/lib/ronin/code/sql/injection.rb @@ -18,10 +18,10 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/literals' -require 'ronin/code/sql/clauses' -require 'ronin/code/sql/injection_expr' -require 'ronin/code/sql/statement_list' +require_relative 'literals' +require_relative 'clauses' +require_relative 'injection_expr' +require_relative 'statement_list' module Ronin module Code diff --git a/lib/ronin/code/sql/injection_expr.rb b/lib/ronin/code/sql/injection_expr.rb index 285edf0..70ff07b 100644 --- a/lib/ronin/code/sql/injection_expr.rb +++ b/lib/ronin/code/sql/injection_expr.rb @@ -18,12 +18,12 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/binary_expr' -require 'ronin/code/sql/literals' -require 'ronin/code/sql/fields' -require 'ronin/code/sql/functions' -require 'ronin/code/sql/statements' -require 'ronin/code/sql/emittable' +require_relative 'binary_expr' +require_relative 'literals' +require_relative 'fields' +require_relative 'functions' +require_relative 'statements' +require_relative 'emittable' module Ronin module Code diff --git a/lib/ronin/code/sql/literal.rb b/lib/ronin/code/sql/literal.rb index c6a1b8e..f676525 100644 --- a/lib/ronin/code/sql/literal.rb +++ b/lib/ronin/code/sql/literal.rb @@ -18,8 +18,8 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/emittable' -require 'ronin/code/sql/operators' +require_relative 'emittable' +require_relative 'operators' module Ronin module Code diff --git a/lib/ronin/code/sql/literals.rb b/lib/ronin/code/sql/literals.rb index c44425b..f45561d 100644 --- a/lib/ronin/code/sql/literals.rb +++ b/lib/ronin/code/sql/literals.rb @@ -18,7 +18,7 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/literal' +require_relative 'literal' module Ronin module Code diff --git a/lib/ronin/code/sql/mixin.rb b/lib/ronin/code/sql/mixin.rb index 8484c4e..d58cb98 100644 --- a/lib/ronin/code/sql/mixin.rb +++ b/lib/ronin/code/sql/mixin.rb @@ -18,8 +18,8 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/statement_list' -require 'ronin/code/sql/injection' +require_relative 'statement_list' +require_relative 'injection' module Ronin module Code diff --git a/lib/ronin/code/sql/statement.rb b/lib/ronin/code/sql/statement.rb index d23ac91..cd57618 100644 --- a/lib/ronin/code/sql/statement.rb +++ b/lib/ronin/code/sql/statement.rb @@ -18,11 +18,11 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/literals' -require 'ronin/code/sql/clause' -require 'ronin/code/sql/clauses' -require 'ronin/code/sql/operators' -require 'ronin/code/sql/emittable' +require_relative 'literals' +require_relative 'clause' +require_relative 'clauses' +require_relative 'operators' +require_relative 'emittable' module Ronin module Code diff --git a/lib/ronin/code/sql/statement_list.rb b/lib/ronin/code/sql/statement_list.rb index 21ce845..c66c201 100644 --- a/lib/ronin/code/sql/statement_list.rb +++ b/lib/ronin/code/sql/statement_list.rb @@ -18,14 +18,14 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/field' -require 'ronin/code/sql/fields' -require 'ronin/code/sql/unary_expr' -require 'ronin/code/sql/binary_expr' -require 'ronin/code/sql/functions' -require 'ronin/code/sql/statement' -require 'ronin/code/sql/statements' -require 'ronin/code/sql/emittable' +require_relative 'field' +require_relative 'fields' +require_relative 'unary_expr' +require_relative 'binary_expr' +require_relative 'functions' +require_relative 'statement' +require_relative 'statements' +require_relative 'emittable' module Ronin module Code diff --git a/lib/ronin/code/sql/unary_expr.rb b/lib/ronin/code/sql/unary_expr.rb index 05c8361..0c417ad 100644 --- a/lib/ronin/code/sql/unary_expr.rb +++ b/lib/ronin/code/sql/unary_expr.rb @@ -18,7 +18,7 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/emittable' +require_relative 'emittable' module Ronin module Code diff --git a/lib/ronin/code/sqli.rb b/lib/ronin/code/sqli.rb index 1c5e562..eb0a9b0 100644 --- a/lib/ronin/code/sqli.rb +++ b/lib/ronin/code/sqli.rb @@ -18,7 +18,7 @@ # along with ronin-code-sql. If not, see . # -require 'ronin/code/sql/injection' +require_relative 'sql/injection' module Ronin module Code