pindo 4.8.4 → 4.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pindo/config/pindouserlocalconfig.rb +5 -1
- data/lib/pindo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16ce8b8ae92b406194afa919044296d0f7801fc4146c4d89b27c792414694607
|
|
4
|
+
data.tar.gz: '0914b0e1e63700cef9e63d6404b7ea765a34b038777c629ebd6caa254b143b32'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 681c6548cab3d378f7962d3f8d2cb67dedb7ad5bc69e5ed128075cf8e0fecf246e8c5a52f6f4fc356d7d03addcb6ff35ee2151f461716c6f9f48af638aa276c8
|
|
7
|
+
data.tar.gz: 6712a01b81509487ac6d62f80f870edd1abaf8abe874ebad8228efacd3d1e8a7aa9c2ad53268eae12a99e87563322749a4be7115602fc6a7ee273e98bd7384b3
|
|
@@ -62,6 +62,7 @@ module Pindo
|
|
|
62
62
|
if !@pindo_user_local_config_json.nil?
|
|
63
63
|
last_work_project_array = @pindo_user_local_config_json["last_work_project_array"] || []
|
|
64
64
|
end
|
|
65
|
+
last_work_project_array = last_work_project_array || []
|
|
65
66
|
return last_work_project_array;
|
|
66
67
|
end
|
|
67
68
|
|
|
@@ -74,8 +75,11 @@ module Pindo
|
|
|
74
75
|
return
|
|
75
76
|
end
|
|
76
77
|
|
|
77
|
-
|
|
78
|
+
@pindo_user_local_config_json = @pindo_user_local_config_json || {}
|
|
78
79
|
|
|
80
|
+
last_work_project_array = @pindo_user_local_config_json["last_work_project_array"] || []
|
|
81
|
+
|
|
82
|
+
|
|
79
83
|
# 从数组中删除目标字符串
|
|
80
84
|
last_work_project_array.delete(proj_name)
|
|
81
85
|
# 将目标字符串插入到数组末尾
|
data/lib/pindo/version.rb
CHANGED