activeupdate 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/activeupdate.rb +2 -2
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 664c376d3b8eb47fa19439eaa1cdc7e4cf013b69
|
4
|
+
data.tar.gz: 67ca186986966f8901550a47b483c6c98fa85125
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea2715913a11547c73113cf881b0a49033d4ea3f65600a7ace6bef48f6fb033a5ab8dfc56e1fbc2016a66bfb649a8dae799544040f9f89e5959876bbe990781a
|
7
|
+
data.tar.gz: a37e9851d29caadf781f43cce91e1cc457becc3b8fd37801be6125d798f88badd80f62ca14f8ff5e935a4a9492d883095001a0a0bfc3d7bf886f36fc63087d77
|
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 ids [Array]
|
9
|
-
# @param attributes [Array]
|
8
|
+
# @param ids [Array] an array of ids
|
9
|
+
# @param attributes [Array] an array of attribute hashes
|
10
10
|
# @return [Object] the object.
|
11
11
|
def update!(ids, attributes)
|
12
12
|
update_manager = Arel::UpdateManager.new
|
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.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew H. Carpenter
|
@@ -40,6 +40,5 @@ rubyforge_project:
|
|
40
40
|
rubygems_version: 2.5.1
|
41
41
|
signing_key:
|
42
42
|
specification_version: 4
|
43
|
-
summary: activerecord extension to facilitate updating multiple records
|
44
|
-
case statements)
|
43
|
+
summary: activerecord extension to facilitate updating multiple records
|
45
44
|
test_files: []
|