<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -23,7 +23,6 @@ Hoe.spec('ronin') do
     ['chars', '&gt;=0.1.2'],
     ['parameters', '&gt;=0.1.8'],
     ['contextify', '&gt;=0.1.3'],
-    ['reverse-require', '&gt;=0.3.1'],
     ['repertoire', '&gt;=0.2.3'],
     ['thor', '&gt;=0.11.5']
   ]</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -19,8 +19,9 @@
 #
 
 require 'ronin/ui/command_line/exceptions/unknown_command'
+require 'ronin/version'
 
-require 'reverse_require'
+require 'set'
 require 'extlib'
 
 module Ronin
@@ -40,11 +41,25 @@ module Ronin
       #
       def CommandLine.commands
         unless class_variable_defined?('@@ronin_commands')
-          pattern = File.join('lib',COMMANDS_DIR,'*.rb')
+          @@ronin_commands = SortedSet[]
 
-          @@ronin_commands = Gem.find_resources(pattern).map { |path|
-            File.basename(path).gsub(/\.rb$/,'')
-          }.uniq
+          add_paths = lambda { |paths|
+            paths.each do |path|
+              @@ronin_commands &lt;&lt; File.basename(path).gsub(/\.rb$/,'')
+            end
+          }
+
+          pattern = File.join(File.dirname(__FILE__),File.basename(COMMANDS_DIR),'*.rb')
+          add_paths.call(Dir[pattern])
+
+          pattern = File.join(COMMANDS_DIR,'*.rb')
+          deps = Gem.source_index.find_name('ronin')
+
+          deps.each do |dep|
+            dep.dependent_gems.each do |deps|
+              add_paths.call(Gem.searcher.matching_files(deps.first,pattern))
+            end
+          end
         end
 
         return @@ronin_commands</diff>
      <filename>lib/ronin/ui/command_line/command_line.rb</filename>
    </modified>
    <modified>
      <diff>@@ -41,7 +41,7 @@ module Ronin
               puts 'Available commands:'
 
               indent do
-                CommandLine.commands.sort.each { |name| puts name }
+                CommandLine.commands.each { |name| puts name }
               end
             end
           end</diff>
      <filename>lib/ronin/ui/command_line/commands/help.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bd63fb5184d5cb78a080287f22184ba1afd3beca</id>
    </parent>
  </parents>
  <author>
    <name>postmodern</name>
    <email>postmodern.mod3@gmail.com</email>
  </author>
  <url>http://github.com/postmodern/ronin/commit/557dce1147077a4d767eca4ca11eb7b11ec1f62e</url>
  <id>557dce1147077a4d767eca4ca11eb7b11ec1f62e</id>
  <committed-date>2009-10-15T04:26:08-07:00</committed-date>
  <authored-date>2009-10-15T04:26:08-07:00</authored-date>
  <message>Rewrote UI::CommandLine.commands to not use reverse_require.

* Made CommandLine.commands return a SortedSet.</message>
  <tree>a04d9c069af853ae1a8dd2f0cf179b45cdff0b80</tree>
  <committer>
    <name>postmodern</name>
    <email>postmodern.mod3@gmail.com</email>
  </committer>
</commit>
