RubyGems Navigation menu

paranoid_starlight 2.0.1

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
          gem 'paranoid_starlight', '~> 2.0.1'
  
  
  
  
  
  
  

install
          gem install paranoid_starlight
  
  
  
  
  
  
  

Authors:

  • Ivan Stana

Owners:

Total downloads 4,771

For this version 712

Show all versions (7 total)

Required Ruby Version: None

Links:

Versions:

  1. 2.0.1 - January 16, 2013 (10.5 KB)
  2. 2.0 - December 29, 2012 (10.5 KB)
  3. 1.4.0 - December 23, 2012 (9 KB)
  4. 1.3.0 - December 18, 2012 (9 KB)
  5. 1.2.0 - December 18, 2012 (8.5 KB)
Show all versions (7 total)

Development Dependencies: