nps_sdk 1.1.17 → 1.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nps/soap_client.rb +2 -2
- data/lib/nps/version.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: 7e7b7699f7089fcb558f1805ab1812b0d77b4cd2
|
4
|
+
data.tar.gz: f1df047a3c501710804f4d2e3208a0fa276d2d6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ae8311a75f4f60ae666aa06e46bf8994c2711bb838c7dbca2177899022bb7f9cbabc5a0f8b62237bc6d11273b9d475c51158a0367f53702f4f0fef0d02461e9
|
7
|
+
data.tar.gz: 1c7ef409c42a3d18ea89240ea1c8f3e7234a47f9bb223d57579bbac012e5a31f4bd19bd2af3a5474cb86331b62de07972caf5de2dee4eb979b8ee8e5138b1dd2
|
data/lib/nps/soap_client.rb
CHANGED
@@ -7,10 +7,10 @@ module Nps
|
|
7
7
|
conf.logger = Logger.new(STDOUT)
|
8
8
|
end
|
9
9
|
|
10
|
-
if conf.log_level != :
|
10
|
+
if conf.log_level != :DEBUG
|
11
11
|
conf.logger.formatter = NpsFormatter.new
|
12
12
|
end
|
13
|
-
if conf.log_level == :
|
13
|
+
if conf.log_level == :DEBUG and conf.environment == Nps::Environments::PRODUCTION_ENV
|
14
14
|
raise LoggerException
|
15
15
|
end
|
16
16
|
|
data/lib/nps/version.rb
CHANGED