advantage_quickbase 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/quickbase.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0df7e2a010f0a8bb6476b1bd06e88942218a5e16
4
- data.tar.gz: 108a7787c962929797df32c849b7d13c33e81c9b
3
+ metadata.gz: 61a3d33b3261bb7f5c36e64c4a7dc3dcaf571183
4
+ data.tar.gz: 6b22685398d9a39a46310ecfb6c3a13dc32860e8
5
5
  SHA512:
6
- metadata.gz: d77f98234d3636499596cb5a9201805d9b4432cc6a5399f73096cdb34f0d1a056ff9c970ec4bed857d49f16f5f697f19f84c5f38e97a4cbf7e935f1e0a1a851c
7
- data.tar.gz: fd9527da27b3fa89c7f0268a9d500930e12a71dbe1a8ec36943387618a2e27bdbac1c470453efc2eaceb58f9299c3f1e0552191ac3f45fb102a37cee7a56ad30
6
+ metadata.gz: 24ed9ea5778d8718a06a881cf65db321b333e3db3cf7d8c194a966a8d1af3a8414630726ef461975d5343db9f8fbb2d5de009e7d730c7cc72dd576feedf6ae58
7
+ data.tar.gz: 1df7f2d1cf3b80674a6d3086dc70f9dfb47efe6a02bed02bfec11ee883a875a91d61f91393edb72b4c9e49c540277c3a442db405e6e4977ff8b76108ca32b782
data/lib/quickbase.rb CHANGED
@@ -335,7 +335,7 @@ module AdvantageQuickbase
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
337
  if value.is_a?( Hash ) && value.length == 2 && value[:name] && value[:file]
338
- file = !value[:bypass_encoding] ? encode_file( value[:file] ) || value[:file]
338
+ file = !value[:bypass_encoding] ? encode_file( value[:file] ) : value[:file]
339
339
 
340
340
  "<field fid='#{field_id}' filename='#{value[:name]}'>#{file}</field>"
341
341
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: advantage_quickbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Roux