dh-proteus 0.2.7 → 0.2.8

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: 84b2b69ce04378ef96f36162ba523acd0926398dd959b8e4d13ecf888803f06c
4
- data.tar.gz: df48273ded3eab015226a485753753ce363e31826b23a63cd17e982cf0717163
3
+ metadata.gz: dfb402228b57b8c5a7c59744b70652d523b2181436f6a58ac194d425ea8b4090
4
+ data.tar.gz: eb9a26f321db8b69899602af91db1d0912e5f29a9434ac4f772b3fead4dfea91
5
5
  SHA512:
6
- metadata.gz: f4f832d9e2c1578e758c961faad4da64dc0fc1c1fba84fa3f299f6984d6be781717b076122390d337dae19081821a868c1249cfa10e2e660757284c15db8f183
7
- data.tar.gz: bdcaaec5de032a8eba1e112ad6b42240a685dcdd39cb96856ed8ad2114c5cd40729c2ab9bc3fb9e779e32d37141ee7c8ede68cb408520e5cd80b5d2e860c1577
6
+ metadata.gz: 9b597499fccf25bf0857c55e8ab204d0dfcf78855e83ed9a2989dfd33ebb5768033816ce0aaee96a8a4cf02b470eda8fc8f219e1bbefe3cc8bd45c6c04360e0c
7
+ data.tar.gz: bb0035be1671fcfc50d2a1045aa5fef0673852e10ee3ebf3dc953b05d1afdaa3f80e81b8db3ff9b7a7df2dd7aa98385671f56efb3aa5973a7d5e0b6e83996f5f
@@ -33,7 +33,7 @@ module Proteus
33
33
  end
34
34
 
35
35
  def current_user
36
- Etc.getpwnam(Etc.getlogin).gecos
36
+ ENV['CURRENT_USER_NAME'] ? ENV['CURRENT_USER_NAME'] : Etc.getpwnam(Etc.getlogin).gecos
37
37
  end
38
38
 
39
39
  def slack_webhook
@@ -1,5 +1,5 @@
1
1
  module Proteus
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
4
4
 
5
5
  if $0 == __FILE__
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dh-proteus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Albrecht
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-06 00:00:00.000000000 Z
11
+ date: 2020-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler