lhj-tools 0.2.77 → 0.2.78
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/lhj/helper/ios_api_available_check_helper.rb +3 -1
- data/lib/lhj/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: 6ff59987d90ae304429c431a1fe94d2fddb3160bcc9f50510556e90d65222800
|
|
4
|
+
data.tar.gz: 513c1543f8dda30567bfd083261aa0d0f6ab6e1c91c2a482c0dc31ff546c40f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5d836dfa4b88b0469ee79039e7a00c75787d29dd37ce75f8eaa63f9847f4b8223799049d3972c158b2d345b95a850eceb01b0dae2e7d316c245f8a79b202a42e
|
|
7
|
+
data.tar.gz: 106935c89c4b2d32f0fa72fd5e02e7ec0cb2351f1b2d1cc149d89bde47b4a8ae43ca72c69e2a55e18aa09e4a4cf0f2120935f802b1eef98f9d694b94f814fba9
|
|
@@ -14,6 +14,7 @@ module Lhj
|
|
|
14
14
|
file_name = File.basename(f)
|
|
15
15
|
wrapper_map = find_available_wrapper(f)
|
|
16
16
|
# block循环引用提醒
|
|
17
|
+
# wrapper_map[:blocks].each { |l| puts l[:line] }
|
|
17
18
|
handle_block_notify(file_name, wrapper_map[:blocks]) if wrapper_map[:blocks].length.positive?
|
|
18
19
|
# 处理高版本api提示
|
|
19
20
|
infos = handle_available_file(f, wrapper_map[:avails])
|
|
@@ -49,7 +50,7 @@ module Lhj
|
|
|
49
50
|
end
|
|
50
51
|
|
|
51
52
|
next if multi_comment
|
|
52
|
-
next if line =~ %r{\s*//}
|
|
53
|
+
next if line =~ %r{\s*//} && line =~ %r{[^\S]+//}
|
|
53
54
|
|
|
54
55
|
if line =~ API_AVAILABLE_KEY_BEGIN_REGEX || available_idx.positive?
|
|
55
56
|
available_idx += 1 if line =~ /\{/
|
|
@@ -75,6 +76,7 @@ module Lhj
|
|
|
75
76
|
arr.filter! { |l| l[:line] !~ /\^/ }
|
|
76
77
|
arr.filter! { |l| l[:line] !~ /weak/ }
|
|
77
78
|
arr.filter! { |l| l[:line] !~ /strong/ }
|
|
79
|
+
arr.filter! { |l| l[:line] !~ /mas/ }
|
|
78
80
|
return if arr.empty?
|
|
79
81
|
|
|
80
82
|
puts "源文件:#{file_name}"
|
data/lib/lhj/version.rb
CHANGED