passworks 2.0.5 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/passworks/asset_resource.rb +1 -0
- data/lib/passworks/faraday/http_exception_middleware.rb +4 -1
- data/lib/passworks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f0480105b8f657cf34ba5a0bff97cd120346d8a
|
|
4
|
+
data.tar.gz: eeeb917929097fe0845dcbe611b1d9e5dcc51dc5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b4afb455a3e6ed3f6c18b8e68c80d22a17c361fbde804eef944101a3b378a89bd464104c745cd238cfecd4bcb1a5da233871a48070892f2f896f19941c1c282
|
|
7
|
+
data.tar.gz: 9e3a857b0f74db7128e96b41179e7921b28a863516793201a8d4a821d48a0f03c54d57fd6a61a8c45056ade11428e7ef84bcbccec960cf971ea6f253a18b67b1
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
This file is a manually maintained list of changes for each release. Feel free to add your
|
|
4
4
|
changes here when sending pull requests. Also send corrections if you spot any mistakes.
|
|
5
5
|
|
|
6
|
+
## v2.0.6 (2015-12-22)
|
|
7
|
+
* Fixed JSON errors when displaying attributes with a single error (non-array-format).
|
|
8
|
+
|
|
9
|
+
## v2.0.5 (2015-12-21)
|
|
10
|
+
* Fixed file upload issue cause by sending the wrong content-type.
|
|
11
|
+
|
|
6
12
|
## v2.0.4 (2015-12-18)
|
|
7
13
|
* Better exception and error handling
|
|
8
14
|
|
|
@@ -64,7 +64,10 @@ module Passworks
|
|
|
64
64
|
if body.nil?
|
|
65
65
|
nil
|
|
66
66
|
elsif body['errors']
|
|
67
|
-
body['errors'].collect{ |k,v|
|
|
67
|
+
body['errors'].collect{ |k,v|
|
|
68
|
+
errors = v.is_a?(String) ? v : v.join(',')
|
|
69
|
+
"#{k}: #{errors}"
|
|
70
|
+
}.join("\n")
|
|
68
71
|
end
|
|
69
72
|
end
|
|
70
73
|
|
data/lib/passworks/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: passworks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Luis Mendes
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-12-
|
|
13
|
+
date: 2015-12-23 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: faraday
|