ib 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/lib/ib/generator.rb +2 -2
- data/lib/ib/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -110,7 +110,7 @@ class HelloController < UIViewController
|
|
110
110
|
end
|
111
111
|
```
|
112
112
|
|
113
|
-
Run `rake
|
113
|
+
Run `rake ib:open` create Storyboard or nibs (put them in resources folder) and you will be able to bind outlets and actions to your ruby code.
|
114
114
|
|
115
115
|
**Note** : add ib.xcodeproj to your .gitignore
|
116
116
|
|
@@ -120,7 +120,7 @@ Here is [sample app](https://github.com/yury/ibsample)
|
|
120
120
|
|
121
121
|
1. clone it
|
122
122
|
2. run `bundle`
|
123
|
-
3. run `rake
|
123
|
+
3. run `rake ib:open` to change story board
|
124
124
|
4. run `rake` to run app in simulator
|
125
125
|
|
126
126
|
**Note** : this app is build for iOS 6.0 beta 2
|
data/lib/ib/generator.rb
CHANGED
@@ -7,7 +7,7 @@ class IB::Generator
|
|
7
7
|
File.open("#{dest}/Stubs.h", 'w') do |f|
|
8
8
|
f.write <<-OBJC
|
9
9
|
// Generated by IB v#{IB::VERSION} gem. Do not edit it manually
|
10
|
-
// Run `rake
|
10
|
+
// Run `rake ib:open` to refresh
|
11
11
|
|
12
12
|
#import <Foundation/Foundation.h>
|
13
13
|
#import <CoreData/CoreData.h>
|
@@ -20,7 +20,7 @@ OBJC
|
|
20
20
|
File.open("#{dest}/Stubs.m", 'w') do |f|
|
21
21
|
f.write <<-OBJC
|
22
22
|
// Generated by IB v#{IB::VERSION} gem. Do not edit it manually
|
23
|
-
// Run `rake
|
23
|
+
// Run `rake ib:open` to refresh
|
24
24
|
|
25
25
|
#import "Stubs.h"
|
26
26
|
|
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.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
segments:
|
110
110
|
- 0
|
111
|
-
hash: -
|
111
|
+
hash: -1617517942573083833
|
112
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
113
|
none: false
|
114
114
|
requirements:
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
version: '0'
|
118
118
|
segments:
|
119
119
|
- 0
|
120
|
-
hash: -
|
120
|
+
hash: -1617517942573083833
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
123
|
rubygems_version: 1.8.24
|