RubyGems Navigation menu

paranoid_starlight 2.0

This gem is pack of methods to convert or validate different formats of strings and texts in model, like telephone numbers (CZ/SK format), email, or (european) names (currently). Or to clean string of too much whitespaces. It provides *convert* methods for attributes of model (getter and setter method in object is enough). They are used in save hooks. There are also *validator* methods for ActiveModel nd hook for automatic ActiveRecord integration. Just type: (`require 'paranoid_starlight/active_record'`) Specs included.

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 2.0.1 - January 16, 2013 (10,5 ko)
  2. 2.0 - December 29, 2012 (10,5 ko)
  3. 1.4.0 - December 26, 2012 (9 ko)
  4. 1.3.0 - December 18, 2012 (9 ko)
  5. 1.2.0 - December 18, 2012 (8,5 ko)
Voir toutes les versions (7)

Dépendances de Runtime (3):

activemodel ~> 3.2
fast_gettext ~> 0.6
twitter_cldr ~> 2.0

Dépendances de Development (1):

rspec >= 0

Propriétaires:

Auteurs:

  • Ivan Stana

Total de contrôle SHA 256:

6ad3e17a99961ffd92cfc975b4b16abe79341d431ddd42dac1e69032aae4daea

Total de téléchargements 20 412

Pour cette version 2 793

License:

aucune

Version de Ruby requise: >= 1.9.2

Liens: