epitools 0.4.23 → 0.4.24

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.23
1
+ 0.4.24
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{epitools}
8
- s.version = "0.4.23"
8
+ s.version = "0.4.24"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["epitron"]
12
- s.date = %q{2011-04-10}
12
+ s.date = %q{2011-04-14}
13
13
  s.description = %q{Miscellaneous utility libraries to make my life easier.}
14
14
  s.email = %q{chris@ill-logic.com}
15
15
  s.extra_rdoc_files = [
@@ -130,7 +130,7 @@ module Colored
130
130
  #
131
131
  def colorize(string=nil, options = {})
132
132
  if string == nil
133
- return tagged_colors(self)
133
+ return self.tagged_colors
134
134
  end
135
135
 
136
136
  if @@is_tty
@@ -226,11 +226,11 @@ module Colored
226
226
  # Numeric ANSI colors (from the BBS days):
227
227
  # puts "<10><5>*</5> Hey mom! I am <9>SO</9> colored right now.</10>".colorize
228
228
  #
229
- def tagged_colors(string)
229
+ def tagged_colors
230
230
  stack = []
231
231
 
232
232
  # split the string into tags and literal strings
233
- tokens = string.split(/(<\/?[\w\d_]+>)/)
233
+ tokens = self.split(/(<\/?[\w\d_]+>)/)
234
234
  tokens.delete_if { |token| token.size == 0 }
235
235
 
236
236
  result = ""
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: epitools
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.23
5
+ version: 0.4.24
6
6
  platform: ruby
7
7
  authors:
8
8
  - epitron
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-10 00:00:00 -04:00
13
+ date: 2011-04-14 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency