starburstroma 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. data/lib/starburstroma.rb +1 -0
  2. metadata +2 -2
data/lib/starburstroma.rb CHANGED
@@ -5,6 +5,7 @@ module Starburstroma
5
5
  end
6
6
 
7
7
  def cleaned_up text
8
+ return text if( text.nil? || text.strip == '' )
8
9
  tokens = text.scan(/[a-z.,'-]+/i)
9
10
  new_text = tokens.map{ |t| t.capitalize }.join(' ')
10
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: starburstroma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-30 00:00:00.000000000 Z
12
+ date: 2013-05-31 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Simple gem to format text
15
15
  email: jwshin@gmail.com