podfileDep 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/lib/podfileDep/version.rb +1 -1
- data/lib/podfileDep/yaml/yaml_dep.rb +37 -30
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 836193a1245b8fa2e3d40f0385557c15f9fba4be89de0434dd5a5cf0ad0c248c
|
4
|
+
data.tar.gz: 1ba4d4138d17c6c9372264ee9bc817135d38604636adafba1b927a4c835cffaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e95518e907348fed5af271d87cf006ed0ada275706f00bd4f98eae4fa6a4467c49bb949f5d2fd96c6424268667e035ecc65f6361a273a7cdc99d07c67caf4ee
|
7
|
+
data.tar.gz: 1239b1d3f7d880cf0167686700be40227f87ce83db74fecf7a9dfe63ad7e763418378bb2a9b059ad5e95797013a79e87fc0f7bf4a167d48081ffb7f633f59222
|
data/CHANGELOG.md
CHANGED
data/lib/podfileDep/version.rb
CHANGED
@@ -5,21 +5,9 @@ require_relative '../check/xcodeproj'
|
|
5
5
|
module Pod
|
6
6
|
|
7
7
|
class YamlRely
|
8
|
-
|
9
|
-
def initialize(
|
10
|
-
@module_name = module_name
|
8
|
+
attr_accessor :module_name, :pod, :subspecs, :version, :git, :tag, :branch, :podspec, :configurations, :path, :inhibit_warnings, :source, :binary
|
9
|
+
def initialize(pod)
|
11
10
|
@pod = pod
|
12
|
-
@subspecs = subspecs
|
13
|
-
@path = path
|
14
|
-
@podspec = podspec
|
15
|
-
@version = version
|
16
|
-
@git = git
|
17
|
-
@tag = tag
|
18
|
-
@branch = branch
|
19
|
-
@configurations = configurations
|
20
|
-
@inhibit_warnings = inhibit_warnings
|
21
|
-
@source = source
|
22
|
-
@binary = binary
|
23
11
|
end
|
24
12
|
|
25
13
|
def option
|
@@ -177,7 +165,7 @@ module Pod
|
|
177
165
|
exit!
|
178
166
|
end
|
179
167
|
|
180
|
-
|
168
|
+
yaml_content
|
181
169
|
|
182
170
|
end
|
183
171
|
|
@@ -298,21 +286,40 @@ module Pod
|
|
298
286
|
self.local_yaml_deps << dependency['pod']
|
299
287
|
end
|
300
288
|
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
289
|
+
if Array(dependency['subspecs']).size > 0 and Array(dependency['configurations']).size > 0
|
290
|
+
dependency['subspecs'].each {|subspec|
|
291
|
+
dep = YamlRely.new(pod = "#{dependency['pod']}/#{subspec}")
|
292
|
+
dep.module_name = dependency['module']
|
293
|
+
dep.subspecs = nil
|
294
|
+
dep.path = dependency['path']
|
295
|
+
dep.podspec = dependency['podspec']
|
296
|
+
dep.version = version
|
297
|
+
dep.git = dependency['git']
|
298
|
+
dep.tag = dependency['tag']
|
299
|
+
dep.branch = dependency['branch']
|
300
|
+
dep.configurations = dependency['configurations']
|
301
|
+
dep.inhibit_warnings = inhibit_warnings
|
302
|
+
dep.source = source
|
303
|
+
dep.binary = binary
|
304
|
+
yaml_dependencies[dep.pod] = dep
|
305
|
+
}
|
306
|
+
|
307
|
+
else
|
308
|
+
dep = YamlRely.new(pod = dependency['pod'])
|
309
|
+
dep.module_name = dependency['module']
|
310
|
+
dep.subspecs = dependency['subspecs']
|
311
|
+
dep.path = dependency['path']
|
312
|
+
dep.podspec = dependency['podspec']
|
313
|
+
dep.version = version
|
314
|
+
dep.git = dependency['git']
|
315
|
+
dep.tag = dependency['tag']
|
316
|
+
dep.branch = dependency['branch']
|
317
|
+
dep.configurations = dependency['configurations']
|
318
|
+
dep.inhibit_warnings = inhibit_warnings
|
319
|
+
dep.source = source
|
320
|
+
dep.binary = binary
|
321
|
+
yaml_dependencies[dep.pod] = dep
|
322
|
+
end
|
316
323
|
}
|
317
324
|
|
318
325
|
end
|