Sha256: 5ad155748566f922b26f8ac60251cf657a6d54fc2ae821a0c79d80fc850aeb55

Contents?: true

Size: 448 Bytes

Versions: 41

Compression:

Stored size: 448 Bytes

Contents

A slugifier that converts utf-8 latin characters to their ascii counterpart.
All non-recognized characters are removed, only lowercase alfanumerical characters
and dashes are left. Also has an option to strip away starting, ending and double dashes.

Conversion is based on http://en.wikipedia.org/wiki/Latin_characters_in_Unicode

To use, just install it

  gem install slugify

require it

  require 'slugify'

and use it

  "test test".slugify

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
kinetic_sdk-5.0.29 gems/slugify-1.0.7/README
kinetic_sdk-5.0.28 gems/slugify-1.0.7/README
kinetic_sdk-5.0.27 gems/slugify-1.0.7/README
kinetic_sdk-5.0.26 gems/slugify-1.0.7/README
kinetic_sdk-5.0.25 gems/slugify-1.0.7/README
kinetic_sdk-5.0.24 gems/slugify-1.0.7/README
kinetic_sdk-5.0.23 gems/slugify-1.0.7/README
kinetic_sdk-5.0.22 gems/slugify-1.0.7/README
kinetic_sdk-5.0.21 gems/slugify-1.0.7/README
kinetic_sdk-5.0.20 gems/slugify-1.0.7/README
kinetic_sdk-5.0.19 gems/slugify-1.0.7/README
kinetic_sdk-5.0.18 gems/slugify-1.0.7/README
kinetic_sdk-5.0.17 gems/slugify-1.0.7/README
kinetic_sdk-5.0.16 gems/slugify-1.0.7/README
kinetic_sdk-5.0.15 gems/slugify-1.0.7/README
kinetic_sdk-5.0.14 gems/slugify-1.0.7/README
kinetic_sdk-5.0.13 gems/slugify-1.0.7/README
kinetic_sdk-5.0.12 gems/slugify-1.0.7/README
kinetic_sdk-5.0.11 gems/slugify-1.0.7/README
kinetic_sdk-5.0.10 gems/slugify-1.0.7/README