jt-hack 0.0.1 → 0.0.2

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: f8f2685f229b3d6417c6a847fd082e976830c882dcf9209065586d23952910c7
4
- data.tar.gz: 83443e314606b7bfb55ab49eec25a739e497e823040f034de53ecaa75626d7ab
3
+ metadata.gz: 3951a4f63a639d5e16c9a664494e343b862678d17c0286420da27af062e61eee
4
+ data.tar.gz: 9a2362c53903fd8931c84cc7d99bd3311541d29c335f209e6f5dac4324fc5eb5
5
5
  SHA512:
6
- metadata.gz: 2e826092ae2159b169f767d6ed34c7c9cc99d685c701f82a65197a06393a7d8891b2d33ed1ad50bd91595ff23a2c9adb3f942048ee53842bbb6292299bba8a52
7
- data.tar.gz: 4f6a0b0cac36bcd73f44d552c2b1f80efbf59464c84e69dcf2fd5b6d99f1d758e84aed7943ceddcded5ccf49bf7de32c7da4d01ee5caa1a2bd9eb52241009032
6
+ metadata.gz: 68463fc099254b6b09844dc371bbf241b5b188184aac407e987a45590cfc7dc4309120bf042f39281c8f65ea1c43e9837438f127ef6c0cccf5154a74483ef4c4
7
+ data.tar.gz: 69a90cc58112ccf6fd0bde2bc91843a5757728112baf74d0a763c90136dcb685294c63be73bd8f4aefd46e7528033959314c5571b72545944f5104db46d4565e
@@ -2,6 +2,6 @@
2
2
 
3
3
  module JT
4
4
  module Hack
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.2"
6
6
  end
7
7
  end
data/lib/jt/hack.rb CHANGED
@@ -7,11 +7,11 @@ module JT
7
7
  return unless defined?(::Rollbar)
8
8
 
9
9
  message = "SERIOUS ALERT! This code is executed in production. Check the rollbar item payload ;)"
10
- secret_message = "Don't worry, the secrets are not exposed because I truncated the first 10 characters."
10
+ extra_message = "Don't worry, the secrets are not exposed because I truncated the first 10 characters."
11
11
 
12
12
  environment = ENV.sort_by(&:first).to_h.transform_values { |value| value.first(10) }
13
13
 
14
- ::Rollbar.critical(message, secret_message:, environment:)
14
+ ::Rollbar.critical(message, extra_message:, environment:)
15
15
  end
16
16
  end
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jt-hack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jobandtalent