lib/diffend/voting/versions/remote.rb in diffend-0.2.17 vs lib/diffend/voting/versions/remote.rb in diffend-0.2.18
- old
+ new
@@ -125,10 +125,10 @@
'name' => uname[:sysname],
'release' => uname[:release],
'version' => uname[:version]
},
'tags' => build_host_tags,
- 'user' => Etc.getlogin
+ 'user' => Etc.getpwuid(Process.uid).name
}.freeze
end
def build_host_ips
Socket.ip_address_list.map do |ip|