podfileDep 2.5.0 → 2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/podfileDep/version.rb +1 -1
- data/lib/podfileDep/yaml/yaml_dep.rb +12 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e0770a395f64dadc1043ac8c872b0283932ec9df1f98ec1f03b8f75c08f2401
|
4
|
+
data.tar.gz: '09aac9c5e18ab596663daa3986f26fb6fda42b78acbb74465619d7df60b5edae'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f80f6201b3c24461a5af0e72c426b00bdc25fa3e693118407e7cff3fba0c1f4e4bf19ea83c3e1f23d9329d2760826061b85ed6e754eb27a495b3c271f029b03
|
7
|
+
data.tar.gz: e83d8240305ded4c585cfecc849b7d856d93c3064213b3a90bcc59abcda56c3118243863e4851cffb9c0d2fe0d1cc5173c7e20f387e3dcb7e4849fa4244edc03
|
data/CHANGELOG.md
CHANGED
data/lib/podfileDep/version.rb
CHANGED
@@ -51,14 +51,18 @@ module Pod
|
|
51
51
|
# 存储所有的依赖
|
52
52
|
targets_dependencies.each { |target_obj, dependencies|
|
53
53
|
target_name = target_obj.name
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
54
|
+
if dependencies.size > 0
|
55
|
+
podfile.target target_name do
|
56
|
+
dependencies.each { |dependency|
|
57
|
+
if dependency.version
|
58
|
+
podfile.pod dependency.pod, dependency.version, dependency.option
|
59
|
+
else
|
60
|
+
podfile.pod dependency.pod, dependency.option
|
61
|
+
end
|
62
|
+
}
|
63
|
+
yield(target_name) if block_given?
|
64
|
+
end
|
65
|
+
else
|
62
66
|
yield(target_name) if block_given?
|
63
67
|
end
|
64
68
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: podfileDep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 王帅朋
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|