thin_man 0.19.16 → 0.19.17

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
  SHA256:
3
- metadata.gz: dc8a5a50f48406fc789a1b13c434887a04a694dc0895fe2f21a76da340e11945
4
- data.tar.gz: bada40e7c8fd51b4c10dc7fcd49faf76a8a5db34817f80047cbc0be86855aff7
3
+ metadata.gz: 24f64ee05bbe5f91c8c729626f02df7a185bfa0fd4a72b792ce29026de5241cd
4
+ data.tar.gz: d7fec7bed3a691c5edeaca6c0eea39743b8fd54622526e05e4575e5b86103ea2
5
5
  SHA512:
6
- metadata.gz: 575336ef1f2703ce204c321176b634a975a61d07c9dbc98027315209ba0fa582000b19c575f902d5153e0e11f9c7461ea042375ca6c47fdf23bf0d2f08a4f00a
7
- data.tar.gz: c17c5a45d76f2e26a9759fc851a70d8aae1f75d7e07dc029f6879aa73c0f9fcaf53b920cf5a7929e07e4ae17d96b12c07419960ae8fbd47c204ca4afef71809c
6
+ metadata.gz: 0edda1e10b3df17ba9e63b26358f6c2626e39ee50b5769555544b69b9a4ebbd2e1de21d7433b57c084a1e392c84d895aaafc13220ab6fe00c08bb9edc1d5e93e
7
+ data.tar.gz: 7c307a3a706b2aaec5b7f7b82460fc957d37a9465c2eadbdcd8bdbe74ebac71a09b8f902a2bbaa27a948301d5b6f928c776f788357a2a505daa1c57fa3b6f65b
@@ -319,7 +319,7 @@ var initThinMan = function() {
319
319
  ajaxError: function(jqXHR) {
320
320
  debug_logger.log('thin_man.AjaxSubmission.ajaxError jqXHR:', 1, 'thin-man')
321
321
  debug_logger.log(jqXHR, 1, 'thin-man')
322
- if (jqXHR.status == 409) {
322
+ if ([409,422,424,428].indexOf(jqXHR.status) >= 0) {
323
323
  try {
324
324
  var data = JSON.parse(jqXHR.responseText);
325
325
  debug_logger.log("thin_man.AjaxSubmission.ajaxError responseText is valid JSON, parsing to an object:", 1, 'thin-man')
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.19.16"
2
+ VERSION = "0.19.17"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin_man
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.16
4
+ version: 0.19.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut, Adam Bialek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-10 00:00:00.000000000 Z
11
+ date: 2018-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails