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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 921d65177345f795782633cc0c2bdbe1d7e3bca6
4
- data.tar.gz: 09c8fd0f3ad7e5da58bd37adc840d6eb11c2b0d8
3
+ metadata.gz: 5002acb04ff7794fc099b9023d3c763c7d0b5faf
4
+ data.tar.gz: 1c5a6cc579b0e3272d884ff10d09ed46f39f69ef
5
5
  SHA512:
6
- metadata.gz: 19336888f1b3df56a8e9d82be4ccbc502680908ad712b8143f83880460b89f74dc720046a8f5cf18bb19f6a2c738607533bf1ec6a0e765210e28884a4a3b6177
7
- data.tar.gz: 670406b8f2a739871e777c656b520c14eb2ca1e9ac9b518047889c6ee120b81901b9fe2386012b2d0b7a27466f56bd042ee5f090a9e1539655eb432751572070
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
 
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  module Exceptions
3
- VERSION = '0.6.0'
3
+ VERSION = '0.7.0'
4
4
  end
5
5
  end
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.6.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-22 00:00:00.000000000 Z
11
+ date: 2014-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fanforce