This repository has been archived by the owner on Jul 17, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christopher Warren
committed
Aug 30, 2011
1 parent
1717c04
commit 31893d9
Showing
4 changed files
with
59 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
.bundle | ||
Gemfile.lock | ||
pkg/* | ||
Chatfile | ||
Chatfile.testing | ||
.DS_Store | ||
ceilingcat.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Require your plugins here | ||
require 'ceiling_cat/plugins/about' | ||
require 'ceiling_cat/plugins/calc' | ||
require 'ceiling_cat/plugins/greeter' | ||
|
||
CeilingCat::Setup.configure do |config| | ||
# Campfire Settings. Only use one service per chatfile | ||
config.service = 'campfire' | ||
config.subdomain = 'username' | ||
config.token = '12345abcde' # The API token of the account Ceiling Cat will use. Available at https://<subdomain>.campfirenow.com/member/edit | ||
config.room = 'Test Room' | ||
config.ssl = true | ||
|
||
# IRC Settings. Only use one service per chatfile | ||
# config.service = 'irc' | ||
# config.server = 'irc.freenode.org' | ||
# config.nick = 'nickname' | ||
# config.password = 'Q7Af6laDKza2SOM' | ||
# config.room = '#my_room' | ||
|
||
config.plugins = [CeilingCat::Plugin::About, | ||
CeilingCat::Plugin::Greeter, | ||
CeilingCat::Plugin::Calc] | ||
|
||
# Some plugins require storage | ||
CeilingCat::Storage::Yaml.file = "ceilingcat.yml" | ||
config.storage = CeilingCat::Storage::Yaml | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Require your plugins here | ||
require 'ceiling_cat/plugins/about' | ||
|
||
CeilingCat::Setup.configure do |config| | ||
config.service = 'campfire' | ||
config.username = 'user' | ||
config.token = '1234abcd' | ||
config.room = 'Room 1' | ||
config.ssl = true | ||
|
||
# Plugns are executed in the order set. | ||
# Execution ends once a response is returned by a plugin. | ||
# | ||
# If any plugins are collecting stats or otherwise not | ||
# interacting directly with users but you want to ensure | ||
# that they run, list them first. | ||
config.plugins = [CeilingCat::Plugin::About] | ||
|
||
config.storage = CeilingCat::Storage::Hash | ||
end |