quickbooks-ruby 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/quickbooks/util/logging.rb +4 -2
- data/lib/quickbooks/version.rb +1 -1
- data/lib/quickbooks-ruby.rb +2 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 984503e5cdf57dff8779bb3e019329543063f0cc0c782375cdad4afa7b28d55c
|
4
|
+
data.tar.gz: d71a71a34772c21278e1c978142a6987b247c92371ac131ef37c1767c38e4349
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f59fd3a45baec15ee4909be96ce416dfc57e9fdbb3b7f2e496aa1e87610ce17f56da5efffa9e0e49c284aaeaab127e6b693ae18a541a9eaf024abca560820654
|
7
|
+
data.tar.gz: 6e51e37b4a5b451895aa093e5a3470299dc2d1e877e1eeb0335e0c861a70a02e191ef0a7e674da3ddecb3b5aa21b8cd5ec9270b4eabd7991ba265a046c677ca6
|
@@ -1,8 +1,10 @@
|
|
1
1
|
module Quickbooks
|
2
2
|
module Util
|
3
3
|
module Logging
|
4
|
+
attr_writer :log
|
5
|
+
|
4
6
|
def log(msg)
|
5
|
-
::Quickbooks.log(msg)
|
7
|
+
::Quickbooks.log(msg) if log?
|
6
8
|
end
|
7
9
|
|
8
10
|
def log_multiple(messages)
|
@@ -14,7 +16,7 @@ module Quickbooks
|
|
14
16
|
end
|
15
17
|
|
16
18
|
def log?
|
17
|
-
::Quickbooks.log?
|
19
|
+
defined?(@log) ? @log : ::Quickbooks.log?
|
18
20
|
end
|
19
21
|
|
20
22
|
def condense_logs?
|
data/lib/quickbooks/version.rb
CHANGED
data/lib/quickbooks-ruby.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quickbooks-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Caughlan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|