pod-builder 2.0.0.beta.39 → 2.0.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 +4 -4
- data/lib/pod_builder/rome/post_install.rb +1 -21
- data/lib/pod_builder/version.rb +1 -1
- data/pod-builder.gemspec +0 -1
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75ae604ccd8e9725dda21d10a5ef0c590ae862e4a099474dfe4c799c92ccba47
|
4
|
+
data.tar.gz: a040c4aca25a30495d6f20f35c2de28c7d95cde27c85403f9ab64bab6e30419b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45207cae794c65336e5c67654b5a1fcc787b9a2c6cb861e67d5645f00769c53bc2d0d8e7ae930e53ae00e0fa3558dc95969e080a61341a5101d737dc93749ba3
|
7
|
+
data.tar.gz: 3ea8460b857509577001fb25bf1e8721f28de773988c8dbbbd445e72c9006c430e20f4476fc25e6a1a712f27eaf16b4d5625c9271530684a96678b122ef8a554
|
@@ -1,9 +1,6 @@
|
|
1
|
-
# TODO: Add support when building without use_frameworks!
|
2
|
-
|
3
1
|
require 'fourflusher'
|
4
2
|
require 'colored'
|
5
3
|
require 'pathname'
|
6
|
-
require 'ruby-progressbar'
|
7
4
|
|
8
5
|
module PodBuilder
|
9
6
|
def self.build_for_iosish_platform_framework(sandbox, build_dir, target, device, simulator, configuration, deterministic_build, build_for_apple_silicon)
|
@@ -269,21 +266,7 @@ module PodBuilder
|
|
269
266
|
end
|
270
267
|
end
|
271
268
|
|
272
|
-
Pod::HooksManager.register('podbuilder-rome', :post_install) do |installer_context, user_options|
|
273
|
-
build_items_count = installer_context.umbrella_targets.map(&:specs).flatten.count
|
274
|
-
progressbar = ProgressBar.create(:length => 80,
|
275
|
-
:total => build_items_count,
|
276
|
-
:title => "Building",
|
277
|
-
:format => "%t |%b>%i| %c/%C done".yellow)
|
278
|
-
|
279
|
-
progressbar_thread = Thread.new {
|
280
|
-
loop do
|
281
|
-
built_pods = Dir.glob("#{PodBuilder::Configuration.build_path}/build/Release*/*").count
|
282
|
-
progressbar.progress = [[0, built_pods - 1].max, progressbar.total].min
|
283
|
-
sleep(5)
|
284
|
-
end
|
285
|
-
}
|
286
|
-
|
269
|
+
Pod::HooksManager.register('podbuilder-rome', :post_install) do |installer_context, user_options|
|
287
270
|
enable_dsym = user_options.fetch('dsym', true)
|
288
271
|
configuration = user_options.fetch('configuration', 'Debug')
|
289
272
|
uses_frameworks = user_options.fetch('uses_frameworks', true)
|
@@ -315,9 +298,6 @@ Pod::HooksManager.register('podbuilder-rome', :post_install) do |installer_conte
|
|
315
298
|
when [:watchos, false] then PodBuilder::build_for_iosish_platform_lib(sandbox, build_dir, target, 'watchos', 'watchsimulator', configuration, PodBuilder::Configuration.deterministic_build, PodBuilder::Configuration.build_for_apple_silicon, prebuilt_root_paths)
|
316
299
|
else raise "\n\nUnknown platform '#{target.platform_name}'".red end
|
317
300
|
end
|
318
|
-
|
319
|
-
progressbar.finish
|
320
|
-
progressbar_thread.exit
|
321
301
|
|
322
302
|
raise Pod::Informative, 'The build directory was not found in the expected location.' unless build_dir.directory?
|
323
303
|
|
data/lib/pod_builder/version.rb
CHANGED
data/pod-builder.gemspec
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: 2.0.0
|
4
|
+
version: 2.0.0
|
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-
|
11
|
+
date: 2020-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -164,20 +164,6 @@ dependencies:
|
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: ruby-progressbar
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '1.10'
|
174
|
-
type: :runtime
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - "~>"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '1.10'
|
181
167
|
description: Prebuild CocoaPods pods to make compiling your Xcode projects faster
|
182
168
|
email:
|
183
169
|
- tomas.camin@adevinta.com
|
@@ -243,9 +229,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
243
229
|
version: '2.6'
|
244
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
231
|
requirements:
|
246
|
-
- - "
|
232
|
+
- - ">="
|
247
233
|
- !ruby/object:Gem::Version
|
248
|
-
version:
|
234
|
+
version: '0'
|
249
235
|
requirements: []
|
250
236
|
rubygems_version: 3.1.2
|
251
237
|
signing_key:
|