ghedsh 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/actions/system.rb +4 -1
- data/lib/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: deab6f32fa8ff39e7b786b897f22e47fc8b4e9f0
|
4
|
+
data.tar.gz: 905380e7e87790474322a6aeadba70e4bccc8150
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a41b20aa4a25970dd3938b188e453a92de39b3d9f3e65c1a83240e6eca514e800bd2366ddf2db9ed12c68648e852b35fdb133e8794520e4f3811f95858bbbb3
|
7
|
+
data.tar.gz: d49ca3bd6f7c97a1f195ced5e7964d3fa4b23008f9c0546e977f4748b6c2f560acb8bf7744c463d0f987c6383505bdece6e33e7407db7b7da6e32a83644a349b
|
data/lib/actions/system.rb
CHANGED
@@ -21,6 +21,9 @@ class Sys
|
|
21
21
|
if token!=""
|
22
22
|
@client=self.login(token)
|
23
23
|
config["User"]=@client.login
|
24
|
+
if argv_token!=nil
|
25
|
+
self.save_token(configure_path,argv_token)
|
26
|
+
end
|
24
27
|
return config
|
25
28
|
else
|
26
29
|
return self.set_loguin_data_sh(config,configure_path)
|
@@ -32,7 +35,7 @@ class Sys
|
|
32
35
|
end
|
33
36
|
|
34
37
|
def save_token(path,token)
|
35
|
-
File.write(path,token)
|
38
|
+
File.write("#{path}/ghedsh-token",token)
|
36
39
|
end
|
37
40
|
|
38
41
|
def login(token)
|
data/lib/version.rb
CHANGED