corn_starch 1.9.37 → 1.9.38
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30b0c0303e8611b841f6b72cf15b92ab49ff3c3d
|
4
|
+
data.tar.gz: 8afd4aabc40c0e943699fdb5a8eaedadd7780918
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8eae4ef98fd123a24dfd9497e94fb8b090e020ba1db306cb7edd4f6744fd19ca2eeaea48cefdaf7368694ef7a3952be293c8c6b4ad2ca182edcf374e6ef117e9
|
7
|
+
data.tar.gz: 5e99da0d4364ae272e122ce4787a679107dbf39a8ad007782758f8bcecf3fd9e5b13b277708f91970192f31831a4f04f7669da73a1d88142cf03757c4811a9dd
|
@@ -250,8 +250,8 @@ module CornStarch
|
|
250
250
|
when :logout then notify 'gen_msg.logout'
|
251
251
|
|
252
252
|
# Create / Update Resources
|
253
|
-
when :create then notify_res 'gen_msg.create', result_or_name, model: model, name: ename, errors: errors
|
254
|
-
when :update then notify_res 'gen_msg.update', result_or_name, model: model, name: ename, errors: errors
|
253
|
+
when :create then notify_res 'gen_msg.create', result_or_name, { model: model, name: ename, errors: errors }, { model: model }
|
254
|
+
when :update then notify_res 'gen_msg.update', result_or_name, { model: model, name: ename, errors: errors }, { model: model }
|
255
255
|
|
256
256
|
# Destroy Resources
|
257
257
|
when :destroy then notify 'gen_msg.destroy', { model: model, name: result_or_name }, { model: model }
|
data/lib/corn_starch/version.rb
CHANGED