podfileDep 2.4.10 → 2.4.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/podfileDep/version.rb +1 -1
- data/lib/podfileDep/yaml/yaml_dep.rb +5 -4
- data/lib/podfileDep/yaml/yaml_pod.rb +17 -0
- 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: c1bb4022b21a25559de7d0713947b41268b939ab6365201c5c7893c6ad4cb671
|
4
|
+
data.tar.gz: a750ec5aa01e7213d7b648e256bd09a2e9d96ef98f658e788d6408ece49d4e1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7224cccee0f8e5c44530a716bf2dd4f502f23d645e794bbc7618e3e6cc3f2fbc3a62d5e2e38cb155fca4ac5b0ca967e5728334156e14a9c561e134ae4afcd074
|
7
|
+
data.tar.gz: 5346eeea597e84fbdcdb67d31d3c847443064d02d65986e19493b1b4d0889a0204ef299dfb8aa566c2c037170489a275e800f5a61e44ad3b23fd82dd6abb8ec1
|
data/CHANGELOG.md
CHANGED
data/lib/podfileDep/version.rb
CHANGED
@@ -336,10 +336,8 @@ module Pod
|
|
336
336
|
sort_deps = all_deps.sort do |arr1, arr2|
|
337
337
|
dep1 = arr1[1]
|
338
338
|
dep2 = arr2[1]
|
339
|
-
if dep1.
|
340
|
-
1
|
341
|
-
elsif not dep1.path and dep2.path
|
342
|
-
-1
|
339
|
+
if dep1.type != dep2.type
|
340
|
+
dep1.type < dep2.type ? 1 : -1
|
343
341
|
else
|
344
342
|
dep1.pod.downcase <=> dep2.pod.downcase
|
345
343
|
end
|
@@ -383,6 +381,9 @@ module Pod
|
|
383
381
|
branch = repo_branch(dependency.path)
|
384
382
|
modify = repo_modify(dependency.path)
|
385
383
|
puts puts_result.cyan + branch.magenta + modify.magenta
|
384
|
+
|
385
|
+
elsif dependency.branch
|
386
|
+
puts "[!] #{puts_result}"
|
386
387
|
else
|
387
388
|
puts puts_result
|
388
389
|
end
|
@@ -18,6 +18,7 @@ module Pod
|
|
18
18
|
attr_accessor :inhibit_warnings
|
19
19
|
attr_accessor :source
|
20
20
|
attr_accessor :binary
|
21
|
+
attr_reader :type
|
21
22
|
|
22
23
|
def option
|
23
24
|
result = {:configurations => self.configurations,
|
@@ -40,5 +41,21 @@ module Pod
|
|
40
41
|
end
|
41
42
|
result
|
42
43
|
end
|
44
|
+
|
45
|
+
def type
|
46
|
+
if self.path and self.path.size > 0
|
47
|
+
0
|
48
|
+
elsif self.branch and self.branch.size > 0
|
49
|
+
return 1
|
50
|
+
elsif self.podspec and self.podspec.size > 0
|
51
|
+
return 2
|
52
|
+
elsif self.version and self.version.size > 0
|
53
|
+
return 3
|
54
|
+
elsif self.tag and self.tag.size > 0
|
55
|
+
return 4
|
56
|
+
else
|
57
|
+
0
|
58
|
+
end
|
59
|
+
end
|
43
60
|
end
|
44
61
|
end
|
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.4.
|
4
|
+
version: 2.4.11
|
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-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|