ib 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f87156a103480f5c9599744e46125e076ad91975
4
- data.tar.gz: 35d19a023b361c358a6a118b116b247fd971570a
3
+ metadata.gz: f742a208567118fa1ec3d7a6e6141a1e77a7d937
4
+ data.tar.gz: fa5fc995153368ac2664e0707c30248ebc57a43d
5
5
  SHA512:
6
- metadata.gz: 80cbf452e6cf62414a58f10b9b10e075dc68e56d957652b30cd9cfe5d86c5173848a378ac8f10dbabdeb219d5c368f523d73e7c75af32d6485b04b60493fc17a
7
- data.tar.gz: f77b18ab2808f9e0123ca1ee6cdeec75b9e7a500c77834f84bf55721328ee082ecdb6919702dd75ab8e364903527dd61b134586188b468768eb6e7add312af4d
6
+ metadata.gz: b9a0ce78b45aed3a6e7f86c41eab5119b6f01f385a03dc70997d7b0839a591e141b1a3c92885e4c8b5c47af5451519c2889a0586f0313e7d8846568f92712b1f
7
+ data.tar.gz: 6378290e1211ef16e97f627c0f8c1e428db092186ee8da99335c32cb252772c608dad83a2f275ba1e587ad807869fbfd0dceb50829b4b948feb35ab8c81cec31
@@ -88,7 +88,13 @@ class IB::Project
88
88
  end
89
89
 
90
90
  def add_resources
91
- Dir.glob("#{resources.path}/**/*.{#{RESOURCE_EXTENSIONS.join(",")}}") do |file|
91
+ # First add reference to any asset catalogs.
92
+ Dir.glob("#{resources.path}/**/*.xcassets") do |file|
93
+ resources.new_reference(file)
94
+ end
95
+ # Add all other resources, ignoring files in existing asset catalogs
96
+ Dir["#{resources.path}/**/*.{#{RESOURCE_EXTENSIONS.join(",")}}"]
97
+ .reject {|f| f[%r{.*\.xcassets/.*}] }.each do |file|
92
98
  resources.new_reference(file)
93
99
  end
94
100
  end
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module IB
3
- VERSION = '0.4.8'
3
+ VERSION = '0.4.9'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Korolev
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-11 00:00:00.000000000 Z
12
+ date: 2014-08-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: xcodeproj