ib 0.4.6 → 0.4.7

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: d8c1560aa52a32b3a287c7667881caf9d38e35dc
4
- data.tar.gz: fca981ec3eca101ce386fd35204f20906f893db8
3
+ metadata.gz: 9e676c8d2573a9e25542fd84deb64519c04df3f1
4
+ data.tar.gz: 636255753ca6c03010a8deb6035b9236b9fb1b1d
5
5
  SHA512:
6
- metadata.gz: 636747d58bb626cb1d9601a03ab433ab6105377c72227104d7c15ab7df4a3efc25b322f7b104b807dec3a1e38d26feb0e03bad74621151f43f634b6145c0fc3d
7
- data.tar.gz: 07bb0817f3a607413c92eda1823b75092cc1c4ac3dea9bd1206a68e87f5d666f67d23247f6857bc8bb4ba7982424e334ee0115a993af76aa8c19abc067255615
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)
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.0)
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) }
@@ -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') ? 'UIResponder <UIApplicationDelegate>' : 'NSObject')
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
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module IB
3
- VERSION = '0.4.6'
3
+ VERSION = '0.4.7'
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.6
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-21 00:00:00.000000000 Z
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.3
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