xcodeproj 1.11.1 → 1.12.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: 15616360424c23b6a83d573761206a46cac5ffccf3f4134a8599653efd84edbb
4
- data.tar.gz: 8f0aa5a45bb559d514cdb77f7bbdc1581058be1213e6ba6f2043825d80d79499
3
+ metadata.gz: aa940904701915ca389aa029cd0461eb3e22961e3e1270352a73d2153254dd05
4
+ data.tar.gz: d364a28dc939e3491bef4c5d15fa209ab61b760160a7fadae4fe94b500ae7b3b
5
5
  SHA512:
6
- metadata.gz: 0b0450ee994af0c5fed4df6b0902252ce03a614d7cd43078e62a79392001354e9351a6e11af6117fb6df5d8789164c8d372a3142b1873ff5841858e67f209932
7
- data.tar.gz: 8b7fc93650e85069053663b85c1b81ace5650c281fefab7d6684978d97d7970c2ecc25c6a33651599311e55c780d144306b492c85c3ea5908bc5d52ad11a0d65
6
+ metadata.gz: d5e998ccd7775c02480df2a62cb62251f1be370088c10271445c80af9d824bdfbd911d9d4d34e4c9b571966d5584d2f724fed62b6aa651959bf9d87bd1fcb00c
7
+ data.tar.gz: 14dca20cc3e3032e8157f5722b02ccd8d99ede9219241061bda616646cd14cd2f6277b0ec533b5e0184f1a028406a6f120e192be459cb91aedd01ed452756421
@@ -1,5 +1,5 @@
1
1
  module Xcodeproj
2
2
  # The version of the xcodeproj gem.
3
3
  #
4
- VERSION = '1.11.1'.freeze unless defined? Xcodeproj::VERSION
4
+ VERSION = '1.12.0'.freeze unless defined? Xcodeproj::VERSION
5
5
  end
@@ -204,6 +204,19 @@ module Xcodeproj
204
204
  #
205
205
  attribute :dst_subfolder_spec, String, Constants::COPY_FILES_BUILD_PHASE_DESTINATIONS[:resources]
206
206
 
207
+ # @return [Hash{String => Hash}] A hash suitable to display the build
208
+ # phase to the user.
209
+ #
210
+ def pretty_print
211
+ {
212
+ display_name => {
213
+ 'Destination Path' => dst_path,
214
+ 'Destination Subfolder' => Constants::COPY_FILES_BUILD_PHASE_DESTINATIONS.key(dst_subfolder_spec).to_s,
215
+ 'Files' => files.map(&:pretty_print),
216
+ },
217
+ }
218
+ end
219
+
207
220
  # Alias method for #dst_subfolder_spec=, which accepts symbol values
208
221
  # instead of numeric string values.
209
222
  #
@@ -287,6 +300,22 @@ module Xcodeproj
287
300
  # the build log.
288
301
  #
289
302
  attribute :show_env_vars_in_log, String
303
+
304
+ # @return [Hash{String => Hash}] A hash suitable to display the build
305
+ # phase to the user.
306
+ #
307
+ def pretty_print
308
+ {
309
+ display_name => {
310
+ 'Input File List Paths' => input_file_list_paths || [],
311
+ 'Input Paths' => input_paths || [],
312
+ 'Output File List Paths' => output_file_list_paths || [],
313
+ 'Output Paths' => output_paths || [],
314
+ 'Shell Path' => shell_path,
315
+ 'Shell Script' => shell_script,
316
+ },
317
+ }
318
+ end
290
319
  end
291
320
 
292
321
  #-----------------------------------------------------------------------#
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcodeproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.1
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran