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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64bb9a1e8d09b2bc1fc429aec4c5ca6d15446e50424db2413ff8f15ff4f20092
4
- data.tar.gz: e9e6606f35c341398475c33193f627f93873e6ec9b2459584979366941f76280
3
+ metadata.gz: '04877ef867d24081dde04954662ee9d790945f815e838e67895e040e88ae6642'
4
+ data.tar.gz: acc173212e41d01c8748748a86500233df06724403da843daed3382974f2b39b
5
5
  SHA512:
6
- metadata.gz: e11b25998d295e4fdd05729feb96ab8eb11b2bda5346e0bac86e5cbad10128541fb541afbe5144ea33ed59d6d884dadc5581ecdd3ff8fe6ce4413f94c6a45e49
7
- data.tar.gz: 448c9742a4e94674c02a95ef32d608a51e30f154b4fd4ca6b3318dfe42aea4e138cda29443805da327cdc424f2779d70d393d419c8ac6afd1d1e980fb6a9a5aa
6
+ metadata.gz: 8b4c26b463501b9a39bcd3c185ca65937e172568498051de276b2e03fddc5e13cd3e64d2214e9767e7afe9b062a308195bfc60add4b794654c138d8026573da2
7
+ data.tar.gz: 3bdcec0f03812335f6b2c222feb2b67a8858ef6de76ffc5d17c699658360dbf7b4f7c2d396b628bbc44e013fe1acb4fbd1d776c9ff3087cf72eb264839f520b6
@@ -1,3 +1,3 @@
1
1
  class MonitorMe
2
- VERSION = '0.1.5.8'
2
+ VERSION = '0.1.6'
3
3
  end
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
- puts record.errors.full_messages.red
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monitor_me
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5.8
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Charette