corn_starch 1.9.50 → 1.9.51
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: e7f44d90ee4ecbdbd80a71d4ce435d7971f82240
|
4
|
+
data.tar.gz: 32433fa678e9965cf8752ea1c818592aa64aaf05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e251b23f96645aa2ee95ef67444fae267fa8dcc11986c99fe974c6111e4b80de07b02b2b401d0ed72c37e41fa4eae936a537c8863c3631a9e2551059040b878a
|
7
|
+
data.tar.gz: 688ddf71828920b066f21f6b0119b73e1332b8b49dd0197ad5a88b6167153145fa7c08b8e18cf921a44b7a8d19e085034e9a23106dbc4f2c3077c4b5b435afb6
|
@@ -246,18 +246,18 @@ module CornStarch
|
|
246
246
|
case action
|
247
247
|
|
248
248
|
# Session Control
|
249
|
-
when :login then notify_res 'gen_msg.login', result_or_name, name: uname
|
249
|
+
when :login then notify_res 'gen_msg.login', result_or_name, name: uname.html_escape
|
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 }, { model: model }
|
254
|
-
when :update then notify_res 'gen_msg.update', result_or_name, { model: model, name: ename, errors: errors }, { model: model }
|
253
|
+
when :create then notify_res 'gen_msg.create', result_or_name, { model: model, name: ename.html_escape, errors: errors }, { model: model }
|
254
|
+
when :update then notify_res 'gen_msg.update', result_or_name, { model: model, name: ename.html_escape, errors: errors }, { model: model }
|
255
255
|
|
256
256
|
# Destroy Resources
|
257
|
-
when :destroy then notify 'gen_msg.destroy', { model: model, name: result_or_name }, { model: model }
|
257
|
+
when :destroy then notify 'gen_msg.destroy', { model: model, name: result_or_name.html_escape }, { model: model }
|
258
258
|
|
259
259
|
# Unknown Action
|
260
|
-
else notify 'gen_msg.unknown_action', action: action
|
260
|
+
else notify 'gen_msg.unknown_action', action: action.html_escape
|
261
261
|
end
|
262
262
|
end
|
263
263
|
|
data/lib/corn_starch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: corn_starch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eresse
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|