corn_starch 1.9.51 → 1.9.52

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: e7f44d90ee4ecbdbd80a71d4ce435d7971f82240
4
- data.tar.gz: 32433fa678e9965cf8752ea1c818592aa64aaf05
3
+ metadata.gz: ec13b05a5e519cf6b55fd9024e10c002ff06e6c3
4
+ data.tar.gz: e914d49aa27d74046aad3f4145e2276b16d4dca7
5
5
  SHA512:
6
- metadata.gz: e251b23f96645aa2ee95ef67444fae267fa8dcc11986c99fe974c6111e4b80de07b02b2b401d0ed72c37e41fa4eae936a537c8863c3631a9e2551059040b878a
7
- data.tar.gz: 688ddf71828920b066f21f6b0119b73e1332b8b49dd0197ad5a88b6167153145fa7c08b8e18cf921a44b7a8d19e085034e9a23106dbc4f2c3077c4b5b435afb6
6
+ metadata.gz: 576f8635a66a382542dcde5345d427406323a23b199a46b02ccdb6f83da1c1c49500cd9b794f19adf083fc4f532f14c747b9879eaac1c717b21fc828f78893d1
7
+ data.tar.gz: 45c6b4e0cc4b4032df7061106c96a1237fec11f793c2b697d85da3a4d3739ead7609b11d49e1903f7de46435d83d0b65530b93ad204a5bc962564ad13cf58e27
@@ -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.html_escape
249
+ when :login then notify_res 'gen_msg.login', result_or_name, name: html_escape(uname)
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.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 }
253
+ when :create then notify_res 'gen_msg.create', result_or_name, { model: model, name: html_escape(ename), errors: errors }, { model: model }
254
+ when :update then notify_res 'gen_msg.update', result_or_name, { model: model, name: html_escape(ename), errors: errors }, { model: model }
255
255
 
256
256
  # Destroy Resources
257
- when :destroy then notify 'gen_msg.destroy', { model: model, name: result_or_name.html_escape }, { model: model }
257
+ when :destroy then notify 'gen_msg.destroy', { model: model, name: html_escape(result_or_name) }, { model: model }
258
258
 
259
259
  # Unknown Action
260
- else notify 'gen_msg.unknown_action', action: action.html_escape
260
+ else notify 'gen_msg.unknown_action', action: html_escape(action)
261
261
  end
262
262
  end
263
263
 
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.9.51'
2
+ VERSION = '1.9.52'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.51
4
+ version: 1.9.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse