activeupdate 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/activeupdate.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6be1c8a896db720ca9beb661319327cfd0cc99b6
4
- data.tar.gz: f05533ea6f94fc0fda92b06ca6feae84f2ee06ee
3
+ metadata.gz: 198d0eadfaae9ee593e8a53ed56a285357f1e8a0
4
+ data.tar.gz: 8c72576fabd6abd5748b09b6b8ba0c20a7e187e1
5
5
  SHA512:
6
- metadata.gz: 7b7427b1ebbb3dad9161cce9da815b87a5a1a535f420651ae2c09b8ea689d55ab94d2683f74d7a1ea25f677730a95ad1c285ee3ca67d68ad42b7c1f5636c7a43
7
- data.tar.gz: 0b450a06665cf9d5c6f6e2796bd3b579a76d9a9297002b4df79b608e10652e3a2b8c5108a0a211a9fd87da97106bbd2e6be731a94c5509c36c4c0744c858b728
6
+ metadata.gz: ea960d0015cd4045e6acda6cdb2804c21fdaa6ffc47686d250ada3c8ab2447041709383eeb4443e3a270056c5847b7c829c4d038bf50a01c6dad44cfe0cdf844
7
+ data.tar.gz: 93bf67c5c3c77b551a4b2e346c989ec4f71c29cafe84bd83e7a127d43e3de76858db18f12557a2f93f7826086aa13468e3d5a4a9029db5cf70c3566c19bb7de9
data/lib/activeupdate.rb CHANGED
@@ -5,8 +5,8 @@ module ActiveRecordExtension
5
5
 
6
6
  # Updates an object (or multiple objects) and saves it to the database. The resulting object is returned whether the object was saved successfully to the database or not.
7
7
  #
8
- # @param resources_hash [Hash], a hash of resources, { '0' => { 'id' => 1, 'attribute' => 'test' }, '1' => { 'id' => 2, 'attribute' => 'cheese' } }
9
- # @return [Object], the object.
8
+ # @param resources_hash [Hash] a hash of resources, { '0' => { 'id' => 1, 'attribute' => 'test' }, '1' => { 'id' => 2, 'attribute' => 'cheese' } }
9
+ # @return [Object] the object.
10
10
  def update!(resources_hash = nil)
11
11
  return self unless resources_hash
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeupdate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew H. Carpenter