pindo 4.8.4 → 4.8.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f77f41090639d86cb2f9c9d9f2cfc70658700c79066a08a312936ed75f4297df
4
- data.tar.gz: afe8ad53ca20bda0c124c6df7a0f76a554555fdac9eea2ddfe635204fdec9f3d
3
+ metadata.gz: 16ce8b8ae92b406194afa919044296d0f7801fc4146c4d89b27c792414694607
4
+ data.tar.gz: '0914b0e1e63700cef9e63d6404b7ea765a34b038777c629ebd6caa254b143b32'
5
5
  SHA512:
6
- metadata.gz: b0e985bb992fc5e25a81a7b977be5a4d6c8be69052f2b200496ec838b9118f995f8b8384dde96a0f534cc795e0c034796b1c84a1b075bdabc8f1f036ce47a33c
7
- data.tar.gz: 15082bfd14a5e2a4aa3e780b3455b5ca6a22486280889f9b5103bcc771b282115da6097936c2121bdd6bac60e5b11809ae03dca222388f1d94a00b6c419c6667
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
- last_work_project_array = @pindo_user_local_config_json["last_work_project_array"] || []
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
@@ -1,6 +1,6 @@
1
1
  module Pindo
2
2
 
3
- VERSION = "4.8.4"
3
+ VERSION = "4.8.5"
4
4
 
5
5
  class VersionCheck
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pindo
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.8.4
4
+ version: 4.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - wade