monitor_me 0.1.0 → 0.1.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: 21d22d02a97b1997bcda172b40212e0928ff4bf2c2d02f2b92257fa6f0024c70
4
- data.tar.gz: a2b0300e1de5be899c0a95dde87347b6bc625127dca27fb0e9912ddf1a79e058
3
+ metadata.gz: 3b37893b505f1083e76f1609d3e50289ebbae8c1400c69737990ba85f70d9df9
4
+ data.tar.gz: 312980926d794d7b64d4fce50550c7cf9083648dd5f5d30bd03c579f89e09c05
5
5
  SHA512:
6
- metadata.gz: 6bbe110f0a0719cc0754a610b12d302279b5dd22437a2d580e0f8dbd1f8262e92e36f2fe34793553531ac45f75d5f21ec788c20d426dbf93537ac1e4d3999373
7
- data.tar.gz: c458af612c720cda6f1f4f060b1348bf43c600346979bf4b26f384ba0c5426b7b442a6ba960e10f571c948e40cc7cdb47723b1d694b455ccbe963303db17cd79
6
+ metadata.gz: 423bded64be59faad6bc5ef59fe1eb1b171bbd73765e4c5698de9f08a5d6173d3a30d53c2332f9b35f2001fd789810fcd3b57f179a79319c4192b88d6ceca336
7
+ data.tar.gz: 2baf340c017cdc9b43262a8143c316ef745b8f1e9fc1d7a762cc364c386f0d42fcce12298855364226104bd06aa6f04800ce202edf747816b46f5756a187400b
@@ -1,3 +1,3 @@
1
1
  class MonitorMe
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/lib/monitor_me.rb CHANGED
@@ -6,12 +6,12 @@ class MonitorMe
6
6
  @apikey = apikey
7
7
  end
8
8
 
9
- def print_api_key
10
- print "APIKEY: #{apikey}"
11
- end
12
-
13
9
  def log_error(record)
14
10
  print "LOGGIN ERROR FOR #{record.class.name} RECORD"
15
11
  print record.errors.full_messages
16
12
  end
13
+
14
+ def print_api_key_global
15
+ print "#{MONITOR_APIKEY}" unless MONITOR_APIKEY.blank?
16
+ end
17
17
  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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Charette