dh-proteus 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/proteus/helpers.rb +9 -1
- data/lib/proteus/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 263b0afd288fa51a29ea54621b191dd8cb86a4337456226694bf8c8047dd2534
|
4
|
+
data.tar.gz: 202ba99d158dabcfb19db4bc583f9a7fe4657697f38f0f0923b240232f50524b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09320cdfeb939b664384449b04496fd649886df20adab89c947b1c89b82cc94b91d2f9afd8c4749de3c9c93202b9aa71bb403e3f0f2e36d7bada77d41fb9c8ff'
|
7
|
+
data.tar.gz: c2c3c0d51070d4db497cf14e1f3a1b00d8df9efc3e555c2f1feba7776e088436b066eca4f650615d02b44102a4a080b457610ba40814153b3aba45dae21b1cd9
|
data/lib/proteus/helpers.rb
CHANGED
@@ -33,7 +33,15 @@ module Proteus
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def current_user
|
36
|
-
ENV['CURRENT_USER_NAME'] ? ENV['CURRENT_USER_NAME'] : Etc.getpwnam(Etc.getlogin).gecos
|
36
|
+
user = ENV['CURRENT_USER_NAME'] ? ENV['CURRENT_USER_NAME'] : Etc.getpwnam(Etc.getlogin).gecos
|
37
|
+
if user.empty?
|
38
|
+
puts "Please set your git username properly:"
|
39
|
+
puts "git config --global user.name \"FIRST_NAME LAST_NAME\""
|
40
|
+
puts "git config --global user.email \"YOUR_NAME@example.com\""
|
41
|
+
exit 1
|
42
|
+
else
|
43
|
+
user
|
44
|
+
end
|
37
45
|
end
|
38
46
|
|
39
47
|
def slack_webhook
|
data/lib/proteus/version.rb
CHANGED
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.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Albrecht
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -108,7 +108,7 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 2.7.0
|
111
|
-
description:
|
111
|
+
description:
|
112
112
|
email:
|
113
113
|
- simon.albrecht@deliveryhero.com
|
114
114
|
executables:
|
@@ -184,7 +184,7 @@ metadata:
|
|
184
184
|
homepage_uri: https://github.com/deliveryhero/proteus
|
185
185
|
source_code_uri: https://github.com/deliveryhero/proteus
|
186
186
|
changelog_uri: https://github.com/deliveryhero/proteus/CHANGELOG
|
187
|
-
post_install_message:
|
187
|
+
post_install_message:
|
188
188
|
rdoc_options: []
|
189
189
|
require_paths:
|
190
190
|
- lib
|
@@ -199,9 +199,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
199
|
- !ruby/object:Gem::Version
|
200
200
|
version: '0'
|
201
201
|
requirements: []
|
202
|
-
rubyforge_project:
|
202
|
+
rubyforge_project:
|
203
203
|
rubygems_version: 2.7.6.2
|
204
|
-
signing_key:
|
204
|
+
signing_key:
|
205
205
|
specification_version: 4
|
206
206
|
summary: Proteus is a Terraform wrapper application.
|
207
207
|
test_files: []
|