Skip to content

Commit

Permalink
Prepare for the next version of command-t (1.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo Lopez committed Mar 26, 2011
1 parent 5bc9126 commit 4e45f4f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/mrT/command-t/scanner.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'command-t/scanner'
require 'command-t/scanner/file_scanner'

module CommandT
class Scanner
class FileScanner

private

Expand Down
4 changes: 2 additions & 2 deletions lib/mrT/file_select.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'command-t/finder'
require 'command-t/finder/file_finder'
require 'mrT/command-t/scanner'

module MrT
Expand All @@ -8,7 +8,7 @@ def prepared?
end

def matcher
@matcher ||= CommandT::Finder.new MrT.dir, cmd_t_options
@matcher ||= CommandT::FileFinder.new MrT.dir, cmd_t_options
end

def cmd_t_options
Expand Down
4 changes: 2 additions & 2 deletions lib/mrT/selector.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'command-t/finder'
require 'command-t/finder/file_finder'

module MrT
module Selector
Expand Down Expand Up @@ -52,7 +52,7 @@ def selected(ui)
end

def matcher(options = {})
scanner = CommandT::Scanner.new
scanner = CommandT::FileScanner.new
scanner.instance_variable_set :@paths, memoized_items
CommandT::Matcher.new scanner, options
end
Expand Down

0 comments on commit 4e45f4f

Please sign in to comment.