osc-vnc 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/osc/vnc/session.rb +0 -6
- data/lib/osc/vnc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67900cae2959512331790be5ca92fa93bc656c7f
|
4
|
+
data.tar.gz: a8109ff9e1f9d9d39077e1d3289080ce7b5ee40e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0723fdfd5827c16eebdc79213485a554745941754af3e3c2ddaef636b098caa583e5845865537fff8cc38e876334af923ffd2049e6e64b2fc78eb59c9cbb88c
|
7
|
+
data.tar.gz: 4a4dd5d3b124f7e94692d9c98c4c6d335e30c7a680186b78e943ff232f3148750bc33ef69aa19460b4a6f0bc790ef991f6b8d4424d7d52f1aee6ba569d7a41ba
|
data/lib/osc/vnc/session.rb
CHANGED
@@ -63,12 +63,6 @@ module OSC
|
|
63
63
|
PBS::ATTR[:S] => "/bin/bash",
|
64
64
|
PBS::ATTR[:init_work_dir] => script.outdir
|
65
65
|
}.merge headers
|
66
|
-
h[PBS::ATTR[:N]] = "#{ENV['APP_TOKEN']}/#{h[PBS::ATTR[:N]]}" if ENV['APP_TOKEN']
|
67
|
-
|
68
|
-
# add first charged account group as default account
|
69
|
-
account = Process.groups.map {|g| Etc.getgrgid(g).name}.grep(/^P./).first
|
70
|
-
h[PBS::ATTR[:A]] ||= account if account
|
71
|
-
|
72
66
|
h
|
73
67
|
end
|
74
68
|
|
data/lib/osc/vnc/version.rb
CHANGED