fanforce-exceptions 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fanforce/errors/_base.rb +1 -0
- data/lib/fanforce/exceptions/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: 5002acb04ff7794fc099b9023d3c763c7d0b5faf
|
4
|
+
data.tar.gz: 1c5a6cc579b0e3272d884ff10d09ed46f39f69ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db1e47879cd48a1932dea1be9f6506c9f0b4c552fbf422581f111e2c42fcf8156e07f0acb7c5fd8d9443d0c69029746a57840cc0c56957329c19aedf34979e46
|
7
|
+
data.tar.gz: 0c28c563efb725332c8ae59d059e14f0d4177bbc05e41af144e12774579d2f94de331ae72850438b496ebcf72568f9ae5f628dcc71dc413842e2b6aa4fcb0168
|
@@ -29,6 +29,7 @@ class Fanforce::Error < StandardError
|
|
29
29
|
error[:code] = is_blank?(raw_error[:code]) ? default_error_code : raw_error[:code].to_s
|
30
30
|
error[:field] = raw_error[:field].to_s if is_present?(raw_error[:field])
|
31
31
|
error[:fields] = raw_error[:fields].map {|f| f.to_s } if is_present?(raw_error[:fields])
|
32
|
+
error[:value] = raw_error[:value].to_s if is_present?(raw_error[:value])
|
32
33
|
error
|
33
34
|
end
|
34
35
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fanforce-exceptions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Clark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fanforce
|