Comparing version 0.3.4 to 0.3.5
@@ -208,3 +208,2 @@ // The Inflector transforms words from singular to plural, class names to table names, modularized class names to ones without, | ||
self = inflect.humanize(inflect.underscore(word)); | ||
self = util.string.gsub(self, /[^a-zA-Z:']/, ' '); | ||
return util.string.capitalize(self); | ||
@@ -211,0 +210,0 @@ }; |
{ | ||
"name": "i", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"author": "Pavan Kumar Sunkara <pavan.sss1991@gmail.com> (pksunkara.github.com)", | ||
@@ -5,0 +5,0 @@ "description": "custom inflections for nodejs", |
@@ -304,2 +304,5 @@ (function() { | ||
return assert.equal(topic.titleize('x-men: the last stand'), 'X Men: The Last Stand'); | ||
}, | ||
'with ampersands': function(topic) { | ||
return assert.equal(topic.titleize('garfunkel & oates'), 'Garfunkel & Oates'); | ||
} | ||
@@ -306,0 +309,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55182
1315