monitor_me 0.1.5.7 → 0.1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -1
- data/lib/monitor_me/version.rb +1 -1
- data/lib/monitor_me.rb +10 -2
- data/monitor_me.gemspec +2 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b30889d33e63bd80bc2a25516e52efcc91fd289ef093d5e578cdd929dfba1f8
|
4
|
+
data.tar.gz: 892aecc84092676efbcefdef8ecfac2f0ff88b0380bec1faa2d2e068f06db3f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc3efd7cc077e2b86e4a2b73433a5d0fed9128a2e4bf6f2908dcbce13a7f7b59130d59d19fff96eb5e0bc79bd654a20dbc0e07fdfb4517a6444170080076e58b
|
7
|
+
data.tar.gz: b35ae893b71598f5ba2d1f771cda7c54ec153d9215fb50590632955a4a59f794555efd3fd96ebd82da423fd866ad84ae8632172cb40e25aab5cfcf8a53e4681a
|
data/Gemfile
CHANGED
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
|
@@ -19,3 +21,9 @@ class MonitorMe
|
|
19
21
|
puts "#{MONITOR_APIKEY}" unless MONITOR_APIKEY.blank?
|
20
22
|
end
|
21
23
|
end
|
24
|
+
|
25
|
+
module Testing
|
26
|
+
def print_without_class_name
|
27
|
+
puts "I was printed yay!".yellow
|
28
|
+
end
|
29
|
+
end
|
data/monitor_me.gemspec
CHANGED
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.
|
4
|
+
version: 0.1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Charette
|
@@ -9,7 +9,21 @@ autorequire:
|
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2022-05-14 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: colorize
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
description:
|
14
28
|
email:
|
15
29
|
- charettesa19@gmail.com
|