arvados-login-sync 1.3.2.20190212163809 → 1.3.2.20190402172810

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/arvados-login-sync +3 -3
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd780cc7d73b843be24381db252974f52c8d04f9
4
- data.tar.gz: c4d1454edc7ab885bf1240b028b8040dc08f9f14
3
+ metadata.gz: dc8a13dbc6f7100f20bac213e10205313c4c4a4f
4
+ data.tar.gz: 7871b87d85396eb58ded3b27d08b1c2e1787b02d
5
5
  SHA512:
6
- metadata.gz: 7cfec78696d958ad145bfeb7c2739671829da35f90b57de330884894ea81c336da4d3bee580030c0f56b28bc8f0fe6613e7626bc6e590e63e4adcf75b93f5711
7
- data.tar.gz: edc057c50e6ed4bcf0293341ba642b044b09c595d4e269da74e1f49cc7fb0d0b3423475987e88881d33ae83d262a0442318c8711f4a71ca4a3641d278660de79
6
+ metadata.gz: '058bf249f368f935ceffbd870a1e8c63f9d0fbad4a20b09d1e18573f3e55aa52b28f0e74a85903d1aa0139b296a2583fb8614390042927b146226f3c3b9858f6'
7
+ data.tar.gz: 7485b71a34a7500ae97d72c6508fec2b2b8727acee947876fda901228c04c9436d0ddd4866e75b82b49ad0333ba57e1c441d31fb429f48774972fc190db8a025
@@ -108,7 +108,7 @@ begin
108
108
  "-G", groups.join(","),
109
109
  l[:username],
110
110
  out: devnull)
111
- STDERR.puts "Account creation failed for #{l[:username]}: $?"
111
+ STDERR.puts "Account creation failed for #{l[:username]}: #{$?}"
112
112
  next
113
113
  end
114
114
  begin
@@ -121,13 +121,13 @@ begin
121
121
 
122
122
  @homedir = pwnam[l[:username]].dir
123
123
  userdotssh = File.join(@homedir, ".ssh")
124
- Dir.mkdir(userdotssh) if !File.exists?(userdotssh)
124
+ Dir.mkdir(userdotssh) if !File.exist?(userdotssh)
125
125
 
126
126
  newkeys = "###\n###\n" + keys[l[:username]].join("\n") + "\n###\n###\n"
127
127
 
128
128
  keysfile = File.join(userdotssh, "authorized_keys")
129
129
 
130
- if File.exists?(keysfile)
130
+ if File.exist?(keysfile)
131
131
  oldkeys = IO::read(keysfile)
132
132
  else
133
133
  oldkeys = ""
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados-login-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2.20190212163809
4
+ version: 1.3.2.20190402172810
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-12 00:00:00.000000000 Z
11
+ date: 2019-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: arvados
@@ -31,7 +31,7 @@ dependencies:
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.3.0
33
33
  description: Creates and updates local login accounts for Arvados users. Built from
34
- git commit 81f0cd1e933e46cd29ef910693a05070483df4df
34
+ git commit d06ebce7585ee1841e855ec7cc5a00336e186bc8
35
35
  email: gem-dev@curoverse.com
36
36
  executables:
37
37
  - arvados-login-sync