advantage_quickbase 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/quickbase.rb +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: 21a5794063e93f64c57f3d9aca617ee43935f453
|
4
|
+
data.tar.gz: a153e713071fb6b41a60411c418bd67ce4da64d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b86c8526fee3750ec2bed834f9488586afcaa8712a04fc97f0d379042e6b655742002be2833c23c2fb47748b19b3009c821c636e01a73cce9771fbfc34370f52
|
7
|
+
data.tar.gz: 2c80e29e75f607baa871c28c4f38f271e6ce3c60d143c86ab3fded22a84af749e4deed769f8bbb95ecdc15ad8ac374a659194b55edc614e17d5d5ea4296291f3
|
data/lib/quickbase.rb
CHANGED
@@ -334,7 +334,7 @@ module AdvantageQuickbase
|
|
334
334
|
|
335
335
|
new_values = new_values.map do |field_id, value|
|
336
336
|
# Values that are hashes with name and file are encoded seperately
|
337
|
-
if value.is_a?( Hash ) && value.length == 2 && value[:name] && value[:file]
|
337
|
+
if value.is_a?( Hash ) && (value.length == 2 || value.length == 3) && value[:name] && value[:file]
|
338
338
|
file = !value[:bypass_encoding] ? encode_file( value[:file] ) : value[:file]
|
339
339
|
|
340
340
|
"<field fid='#{field_id}' filename='#{value[:name]}'>#{file}</field>"
|