brstring 2.0.12 → 2.0.13

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.
@@ -124,7 +124,8 @@ class String
124
124
  def self.titleize(texto)
125
125
  return texto if texto.blank?
126
126
  texto = texto.downcase
127
- texto.chars[0] = texto.chars.first.upcase
127
+ texto = texto.downcase
128
+ texto.mb_chars[0] = texto.mb_chars.first.upcase
128
129
  texto = texto.gsub(/\s[a-z#{String::MINUSCULAS_COM_ACENTO}]/) {|a| a.upcase }
129
130
  texto
130
131
  end
@@ -4,6 +4,6 @@ module BrString
4
4
 
5
5
 
6
6
 
7
- STRING = "2.0.12"
7
+ STRING = "2.0.13"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brstring
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.12
4
+ version: 2.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Marcos Tapaj\xC3\xB3s"
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2008-12-01 00:00:00 -02:00
15
+ date: 2008-12-16 00:00:00 -02:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - none
68
68
  rubyforge_project: brstring
69
- rubygems_version: 1.2.0
69
+ rubygems_version: 1.3.1
70
70
  signing_key:
71
71
  specification_version: 2
72
72
  summary: "brstring \xC3\xA9 uma das gems que compoem o Brazilian Rails"