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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d982cd866a5d6472b58f1f4894ff86a6e7665ab559cb4af1efe3618433fac7f8
4
- data.tar.gz: 7b2c9c3e5bed94eeb2f766119181c57f0916b74fcfbc5baa8a622d59d12c525a
3
+ metadata.gz: 3b30889d33e63bd80bc2a25516e52efcc91fd289ef093d5e578cdd929dfba1f8
4
+ data.tar.gz: 892aecc84092676efbcefdef8ecfac2f0ff88b0380bec1faa2d2e068f06db3f2
5
5
  SHA512:
6
- metadata.gz: 3df55336b526d2d93a7b83c759f6057f3e34afc845cf02858b2da7dbf48a0690ff31ada6d122d24677dec07621515f887e85ad0b2746d7812eb90625afe80eeb
7
- data.tar.gz: c7f44aabdc3225bd0403f1d9e96c39352c396db6621bf86aafd89ac799e7544980dc05af7f806bc33659c53d3667d723fd28a759cc804fe6877ae45ffdcb27fd
6
+ metadata.gz: dc3efd7cc077e2b86e4a2b73433a5d0fed9128a2e4bf6f2908dcbce13a7f7b59130d59d19fff96eb5e0bc79bd654a20dbc0e07fdfb4517a6444170080076e58b
7
+ data.tar.gz: b35ae893b71598f5ba2d1f771cda7c54ec153d9215fb50590632955a4a59f794555efd3fd96ebd82da423fd866ad84ae8632172cb40e25aab5cfcf8a53e4681a
data/Gemfile CHANGED
@@ -5,4 +5,5 @@ gemspec
5
5
 
6
6
  gem "rake", "~> 12.0"
7
7
  gem "rspec", "~> 3.0"
8
- gem "colorize"
8
+
9
+ gemspec
@@ -1,3 +1,3 @@
1
1
  class MonitorMe
2
- VERSION = '0.1.5.7'
2
+ VERSION = '0.1.6.1'
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
@@ -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
@@ -25,4 +25,6 @@ Gem::Specification.new do |spec|
25
25
  spec.bindir = "exe"
26
26
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
27
  spec.require_paths = ["lib"]
28
+
29
+ spec.add_runtime_dependency "colorize"
28
30
  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.7
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