Sha256: c9521fd37fcfd8f28c6a9e4fcd7e1254ead8deeb482cf19ec71ed378fe439d41

Contents?: true

Size: 421 Bytes

Versions: 20

Compression:

Stored size: 421 Bytes

Contents

dm-adjust
=============

DataMapper plugin providing methods to increment and decrement properties

It provides the following function (for collections and resources):

== adjust!

 Person.adjust!(:salary => 1000) # increases the salary of all people with 1000.
 Person.all(:age.gte => 40).adjust!(:salary => 2000) # increase salary of them oldies.
 @child.adjust!(:allowance => -100) # less money for candy and concerts

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
dm-adjust-1.2.0 README.rdoc
dm-adjust-1.2.0.rc2 README.rdoc
dm-adjust-1.2.0.rc1 README.rdoc
dm-adjust-1.1.0 README.rdoc
dm-adjust-1.1.0.rc3 README.rdoc
dm-adjust-1.1.0.rc2 README.rdoc
dm-adjust-1.1.0.rc1 README.rdoc
dm-adjust-1.0.2 README.rdoc
dm-adjust-1.0.1 README.rdoc
dm-adjust-1.0.0 README.rdoc
dm-adjust-1.0.0.rc3 README.rdoc
dm-adjust-1.0.0.rc2 README.rdoc
dm-adjust-1.0.0.rc1 README.rdoc
dm-adjust-0.10.2 README.rdoc
dm-adjust-0.10.1 README.rdoc
dm-adjust-0.10.0 README.rdoc
dm-adjust-0.9.11 README.txt
dm-adjust-0.9.10 README.txt
dm-adjust-0.9.8 README.txt
dm-adjust-0.9.9 README.txt