diff --git a/lib/ronin/recon/builtin/api/crt_sh.rb b/lib/ronin/recon/builtin/api/crt_sh.rb index d1bf59d..cbddd86 100644 --- a/lib/ronin/recon/builtin/api/crt_sh.rb +++ b/lib/ronin/recon/builtin/api/crt_sh.rb @@ -19,8 +19,8 @@ # require_relative '../../worker' -require 'ronin/support/text/patterns/network' +require 'ronin/support/text/patterns/network' require 'async/http/internet/instance' require 'set' diff --git a/lib/ronin/recon/builtin/dns/suffix_enum.rb b/lib/ronin/recon/builtin/dns/suffix_enum.rb index 26569c7..3cb0776 100644 --- a/lib/ronin/recon/builtin/dns/suffix_enum.rb +++ b/lib/ronin/recon/builtin/dns/suffix_enum.rb @@ -19,8 +19,8 @@ # require_relative '../../dns_worker' -require 'ronin/support/network/public_suffix' +require 'ronin/support/network/public_suffix' require 'async/queue' module Ronin diff --git a/lib/ronin/recon/builtin/net/ip_range_enum.rb b/lib/ronin/recon/builtin/net/ip_range_enum.rb index e2d53e5..cacaf41 100644 --- a/lib/ronin/recon/builtin/net/ip_range_enum.rb +++ b/lib/ronin/recon/builtin/net/ip_range_enum.rb @@ -19,6 +19,7 @@ # require_relative '../../worker' + require 'ronin/support/network/ip_range' module Ronin diff --git a/lib/ronin/recon/builtin/web/email_addresses.rb b/lib/ronin/recon/builtin/web/email_addresses.rb index 1fb781a..f362d77 100644 --- a/lib/ronin/recon/builtin/web/email_addresses.rb +++ b/lib/ronin/recon/builtin/web/email_addresses.rb @@ -20,6 +20,7 @@ require_relative '../../web_worker' require_relative 'spider' + require 'ronin/support/text/patterns' module Ronin diff --git a/lib/ronin/recon/cli.rb b/lib/ronin/recon/cli.rb index 94f8e3d..5196435 100644 --- a/lib/ronin/recon/cli.rb +++ b/lib/ronin/recon/cli.rb @@ -18,13 +18,14 @@ # along with ronin-recon. If not, see . # -require_relative 'version' require 'ronin/core/cli/help/banner' require 'command_kit/commands' require 'command_kit/commands/auto_load' require 'command_kit/options/version' +require_relative 'version' + module Ronin module Recon # diff --git a/lib/ronin/recon/cli/commands/completion.rb b/lib/ronin/recon/cli/commands/completion.rb index dbd2154..28602e6 100644 --- a/lib/ronin/recon/cli/commands/completion.rb +++ b/lib/ronin/recon/cli/commands/completion.rb @@ -19,6 +19,7 @@ # require_relative '../../root' + require 'ronin/core/cli/completion_command' module Ronin diff --git a/lib/ronin/recon/cli/commands/worker.rb b/lib/ronin/recon/cli/commands/worker.rb index 76aa5fe..60d1b00 100644 --- a/lib/ronin/recon/cli/commands/worker.rb +++ b/lib/ronin/recon/cli/commands/worker.rb @@ -20,6 +20,7 @@ require_relative '../worker_command' require_relative '../printing' + require 'ronin/core/cli/printing/metadata' require 'ronin/core/cli/printing/params' diff --git a/lib/ronin/recon/cli/printing.rb b/lib/ronin/recon/cli/printing.rb index 63d36d7..9599215 100644 --- a/lib/ronin/recon/cli/printing.rb +++ b/lib/ronin/recon/cli/printing.rb @@ -19,6 +19,7 @@ # require_relative '../values' + require 'ronin/core/cli/logging' module Ronin diff --git a/lib/ronin/recon/output_formats.rb b/lib/ronin/recon/output_formats.rb index e7651ef..823910e 100644 --- a/lib/ronin/recon/output_formats.rb +++ b/lib/ronin/recon/output_formats.rb @@ -18,13 +18,14 @@ # along with ronin-recon. If not, see . # -require 'ronin/core/output_formats' require_relative 'output_formats/dir' require_relative 'output_formats/dot' require_relative 'output_formats/svg' require_relative 'output_formats/png' require_relative 'output_formats/pdf' +require 'ronin/core/output_formats' + module Ronin module Recon # diff --git a/lib/ronin/recon/output_formats/dir.rb b/lib/ronin/recon/output_formats/dir.rb index 4d355ef..7c9fcab 100644 --- a/lib/ronin/recon/output_formats/dir.rb +++ b/lib/ronin/recon/output_formats/dir.rb @@ -18,9 +18,9 @@ # along with ronin-recon. If not, see . # -require 'ronin/core/output_formats/output_dir' require_relative '../values' +require 'ronin/core/output_formats/output_dir' require 'set' module Ronin diff --git a/lib/ronin/recon/output_formats/dot.rb b/lib/ronin/recon/output_formats/dot.rb index b625477..9f50817 100644 --- a/lib/ronin/recon/output_formats/dot.rb +++ b/lib/ronin/recon/output_formats/dot.rb @@ -18,7 +18,6 @@ # along with ronin-recon. If not, see . # -require 'ronin/core/output_formats/output_file' require_relative 'graph_format' require_relative '../values/domain' require_relative '../values/mailserver' @@ -33,6 +32,7 @@ require_relative '../values/website' require_relative '../values/wildcard' +require 'ronin/core/output_formats/output_file' require 'set' module Ronin diff --git a/lib/ronin/recon/output_formats/graphviz_format.rb b/lib/ronin/recon/output_formats/graphviz_format.rb index 0763f20..e4ef484 100644 --- a/lib/ronin/recon/output_formats/graphviz_format.rb +++ b/lib/ronin/recon/output_formats/graphviz_format.rb @@ -18,10 +18,10 @@ # along with ronin-recon. If not, see . # -require 'ronin/core/output_formats/output_file' require_relative 'graph_format' require_relative 'dot' +require 'ronin/core/output_formats/output_file' require 'tempfile' module Ronin diff --git a/lib/ronin/recon/values/cert.rb b/lib/ronin/recon/values/cert.rb index 5b1b506..69ee7bb 100644 --- a/lib/ronin/recon/values/cert.rb +++ b/lib/ronin/recon/values/cert.rb @@ -19,6 +19,7 @@ # require_relative '../value' + require 'ronin/support/crypto' module Ronin diff --git a/lib/ronin/recon/worker.rb b/lib/ronin/recon/worker.rb index bbf0515..59c8603 100644 --- a/lib/ronin/recon/worker.rb +++ b/lib/ronin/recon/worker.rb @@ -20,13 +20,13 @@ require_relative 'registry' require_relative 'values' + require 'ronin/core/metadata/id' require 'ronin/core/metadata/authors' require 'ronin/core/metadata/summary' require 'ronin/core/metadata/description' require 'ronin/core/metadata/references' require 'ronin/core/params/mixin' - require 'async' module Ronin diff --git a/lib/ronin/recon/worker_pool.rb b/lib/ronin/recon/worker_pool.rb index 27257b6..cbc0683 100644 --- a/lib/ronin/recon/worker_pool.rb +++ b/lib/ronin/recon/worker_pool.rb @@ -25,8 +25,8 @@ require_relative 'message/job_completed' require_relative 'message/job_failed' require_relative 'message/shutdown' -require 'ronin/core/params/mixin' +require 'ronin/core/params/mixin' require 'async/queue' module Ronin diff --git a/spec/cli/commands/completion_spec.rb b/spec/cli/commands/completion_spec.rb index d5ac8e2..4a02d28 100644 --- a/spec/cli/commands/completion_spec.rb +++ b/spec/cli/commands/completion_spec.rb @@ -1,5 +1,6 @@ require 'spec_helper' require 'ronin/recon/cli/commands/completion' + require_relative 'man_page_example' describe Ronin::Recon::CLI::Commands::Completion do diff --git a/spec/cli/commands/irb_spec.rb b/spec/cli/commands/irb_spec.rb index 278c54c..42a3faf 100644 --- a/spec/cli/commands/irb_spec.rb +++ b/spec/cli/commands/irb_spec.rb @@ -1,5 +1,6 @@ require 'spec_helper' require 'ronin/recon/cli/commands/irb' + require_relative 'man_page_example' describe Ronin::Recon::CLI::Commands::Irb do diff --git a/spec/cli/commands/run_spec.rb b/spec/cli/commands/run_spec.rb index 219de51..1f3a735 100644 --- a/spec/cli/commands/run_spec.rb +++ b/spec/cli/commands/run_spec.rb @@ -1,6 +1,7 @@ require 'spec_helper' require 'ronin/recon/cli/commands/run' require 'ronin/recon/importer' + require_relative 'man_page_example' describe Ronin::Recon::CLI::Commands::Run do