logsformyfamily 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/logsformyfamily/version.rb +1 -1
- data/lib/logsformyfamily.rb +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8b5641944abec8e8711284b5cda8cbd431748b47f550c9d6d008f1314569d38
|
4
|
+
data.tar.gz: 478522bbe10a8ecc241ed0859fa5981de61b3771132bffc0aa8798b9f2016d09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8425fadbcd43418eeb54a176b146812bc9a259896a7f769e9365a1bd7737b8e73a56433e8b74bbd7d4b3ddf665c6570dcb380214d67e07fa3e1a5cbbbe3842b7
|
7
|
+
data.tar.gz: 651cc91a6385f295794946cb77add0bc9b4aba64b8bb7e0562f18539a42e9e50e636906d41b01e30fe5b61113724cf569329fdd43717679bde9cdce57f70390c
|
data/Gemfile.lock
CHANGED
data/lib/logsformyfamily.rb
CHANGED
@@ -34,7 +34,12 @@ module LogsForMyFamily
|
|
34
34
|
attr_accessor :version, :hostname, :app_name, :backends, :request_id
|
35
35
|
|
36
36
|
def initialize
|
37
|
-
@version =
|
37
|
+
@version =
|
38
|
+
begin
|
39
|
+
`git rev-parse --short HEAD`.chomp
|
40
|
+
rescue Errno::ENOENT
|
41
|
+
''
|
42
|
+
end
|
38
43
|
@hostname = `hostname`.strip
|
39
44
|
@app_name = ENV['NEWRELIC_APP']
|
40
45
|
@backends = []
|