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: adae5737266c8beeeb62bf790fe54d5473ffc342
4
- data.tar.gz: fdcc789b9776f892978f8401e2a9318aca360c25
3
+ metadata.gz: e7f44d90ee4ecbdbd80a71d4ce435d7971f82240
4
+ data.tar.gz: 32433fa678e9965cf8752ea1c818592aa64aaf05
5
5
  SHA512:
6
- metadata.gz: 68713bd67de98811b231fd170164c7272e906a58f2d614ef33c916f662efa536c8a17f6d8ff5d8f9711dd9ff804e6fab4bbd806e96614d400578755222521475
7
- data.tar.gz: 07393722b3bec084bacf9dab5beaedfbc3df3940dc21e0a4af84e2ba994e620c9570f5e47af947e3066e76f83a294c93ee48b6f7af2703496432ad1441d6f666
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
 
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.9.50'
2
+ VERSION = '1.9.51'
3
3
  end
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.50
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-23 00:00:00.000000000 Z
11
+ date: 2016-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler