monitor_me 0.1.5.8 → 0.1.6
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 +4 -2
- 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: '04877ef867d24081dde04954662ee9d790945f815e838e67895e040e88ae6642'
|
4
|
+
data.tar.gz: acc173212e41d01c8748748a86500233df06724403da843daed3382974f2b39b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b4c26b463501b9a39bcd3c185ca65937e172568498051de276b2e03fddc5e13cd3e64d2214e9767e7afe9b062a308195bfc60add4b794654c138d8026573da2
|
7
|
+
data.tar.gz: 3bdcec0f03812335f6b2c222feb2b67a8858ef6de76ffc5d17c699658360dbf7b4f7c2d396b628bbc44e013fe1acb4fbd1d776c9ff3087cf72eb264839f520b6
|
data/lib/monitor_me/version.rb
CHANGED
data/lib/monitor_me.rb
CHANGED
@@ -9,8 +9,10 @@ class MonitorMe
|
|
9
9
|
puts "Please provide an apikey in this format in config/environments/*.rb:"
|
10
10
|
puts "\nMONITOR_APIKEY = 'apikey' # note it is strongly recommended to use ENV variables in non-development environments!"
|
11
11
|
else
|
12
|
-
puts "LOGGIN ERROR FOR #{record.class.name} RECORD\n"
|
13
|
-
|
12
|
+
puts "LOGGIN ERROR FOR #{record.class.name} RECORD\n".yellow
|
13
|
+
record.errors.full_messages.each do |error|
|
14
|
+
puts error.red
|
15
|
+
end
|
14
16
|
puts record.to_yaml
|
15
17
|
end
|
16
18
|
end
|