cocoapods-modularization 0.6.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: c242b3d7dc59181da16ea13b04276f120b994885bc551a12e519a40bb1994058
4
- data.tar.gz: aae782b40f172d876038f9bce9ff88df4d08ca2429ac1d2988ddfef5c17891e0
3
+ metadata.gz: 5e7f1bb3e9ff8369bc74a1102f3d361e9031c869aba0132dd47e5a792f46f436
4
+ data.tar.gz: 76aafb968e5d94fb1388604c2f392b2763bec6fda32a31e045b2fe7a30276dec
5
5
  SHA512:
6
- metadata.gz: b810af644f5ae19770738af31930bf901f8601a0e26dad3e5b4c4e95cc7a7987a051184cd87a7c53dbf5261430ab87396b555e40019c96d765323e6508256375
7
- data.tar.gz: 6225197b3c5d916a3e253a43ee2a960c450004ab47f47dcc5742eee94b0d714c90c177a63fd1ce60566a6036c94e7ded43a5c4c5c341bac940d8965448f97476
6
+ metadata.gz: '08922999ee0f064d446f207d47528d186af02b6a68f002a0296d63f58d146165efc20da966c21daffd4a9659b4208bc6c52a138870e3e41a414dafabf863c84b'
7
+ data.tar.gz: d3f262e269b854c5d90f9ae08772b5dbb6235db52ce792ce18057dbc287a1baa171aefd286c25d0280cb87cfc1b60680b862015adc093b765dc3e3258cab0b4d
@@ -1,3 +1,3 @@
1
1
  module CocoapodsModularization
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
@@ -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
- git_branch_hash = try_git_branch(e, dependency_data) if enable_branch
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.6.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: 2024-08-02 00:00:00.000000000 Z
11
+ date: 2024-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler