magic-admin 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/magic-admin/config.rb +5 -1
- data/lib/magic-admin/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 638cfcae85becbb634195d4662fcae184398d731d31c7a3aef2567375b3e4167
|
4
|
+
data.tar.gz: afa110a04f413841b9b6ba42a1e279e6277a7e51be1060cb64fd6fd43b48e1a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4c8fa130b49e13be60fbecfecd824922a64636add229bd165566d01d9820bf99937cf3b16277964516d9c157824aebb09ad2b883e4e91ddf540d47dc5cbe4f2
|
7
|
+
data.tar.gz: 7478a88f76da822adc86b396508ebac1fccb703a61eff498d14427026e7587b2c9937c2eb387d99d56f141bf1c6e5a074725b2782580fa83f3539fdc4aaaa925
|
data/CHANGELOG.md
CHANGED
data/lib/magic-admin/config.rb
CHANGED
@@ -37,7 +37,11 @@ module MagicAdmin
|
|
37
37
|
# Returns:
|
38
38
|
# installation machine user_name
|
39
39
|
def self.user_name
|
40
|
-
Etc.
|
40
|
+
login = Etc.getlogin
|
41
|
+
|
42
|
+
return "None" if login.nil?
|
43
|
+
|
44
|
+
Etc.getpwnam(login).gecos.split(/,/).first
|
41
45
|
end
|
42
46
|
|
43
47
|
# Description:
|
data/lib/magic-admin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: magic-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Magic Labs Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eth
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
|
-
rubygems_version: 3.1.
|
156
|
+
rubygems_version: 3.1.4
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: Ruby bindings for the Magic Admin API
|