pps_commons 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/lib/pps_commons/delegation_agent.rb +0 -18
- data/lib/pps_commons/thycotic_comms.rb +1 -2
- data/lib/pps_commons/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: 07ca7454ee3eff8b88fd6b5a67b597266cf82747
|
4
|
+
data.tar.gz: 3fc38ebff0d36611fd2e23c413a6c96844e1e60d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e939763cddf4a468169044430563e54bd971cca417fda63e26a89eb55d52b612db26f212d829918acab30fedd89308d88bf26effec5c1d3678d559c843876239
|
7
|
+
data.tar.gz: db8feab551602a99dbc0fbdf529b74cdef02b4a4662a9451a7959653eb009df6592acd2a5d1dda71f436314738b41449e7178a09b88789ad213c13b1861a5ee3
|
data/.gitignore
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'dotenv'
|
2
1
|
require 'pps_commons'
|
3
2
|
|
4
3
|
module WGU
|
@@ -80,23 +79,6 @@ module WGU
|
|
80
79
|
[opperation, callback, errorback]
|
81
80
|
end
|
82
81
|
|
83
|
-
def logger
|
84
|
-
if @logger.nil?
|
85
|
-
logs = ::File.expand_path(::File.join(__FILE__, '../../', 'logs/group.log'))
|
86
|
-
unless ::File.exist?(logs)
|
87
|
-
log_dir = ::File.expand_path(::File.join(__FILE__, '../..', 'logs'))
|
88
|
-
unless ::Dir.exist?(log_dir)
|
89
|
-
::Dir.mkdir_p(log_dir)
|
90
|
-
end
|
91
|
-
::File.new(logs, 'a+')
|
92
|
-
end
|
93
|
-
|
94
|
-
Logger.new(logs)
|
95
|
-
else
|
96
|
-
@logger
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
82
|
# Send a message to the appropriate receiver.
|
101
83
|
def send_response_to(recipient, results = @results)
|
102
84
|
msg = results.kind_of?(WGU::Sentence) ? results.log_entry : "#{results.to_s.strip}\n"
|
data/lib/pps_commons/version.rb
CHANGED