Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Renamed Titan::Cli to Titan::CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
flippingbits committed Dec 10, 2010
1 parent fb55749 commit c8fea71
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/titan
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
require "titan"

Titan::Cli.start
Titan::CLI.start
2 changes: 1 addition & 1 deletion lib/titan.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require "titan/version"

module Titan
autoload :Cli, "titan/cli"
autoload :CLI, "titan/cli"
autoload :Thread, "titan/thread"
end
2 changes: 1 addition & 1 deletion lib/titan/cli.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "thor"

module Titan
class Cli < Thor
class CLI < Thor
include Thor::Actions

def initialize(*)
Expand Down
4 changes: 2 additions & 2 deletions spec/titan/cli_spec.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
require 'spec_helper'

describe Titan::Cli do
describe Titan::CLI do
before(:each) do
@shell = mock(Thor::Shell::Basic, :print_table => nil, :say => nil)
Thor::Shell::Basic.stub!(:new).and_return(@shell)
@cli = Titan::Cli.new
@cli = Titan::CLI.new
end

describe "#help" do
Expand Down

0 comments on commit c8fea71

Please sign in to comment.