the_help 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/the_help/service.rb +3 -2
- data/lib/the_help/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d34be83924ed7c3d112f20bc436d6554cd60796992556e5564ea5f11bd47ee8f
|
4
|
+
data.tar.gz: dff8be814a80546a339d287dbf40177c812bb1e335576106bf7357e0ef335125
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e054ed53f313c46308d07df088e16a344a8cabd68e01d9a1fccdb960e11bd8a4352081f1eb5e9309d67975d60a9cc311eb91dc310a27d6c269113490527fb270
|
7
|
+
data.tar.gz: edaf7872ad85bc47a14137fc21c9724328d49158fdf41529d324f80ba122f056505ef5290b9dfde4ebbc0b1033494b4df436cf7cf6b1034c306e2087170e132c
|
data/Gemfile.lock
CHANGED
data/lib/the_help/service.rb
CHANGED
@@ -237,7 +237,8 @@ module TheHelp
|
|
237
237
|
end
|
238
238
|
|
239
239
|
def log_service_call
|
240
|
-
logger.info("Service call to #{self.class.name}
|
240
|
+
logger.info("Service call to #{self.class.name}/#{__id__} " \
|
241
|
+
"for #{context.inspect}")
|
241
242
|
end
|
242
243
|
|
243
244
|
def authorized?
|
@@ -246,7 +247,7 @@ module TheHelp
|
|
246
247
|
|
247
248
|
def authorize
|
248
249
|
return if authorized?
|
249
|
-
logger.warn("Unauthorized attempt to access #{self.class.name} " \
|
250
|
+
logger.warn("Unauthorized attempt to access #{self.class.name}/#{__id__} " \
|
250
251
|
"as #{context.inspect}")
|
251
252
|
run_callback(not_authorized, service: self.class, context: context)
|
252
253
|
stop!
|
data/lib/the_help/version.rb
CHANGED