isaac-formatting 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.mkd +12 -10
- data/lib/isaac-formatting.rb +1 -1
- metadata +12 -3
data/README.mkd
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Formatting for your [isaac](http://github.com/ichverstehe/isaac)-powered IRC bots.
|
|
4
4
|
|
|
5
|
+
Currently it only works with clients that use mIRC's formatting system.
|
|
6
|
+
|
|
7
|
+
As far as I know, that includes mIRC and irssi.
|
|
8
|
+
|
|
5
9
|
## Installation
|
|
6
10
|
|
|
7
11
|
If you already have gemcutter as a source, it's as easy as:
|
|
@@ -14,19 +18,17 @@ Otherwise, you'll need to install by source
|
|
|
14
18
|
|
|
15
19
|
## Usage
|
|
16
20
|
|
|
17
|
-
The following formatting options are available:
|
|
18
|
-
|
|
19
|
-
* plain
|
|
20
|
-
* bold
|
|
21
|
-
* italic
|
|
22
|
-
* underline
|
|
23
|
-
* colors
|
|
24
|
-
|
|
25
|
-
### Example
|
|
26
|
-
|
|
27
21
|
require 'isaac'
|
|
28
22
|
require 'isaac-formatting'
|
|
29
23
|
|
|
24
|
+
# The following formatting options are available:
|
|
25
|
+
#
|
|
26
|
+
# * plain
|
|
27
|
+
# * bold
|
|
28
|
+
# * italic
|
|
29
|
+
# * underline
|
|
30
|
+
# * color
|
|
31
|
+
|
|
30
32
|
configure do |c|
|
|
31
33
|
c.nick = 'OHYEAHCOLORS'
|
|
32
34
|
c.server = 'irc.freenode.net'
|
data/lib/isaac-formatting.rb
CHANGED
|
@@ -3,7 +3,7 @@ module Isaac
|
|
|
3
3
|
# Formatting for your isaac-powered IRC bots.
|
|
4
4
|
#
|
|
5
5
|
# At the moment this only works with mIRC's formatting system,
|
|
6
|
-
# though other clients like
|
|
6
|
+
# though other clients like Irssi use it as well.
|
|
7
7
|
#
|
|
8
8
|
# A quick note, this was highly inspired/ripped from libs/formatting.rb
|
|
9
9
|
# in RISCfuture's autumn.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: isaac-formatting
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Danny Tatom
|
|
@@ -11,8 +11,17 @@ cert_chain: []
|
|
|
11
11
|
|
|
12
12
|
date: 2009-10-26 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
|
-
dependencies:
|
|
15
|
-
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: isaac
|
|
17
|
+
type: :runtime
|
|
18
|
+
version_requirement:
|
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - ">="
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 0.2.5
|
|
24
|
+
version:
|
|
16
25
|
description: Formatting for your isaac-powered IRC bots.
|
|
17
26
|
email: dannytatom@gmail.com
|
|
18
27
|
executables: []
|