rest-ftp-daemon 1.0.10 → 1.0.11
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/rest-ftp-daemon/api/root.rb +3 -3
- data/lib/rest-ftp-daemon/location.rb +3 -1
- data/rest-ftp-daemon.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 121b4b06dcba401cad638e69d0eba965f05f9d49
|
4
|
+
data.tar.gz: 24f6e0ce1493fe230c9ca3cd6e122c09562e5be9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8562f6e33fc64cc6a79ea4f9388d0f30cd3b72c77e5bbf977aa5cff0a05bff11fbaea209eec0b613b688e1abac5a82e11eec4d33856d462123d596ce20e39d69
|
7
|
+
data.tar.gz: 3b934355ad5af30e4070ae1b191a4b47be38ae3cacb2d3463d66960e10219f573e10a21c41e812f8c3e20e790c62e9de2df00fc9e57b570c8c1c57fea9a71d3d
|
data/Gemfile.lock
CHANGED
@@ -66,13 +66,13 @@ module RestFtpDaemon
|
|
66
66
|
|
67
67
|
## EXCEPTION HANDLERS
|
68
68
|
rescue_from Grape::Exceptions::InvalidMessageBody do |exception|
|
69
|
-
exception_error :api_invalid_message_body, 400, exception, "Bad request: message body does not match declared format, check command syntax"
|
69
|
+
exception_error :api_invalid_message_body, 400, exception, "Bad request: message body does not match declared format, check command syntax (#{exception.message})"
|
70
70
|
end
|
71
71
|
rescue_from RestFtpDaemon::SchemeUnsupported do |exception|
|
72
|
-
exception_error :unsupported_scheme, 422, exception, "Bad request: unsupported scheme"
|
72
|
+
exception_error :unsupported_scheme, 422, exception, "Bad request: unsupported scheme (#{exception.message})"
|
73
73
|
end
|
74
74
|
rescue_from RestFtpDaemon::LocationParseError do |exception|
|
75
|
-
exception_error :location_parse_error, 422, exception, "Bad request: location parse error"
|
75
|
+
exception_error :location_parse_error, 422, exception, "Bad request: location parse error (#{exception.message})"
|
76
76
|
end
|
77
77
|
rescue_from :all do |exception|
|
78
78
|
exception_error :api_error, 500, exception
|
data/rest-ftp-daemon.gemspec
CHANGED