ib 0.7.1 → 0.7.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 +4 -4
- data/Gemfile.lock +1 -1
- data/ib.gemspec +2 -2
- data/lib/ib/project.rb +6 -1
- data/lib/ib/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ccccefed1de494b17aa86bda842969c564c2d41
|
4
|
+
data.tar.gz: 15ca080d79b2bb49c9ab7017c78cde05e569bfbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a2e7677a572caf187f4730a21876b6840056b86e2c66ac2ec40099ebd1447206b9dbe6078e1db3b7ff656cf542f98d040f01995e498d5322165cf208ca416a1
|
7
|
+
data.tar.gz: 8e7c21c9003bcca7ca52d6db97c701e9bec24922293ab75a127e7f010a794f5b8e72f8512e07203a5f5cbea812ad44a2dea36ffe70b91fbac33fb69cd5fdb752
|
data/Gemfile.lock
CHANGED
data/ib.gemspec
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
require File.expand_path('../lib/ib/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
|
-
gem.authors = ["Yury Korolev", "Francis Chong", "Eloy Durán"]
|
6
|
-
gem.email = ["yury.korolev@gmail.com", "francis@ignition.hk", "eloy@hipbyte.com"]
|
5
|
+
gem.authors = ["Yury Korolev", "Francis Chong", "Eloy Durán", "Colin T.A. Gray"]
|
6
|
+
gem.email = ["yury.korolev@gmail.com", "francis@ignition.hk", "eloy@hipbyte.com", "colin@hipbyte.com"]
|
7
7
|
gem.description = %q{Magic rubymotion ib outlets support}
|
8
8
|
gem.summary = %q{Small portion of love to interface builder with rubymotion}
|
9
9
|
gem.homepage = "https://github.com/rubymotion/ib"
|
data/lib/ib/project.rb
CHANGED
@@ -95,6 +95,8 @@ class IB::Project
|
|
95
95
|
|
96
96
|
def add_resources
|
97
97
|
resource_directories.each do |dir|
|
98
|
+
resourcespath = Pathname.new dir
|
99
|
+
|
98
100
|
group = resources.new_group(File.basename(dir), dir)
|
99
101
|
# First add reference to any asset catalogs.
|
100
102
|
Dir.glob(File.join(dir, "**/*.xcassets")) do |file|
|
@@ -103,7 +105,10 @@ class IB::Project
|
|
103
105
|
# Add all other resources, ignoring files in existing asset catalogs
|
104
106
|
Dir.glob(File.join(dir, "**/*.{#{RESOURCE_EXTENSIONS.join(",")}}"))
|
105
107
|
.reject {|f| f[%r{.*\.xcassets/.*}] }.each do |file|
|
106
|
-
|
108
|
+
|
109
|
+
filepath = Pathname.new file
|
110
|
+
location = filepath.relative_path_from(resourcespath).to_s
|
111
|
+
group.new_reference(location)
|
107
112
|
end
|
108
113
|
end
|
109
114
|
end
|
data/lib/ib/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yury Korolev
|
8
8
|
- Francis Chong
|
9
9
|
- Eloy Durán
|
10
|
+
- Colin T.A. Gray
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
13
|
-
date:
|
14
|
+
date: 2015-01-20 00:00:00.000000000 Z
|
14
15
|
dependencies:
|
15
16
|
- !ruby/object:Gem::Dependency
|
16
17
|
name: xcodeproj
|
@@ -115,6 +116,7 @@ email:
|
|
115
116
|
- yury.korolev@gmail.com
|
116
117
|
- francis@ignition.hk
|
117
118
|
- eloy@hipbyte.com
|
119
|
+
- colin@hipbyte.com
|
118
120
|
executables:
|
119
121
|
- ib
|
120
122
|
extensions: []
|