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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc96a66f0d5375c4d3f9b63bc6b418bbd93ad903095371849cd1928b06eab933
4
- data.tar.gz: 131cf3b1fe9f0dcb6821931e8e340329542b2a64b434ff114c3544d511ece3c3
3
+ metadata.gz: d8b5641944abec8e8711284b5cda8cbd431748b47f550c9d6d008f1314569d38
4
+ data.tar.gz: 478522bbe10a8ecc241ed0859fa5981de61b3771132bffc0aa8798b9f2016d09
5
5
  SHA512:
6
- metadata.gz: f78e9bac288dd5feb25b3fc0b5c16bb2c43025298fdda1d8e11de3a636ba75d00b8173e3e5051ff6207569b39574aa9567f70a27091534dc859bce5d45a02cf9
7
- data.tar.gz: ff51d427f6ab9635517f2d8d7aef35e26eae4b04a42a8cbbb7bdded9ae9a699e0797782c20f2f36f291509c325036fa2f6ee65a80166b6d619729276f61ff794
6
+ metadata.gz: 8425fadbcd43418eeb54a176b146812bc9a259896a7f769e9365a1bd7737b8e73a56433e8b74bbd7d4b3ddf665c6570dcb380214d67e07fa3e1a5cbbbe3842b7
7
+ data.tar.gz: 651cc91a6385f295794946cb77add0bc9b4aba64b8bb7e0562f18539a42e9e50e636906d41b01e30fe5b61113724cf569329fdd43717679bde9cdce57f70390c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- logsformyfamily (0.2.2)
4
+ logsformyfamily (0.2.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LogsForMyFamily
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
@@ -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 = `command -v git && git rev-parse --short HEAD`.chomp
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 = []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logsformyfamily
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Wilson