ext_sprockets 0.1.1 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ext_sprockets/version.rb +1 -1
- data/node_modules/chartkick/chartkick.js +7 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18257eaf2f7495d779ba5e531e3c1181ae2ae10c
|
4
|
+
data.tar.gz: 65864d7477ae561f75505dee228036c8ddaf0c62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deeaecc6ac2555fb2507d64e291c26173ada200c9752ef719865832d880add6b24d99624695abbe85571f541633c00761af1b5c27b7b605abb5557cbae7d9e66
|
7
|
+
data.tar.gz: 54dbd450b89c378fcf4d9606e5c8fbfc612ff569274319dc15fb6c6fac78dfabe8748e5c1adb75e45486c48671627037c3626f71d2e9cb488899e8876e6cf8f8
|
data/Gemfile.lock
CHANGED
@@ -190,7 +190,13 @@
|
|
190
190
|
|
191
191
|
function getJSON(element, url, success) {
|
192
192
|
ajaxCall(url, success, function (jqXHR, textStatus, errorThrown) {
|
193
|
-
|
193
|
+
// PATCH_BEGIN
|
194
|
+
var message = jqXHR.getResponseHeader("X-Status-Reason");
|
195
|
+
if (jqXHR.status === 413) {
|
196
|
+
message = message || "Request Entity Too Large";
|
197
|
+
}
|
198
|
+
message = message || ((typeof errorThrown === "string") ? errorThrown : errorThrown.message);
|
199
|
+
// PATCH_END
|
194
200
|
chartError(element, message);
|
195
201
|
});
|
196
202
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ext_sprockets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrice Lebel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets-rails
|
@@ -568,7 +568,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
568
568
|
version: '0'
|
569
569
|
requirements: []
|
570
570
|
rubyforge_project:
|
571
|
-
rubygems_version: 2.6.
|
571
|
+
rubygems_version: 2.6.11
|
572
572
|
signing_key:
|
573
573
|
specification_version: 4
|
574
574
|
summary: ExtSprockets
|