cocoapods-bin 0.0.7 → 0.0.8
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5440476f000a1afe87e0b821c39fa0c94b70f7e
|
4
|
+
data.tar.gz: a961e54852eba8a2657670b07841414177bf4260
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4e05f350de2c1caf7db557508d946afb1a857ebb28c1a669e347752ce236e9252983fd04d2288ad765d16ce88a87e624ba7cadca6b09b535dc81a8678bd95d5
|
7
|
+
data.tar.gz: f840e30c9d56f53d5991820fe1117db077262d2d3bbd82d1f6a29578148ede8c288380a898bf320c9d7af85a5260b7c8d0688c0558c71362a4c6026e81fb16ee
|
data/Gemfile.lock
CHANGED
@@ -28,6 +28,7 @@ module Pod
|
|
28
28
|
@loose_options = argv.flag?('loose-options')
|
29
29
|
@code_dependencies = argv.flag?('code-dependencies')
|
30
30
|
@sources = argv.option('sources') || []
|
31
|
+
@podspec = argv.shift_argument
|
31
32
|
super
|
32
33
|
|
33
34
|
@additional_args = argv.remainder!
|
@@ -36,6 +37,7 @@ module Pod
|
|
36
37
|
def run
|
37
38
|
Podfile.execute_with_use_binaries(!@code_dependencies) do
|
38
39
|
argvs = [
|
40
|
+
@podspec || code_spec_files.first,
|
39
41
|
"--sources=#{sources_option(@code_dependencies, @sources)}",
|
40
42
|
*@additional_args
|
41
43
|
]
|
@@ -50,8 +52,6 @@ module Pod
|
|
50
52
|
lint.run
|
51
53
|
end
|
52
54
|
end
|
53
|
-
|
54
|
-
|
55
55
|
end
|
56
56
|
end
|
57
57
|
end
|
@@ -4,14 +4,28 @@ module Pod
|
|
4
4
|
class SandboxAnalyzer
|
5
5
|
# def pod_changed?(pod)
|
6
6
|
# spec = root_spec(pod)
|
7
|
+
# 有 subspec 的情况下,root spec 对应的 used_files 可能始终为空
|
8
|
+
# 要添加为空 && 没有 subspec 的情况
|
9
|
+
# file_accessors = spec.available_platforms.map { |platform| Sandbox::FileAccessor.new(sandbox.pod_dir(pod), spec.consumer(platform)) }
|
10
|
+
# files = [
|
11
|
+
# file_accessors.map(&:vendored_frameworks),
|
12
|
+
# file_accessors.map(&:vendored_libraries),
|
13
|
+
# file_accessors.map(&:resource_bundle_files),
|
14
|
+
# file_accessors.map(&:prefix_header),
|
15
|
+
# file_accessors.map(&:resources),
|
16
|
+
# file_accessors.map(&:source_files),
|
17
|
+
# file_accessors.map(&:module_map),
|
18
|
+
# ]
|
19
|
+
# used_files = files.flatten.compact.map(&:to_s).uniq
|
20
|
+
# p pod if used_files.empty?
|
7
21
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
22
|
+
# return true if spec.version != sandbox_version(pod)
|
23
|
+
# return true if spec.checksum != sandbox_checksum(pod)
|
24
|
+
# return true if resolved_spec_names(pod) != sandbox_spec_names(pod)
|
25
|
+
# return true if sandbox.predownloaded?(pod)
|
26
|
+
# return true if folder_empty?(pod)
|
27
|
+
# false
|
28
|
+
# end
|
15
29
|
end
|
16
30
|
end
|
17
31
|
end
|