README.rdoc in validates_cpf-1.0.0 vs README.rdoc in validates_cpf-1.1.0
- old
+ new
@@ -8,26 +8,22 @@
== Usage
Lets say you have a model with "cpf" string column that you want to be a valid CPF. Just add this to your model:
-```ruby
-class User < ActiveRecord::Base
+ class User < ActiveRecord::Base
validates :cpf, :cpf => true
-end
-```
+ end
+
== Test
-This gem has buitin matchers for shoulda-matchers and remarkable.
+This gem has builtin matchers for shoulda-matchers and remarkable.
-=== How?
+== Notes
-You should use require_a_valid_cpf(:attribute) or skip the attribute part if the attribute name is cpf.
+Since version 1.0.0, it isn't necessary to load any file inside your spec_helper anymore.
-== Goal
-
-This project is based on brcpfcnpj gem and his intention it to mantain a cleaner code to validate CPF and easy matchers to test it.
== Contribute
Fork the project and send me a Pull Request. =D
\ No newline at end of file