relaxo 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaxo.rb +5 -3
- data/lib/relaxo/version.rb +1 -1
- metadata +2 -3
- data/lib/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5441aa4f770837518f018fbf5586fde1c29872a5ed8480016bce964ba963fb4
|
4
|
+
data.tar.gz: f8d1e85171c590220dfbddfe662752a53d9f486899d10a66fd8744ead14b269a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cce64c22893a59137f0df82e67957e950ea767c7053bdcf3f257cc07606d60b76de3d765fa74635fbd4e3c86e52776ff81caf4f740146a9cbbbe2989260df7e6
|
7
|
+
data.tar.gz: 63dd7cb4e3e827089df116c16f33ed097130b045a48534936464fef6a0a53bf0dc1fb8f0bb8def5755b619d1639b7548fbda2b3835adcb6bf5765f8faf04fe3d
|
data/lib/relaxo.rb
CHANGED
@@ -41,11 +41,13 @@ module Relaxo
|
|
41
41
|
|
42
42
|
if config = database.config
|
43
43
|
unless config['user.name']
|
44
|
-
login = Etc.
|
44
|
+
login = Etc.getpwuid
|
45
45
|
hostname = Socket.gethostname
|
46
46
|
|
47
|
-
|
48
|
-
|
47
|
+
if login
|
48
|
+
config['user.name'] = login.name
|
49
|
+
config['user.email'] = "#{login.name}@#{hostname}"
|
50
|
+
end
|
49
51
|
end
|
50
52
|
end
|
51
53
|
|
data/lib/relaxo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaxo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: console
|
@@ -142,7 +142,6 @@ executables: []
|
|
142
142
|
extensions: []
|
143
143
|
extra_rdoc_files: []
|
144
144
|
files:
|
145
|
-
- lib/.DS_Store
|
146
145
|
- lib/relaxo.rb
|
147
146
|
- lib/relaxo/changeset.rb
|
148
147
|
- lib/relaxo/database.rb
|
data/lib/.DS_Store
DELETED
Binary file
|