cocoapods-modularization 0.5.0 → 0.7.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e7f1bb3e9ff8369bc74a1102f3d361e9031c869aba0132dd47e5a792f46f436
|
4
|
+
data.tar.gz: 76aafb968e5d94fb1388604c2f392b2763bec6fda32a31e045b2fe7a30276dec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08922999ee0f064d446f207d47528d186af02b6a68f002a0296d63f58d146165efc20da966c21daffd4a9659b4208bc6c52a138870e3e41a414dafabf863c84b'
|
7
|
+
data.tar.gz: d3f262e269b854c5d90f9ae08772b5dbb6235db52ce792ce18057dbc287a1baa171aefd286c25d0280cb87cfc1b60680b862015adc093b765dc3e3258cab0b4d
|
@@ -27,7 +27,7 @@ module Pod
|
|
27
27
|
podfile_local_hash = generate_yml_to_hash(podfile_local_path)
|
28
28
|
|
29
29
|
# cache branch if local_path is set
|
30
|
-
if !enable_branch
|
30
|
+
if !enable_branch && !podfile_local_hash.empty?
|
31
31
|
branch_caches = Array.new
|
32
32
|
podfile_local_hash.each do |key, value|
|
33
33
|
next unless value.kind_of?(Hash)
|
@@ -130,6 +130,10 @@ module Pod
|
|
130
130
|
'branch'
|
131
131
|
end
|
132
132
|
|
133
|
+
def force_local_key
|
134
|
+
'force_local'
|
135
|
+
end
|
136
|
+
|
133
137
|
def configuration
|
134
138
|
'configuration'
|
135
139
|
end
|
@@ -93,7 +93,16 @@ module Pod
|
|
93
93
|
dependency_data = data[e]
|
94
94
|
raise "dependency_data is empty for element: #{e}" unless dependency_data.kind_of?(Hash)
|
95
95
|
|
96
|
-
|
96
|
+
force_local = dependency_data[MetaConstants.force_local_key] || false
|
97
|
+
|
98
|
+
using_branch = false
|
99
|
+
if force_local
|
100
|
+
using_branch = false
|
101
|
+
elsif enable_branch
|
102
|
+
using_branch = true
|
103
|
+
end
|
104
|
+
|
105
|
+
git_branch_hash = try_git_branch(e, dependency_data) if using_branch
|
97
106
|
return git_branch_hash if git_branch_hash.kind_of?(Hash)
|
98
107
|
|
99
108
|
local = dependency_data[MetaConstants.local_key]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-modularization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lazy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|