monitor_me 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/monitor_me/version.rb +1 -1
- data/lib/monitor_me.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: 3eb6fa6bcda802aec02ee57e951a7e9762e091742f0805dcb9844c0821f1455e
|
4
|
+
data.tar.gz: 3cb7e64dc863368c7de7ee0f3b0fb237008b8da8f51f9f73333eda6bb4e7b6af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aef5a5a38f89704a9b77a1b6b6935e323affc74c04645bfa6eea5f34ce4f720ff2f9a2ba4957619c56cb84cb875402cb03f020fb52b07b87f3ebbed882d9de5
|
7
|
+
data.tar.gz: 41b53d13739505b2c1ddfbb36040b8f85cc746fb368f9a7388d3330b9b3f8f9cbf577deb3af279ec03c889ed19e23195887ca927303c9f305225ce3bb1cb9dd1
|
data/lib/monitor_me/version.rb
CHANGED
data/lib/monitor_me.rb
CHANGED
@@ -2,7 +2,7 @@ require "monitor_me/version"
|
|
2
2
|
|
3
3
|
class MonitorMe
|
4
4
|
|
5
|
-
def log_error(record)
|
5
|
+
def self.log_error(record)
|
6
6
|
if MONITOR_APIKEY.blank?
|
7
7
|
print "Oops. Cannot send response without apikey. Please provide an apikey in this format in config/environments/*.rb:"
|
8
8
|
print "MONITOR_APIKEY = 'apikey' # note it is strongly recommended to use ENV variables in non-development environments!"
|