effective_qb_online 0.3.4 → 0.3.6

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
  SHA256:
3
- metadata.gz: 9eb2ada8f2ad67f02b18901cfe652074df904b4c926473c76c4a093d31e19829
4
- data.tar.gz: 5322b7ca7925a3b798cc72492403b625405e16e0d5a5f4d0be1651baa7cab25e
3
+ metadata.gz: af4c52461f0378d8b68ce63a75523a729b94ff217279a2e5c3f4f38f842bc470
4
+ data.tar.gz: 9188a00558f0c1eb254f91c7a95e69f9aacdff13d61617cd7e8eb8767f679b0f
5
5
  SHA512:
6
- metadata.gz: fa1d35045bea30a175ac2cc11fba7a495d80366bd504440e95fe2367129bfbac1e2e9f94625aad212eeed4b9b200c6938166291f50cabd78db17e76529b5bf47
7
- data.tar.gz: 057e30dbb66adc0e1a0fac373c4c2ce67b43d21b38856b2192d0ae09b9beb2b63e6e9bbcce1803f10fba9729abaa0199dd239729b01429095e005b280081cb43
6
+ metadata.gz: 1dfb6a10786272862f188f6b15d5dc864cb3d5e7b2582818b6629f0d9d86aa416046cbb4cd07b4bc526c4e38aae4641adede2d01289d7dca21290da551ff17e5
7
+ data.tar.gz: bd9bedd6b1dfb1c10de29e37cc6ce122eb6b2d499de34def2c0796eac6d01cef63c71c4082cb3b9616b1df626fdac1169186cf82ef1eb30e3a245232baae6c95
@@ -221,7 +221,7 @@ module Effective
221
221
  return nil unless value.present?
222
222
  value = value.gsub(':', '')
223
223
  value = value.gsub("'", "\\'") if sql
224
- value
224
+ value.strip
225
225
  end
226
226
 
227
227
  end
@@ -74,7 +74,7 @@ module Effective
74
74
  assign_attributes(result: 'completed successfully', sales_receipt_id: sales_receipt.id)
75
75
  complete!
76
76
  rescue => e
77
- result = [e.message, *("(intuit_tid: #{e.intuit_tid})" if e.try(:intuit_tid).present?), e.backtrace.first(5).join("\n\n")].join(' ')
77
+ result = [e.message, *("(intuit_tid: #{e.intuit_tid})" if e.try(:intuit_tid).present?), e.backtrace.first(15).join("\n\n")].join(' ')
78
78
  assign_attributes(result: result)
79
79
  error!
80
80
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveQbOnline
2
- VERSION = '0.3.4'.freeze
2
+ VERSION = '0.3.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_qb_online
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect