xcodeproj_utils 0.2.1 → 0.2.2

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
  SHA1:
3
- metadata.gz: 321b721013e4dbb38f25d80f2ee42c14162bd481
4
- data.tar.gz: 564bd2bd28da5c4d7abd44f723454794e13f9df7
3
+ metadata.gz: 8b97e19cb660c03d2dac830379b18fecc001fdbe
4
+ data.tar.gz: 0c45210537770eaca61bfd679935cdbfee7c4f62
5
5
  SHA512:
6
- metadata.gz: bbe36e5917e759e3582a66137c8a5b7860a963180b686c5aa35070cbce13c82468058a51f72d961912fba2b5958fbaa76a1c0ec023de5915726fa10991740761
7
- data.tar.gz: 67378381cf1f99add41f245c51335eafb09a997e4850e37c77c3748666f41489ad5a4bc829bb38dc53f6c5a756864e3b1aba875f365c5ad30bb19a5aa0c00b20
6
+ metadata.gz: ea0178c1832c1393d4e73d76ee5f8dec240137fab290c1004b91319ffc9f256af7bc794d15128651e84d1ad9fc1a2101b4d42e80db9681a3d0aaf3ed1e9f13b5
7
+ data.tar.gz: 6577c78df48e1bf1f50f478c478da801f09545f6cf6ae8b7ceaef0502a5a68942b10548dc38975a2d870b0e0b12554963f0851ba48de67f0704142af61f3199f
@@ -75,9 +75,9 @@ module XcodeprojUtils
75
75
  end
76
76
  for file in @target.resources_build_phase.files_references
77
77
  type = file.last_known_file_type
78
- if type and type == 'file.xib'
78
+ next unless type
79
+ if type == 'file.xib' or type == 'text.plist.xml'
79
80
  sources += File.read file.real_path
80
- next
81
81
  end
82
82
  end
83
83
 
@@ -91,6 +91,10 @@ module XcodeprojUtils
91
91
  name = File.basename(file.display_name, '.*')
92
92
  name = name.split('@').first.strip
93
93
 
94
+ if name == 'Default' or name == 'Default-568h'
95
+ next
96
+ end
97
+
94
98
  if sources.scan(name).count == 0
95
99
  images << file
96
100
  end
@@ -1,3 +1,3 @@
1
1
  module XcodeprojUtils
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcodeproj_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matsumoto Taichi