pod-builder 1.2.0 → 1.2.1
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 +4 -4
- data/lib/pod_builder/command/build.rb +9 -3
- data/lib/pod_builder/version.rb +1 -1
- 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: 7b4894a8c845877301fe37cba6682aeccb75893da27d05ab6ad3263654b6007d
|
4
|
+
data.tar.gz: 2b6995d8db5b4a13a7a6227abfa242806d186fd5397faea75b3403807112f9da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89e914bb125884e5a976a872275b96134fc35243e4364ae4e8f24da5ebb7c4be031542ccde07d282fccf066e60c0ea3e007800f0c1832421d337c5b7a9f14b51
|
7
|
+
data.tar.gz: c2def531344ba74be17941317521f250260ba81413d86b164181cb3cf13b1a7088743afdf7b09de97da8690aabef50236b2c88c380b6e78cb719fb02ada05632
|
@@ -13,6 +13,8 @@ module PodBuilder
|
|
13
13
|
return -1
|
14
14
|
end
|
15
15
|
|
16
|
+
raise "\n\nPlease rename your Xcode installation path removing spaces, current `#{`xcode-select -p`.strip()}`\n" if `xcode-select -p`.strip().include?(" ")
|
17
|
+
|
16
18
|
Podfile.sanity_check()
|
17
19
|
check_not_building_subspecs(argument_pods)
|
18
20
|
|
@@ -136,7 +138,7 @@ module PodBuilder
|
|
136
138
|
return pods
|
137
139
|
end
|
138
140
|
|
139
|
-
def self.expected_common_dependencies(pods_to_build, buildable_items)
|
141
|
+
def self.expected_common_dependencies(pods_to_build, buildable_items, options)
|
140
142
|
warned_expected_pod_list = []
|
141
143
|
expected_pod_list = []
|
142
144
|
errors = []
|
@@ -161,6 +163,10 @@ module PodBuilder
|
|
161
163
|
errors.push("Can't build #{pod_to_build.name} because it has common dependencies (#{dependency}) with #{buildable_pod.name}.\n\nUse `pod_builder build #{expected_list}` instead or use `pod_builder build -a #{pod_to_build.name}` to automatically resolve missing dependencies\n\n")
|
162
164
|
errors.uniq!
|
163
165
|
warned_expected_pod_list.push(expected_list)
|
166
|
+
|
167
|
+
if options.has_key?(:auto_resolve_dependencies)
|
168
|
+
puts "`#{pod_to_build.name}` has the following dependencies:\n`#{pod_to_build.dependency_names.join("`, `")}`\nWhich are in common with `#{buildable_pod.name}` and requires it to be recompiled\n\n".yellow
|
169
|
+
end
|
164
170
|
end
|
165
171
|
end
|
166
172
|
end
|
@@ -170,7 +176,7 @@ module PodBuilder
|
|
170
176
|
return expected_pod_list, errors
|
171
177
|
end
|
172
178
|
|
173
|
-
def self.expected_parent_dependencies(pods_to_build, buildable_items)
|
179
|
+
def self.expected_parent_dependencies(pods_to_build, buildable_items, options)
|
174
180
|
expected_pod_list = []
|
175
181
|
errors = []
|
176
182
|
|
@@ -279,7 +285,7 @@ module PodBuilder
|
|
279
285
|
pods_to_build += other_subspecs(pods_to_build, buildable_items)
|
280
286
|
tmp_buildable_items = buildable_items - pods_to_build
|
281
287
|
|
282
|
-
expected_pods, errors = fn.call(pods_to_build, tmp_buildable_items)
|
288
|
+
expected_pods, errors = fn.call(pods_to_build, tmp_buildable_items, options)
|
283
289
|
if expected_pods.count > 0
|
284
290
|
if !options.has_key?(:auto_resolve_dependencies) && expected_pods.count > 0
|
285
291
|
raise "\n\n#{errors.join("\n")}".red
|
data/lib/pod_builder/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pod-builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Camin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|