look_out 0.1.23 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.md +5 -0
- data/lib/look_out/rspec/look_out_formatter.rb +11 -2
- data/lib/look_out/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b0b5672716c13b8079a5a342c85e9980ba151edf8a6352034d96d200740b5a7
|
4
|
+
data.tar.gz: fb8424c9077a0ceae45371a03c233ac63ad98754a668640960478e0cda5614cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c86a5edaefcd685ea2b842352f9a9d2c5c62915ba0f9547f1f85a81722d3c7bf64454dc1698eeac4fb0dbc13fc0171214197aebfc1c5ac4c68cf7a64429a2ea
|
7
|
+
data.tar.gz: 35cfb0c50773b0f9908654b3761ea41d1f12dedeb613018121a399a9013e5f8923145cdaf6e416780e5e33e6004599a6c1e71aa33f1015d5668ef85f17183638
|
data/History.md
CHANGED
@@ -22,7 +22,7 @@ module LookOut
|
|
22
22
|
api_key: LookOut.config.api_key,
|
23
23
|
data: output_hash,
|
24
24
|
cast: {
|
25
|
-
user:
|
25
|
+
user: user,
|
26
26
|
sha: sha,
|
27
27
|
env: env,
|
28
28
|
integrated: integrated
|
@@ -46,7 +46,7 @@ module LookOut
|
|
46
46
|
data: data.to_json,
|
47
47
|
sail: {
|
48
48
|
uid: uid,
|
49
|
-
user:
|
49
|
+
user: user,
|
50
50
|
sha: sha,
|
51
51
|
env: env,
|
52
52
|
integrated: integrated
|
@@ -92,6 +92,15 @@ module LookOut
|
|
92
92
|
false
|
93
93
|
end
|
94
94
|
end
|
95
|
+
|
96
|
+
def user
|
97
|
+
if LookOut.config.user && !LookOut.config.user.empty?
|
98
|
+
LookOut.config.user
|
99
|
+
else
|
100
|
+
ENV['LOOK_OUT_USER'] || `git config user.name`.chomp
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
95
104
|
def env
|
96
105
|
if ENV['JENKINS'] || ENV['CI']
|
97
106
|
:integration
|
data/lib/look_out/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: look_out
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Hood
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|