ib 0.4.6 → 0.4.7
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 +2 -2
- data/ib.gemspec +1 -0
- data/lib/ib/oc_interface.rb +3 -1
- data/lib/ib/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e676c8d2573a9e25542fd84deb64519c04df3f1
|
|
4
|
+
data.tar.gz: 636255753ca6c03010a8deb6035b9236b9fb1b1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 039734f27baa533dee8d3785e29b974f570a59c62b49b78bb8f56f7cab7c643bb5fe0a8a578efa5646c1dab4702391b84e4aa51aa2cac64aa92424c52e3f5089
|
|
7
|
+
data.tar.gz: 4cc2eb8df1ac6420868d09e23c14b0dd1420ae720e6415738bf6aaf20c2f327c9ec89637c15bcd446fbbb4335f4cb94b67b3bffe770e3b6f8fd8f377471dee53
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ib (0.4.
|
|
4
|
+
ib (0.4.7)
|
|
5
5
|
thor (~> 0.15.4)
|
|
6
6
|
tilt (~> 1.4.1)
|
|
7
7
|
xcodeproj (~> 0.16.0)
|
|
@@ -58,7 +58,7 @@ GEM
|
|
|
58
58
|
slop (3.5.0)
|
|
59
59
|
thor (0.15.4)
|
|
60
60
|
tilt (1.4.1)
|
|
61
|
-
xcodeproj (0.16.
|
|
61
|
+
xcodeproj (0.16.1)
|
|
62
62
|
activesupport (~> 3.0)
|
|
63
63
|
colored (~> 1.2)
|
|
64
64
|
|
data/ib.gemspec
CHANGED
|
@@ -7,6 +7,7 @@ Gem::Specification.new do |gem|
|
|
|
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/yury/ib"
|
|
10
|
+
gem.licenses = ['BSD']
|
|
10
11
|
|
|
11
12
|
gem.files = `git ls-files`.split($\)
|
|
12
13
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
data/lib/ib/oc_interface.rb
CHANGED
|
@@ -34,8 +34,10 @@ class IB::OCInterface
|
|
|
34
34
|
def super_class
|
|
35
35
|
# for support `ProMotion` gem https://github.com/yury/ib/pull/45
|
|
36
36
|
return 'UIViewController' if @super_class =~ /^(?:PM::|ProMotion::)/
|
|
37
|
+
delegate_class = App.template == :ios ? 'UIApplicationDelegate' : 'NSApplicationDelegate'
|
|
38
|
+
responder_class = App.template == :ios ? 'UIResponder' : 'NSObject'
|
|
37
39
|
@super_class ||
|
|
38
|
-
((@sub_class == 'AppDelegate') ?
|
|
40
|
+
((@sub_class == 'AppDelegate') ? "#{responder_class} <#{delegate_class}>" : 'NSObject')
|
|
39
41
|
end
|
|
40
42
|
|
|
41
43
|
def sub_class_dependencies
|
data/lib/ib/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.4.7
|
|
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-04-
|
|
12
|
+
date: 2014-04-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: xcodeproj
|
|
@@ -165,7 +165,8 @@ files:
|
|
|
165
165
|
- template/controller_helper.erb
|
|
166
166
|
- template/controller_spec.erb
|
|
167
167
|
homepage: https://github.com/yury/ib
|
|
168
|
-
licenses:
|
|
168
|
+
licenses:
|
|
169
|
+
- BSD
|
|
169
170
|
metadata: {}
|
|
170
171
|
post_install_message:
|
|
171
172
|
rdoc_options: []
|
|
@@ -183,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
183
184
|
version: '0'
|
|
184
185
|
requirements: []
|
|
185
186
|
rubyforge_project:
|
|
186
|
-
rubygems_version: 2.0.
|
|
187
|
+
rubygems_version: 2.0.14
|
|
187
188
|
signing_key:
|
|
188
189
|
specification_version: 4
|
|
189
190
|
summary: Small portion of love to interface builder with rubymotion
|