ib 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ib.rb +2 -1
- data/lib/ib/dependency_resolver.rb +1 -0
- data/lib/ib/generator.rb +1 -0
- data/lib/ib/generator/rendering_helper.rb +1 -0
- data/lib/ib/oc_interface.rb +1 -0
- data/lib/ib/outlets.rb +1 -0
- data/lib/ib/parser.rb +1 -0
- data/lib/ib/project.rb +7 -5
- data/lib/ib/tasks.rb +2 -1
- data/lib/ib/version.rb +2 -1
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8250635e01fb42bfbdc5e3d780d5d75826ec66d5
|
4
|
+
data.tar.gz: 12abe2936386aea20d68beb00e574f711a808131
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdab0db80169d886231f0a209378f86cd06ac1b3fda1110fe561078686041e2526cb6cffb6fbe0b35270c9cabb488d19f0ae12ab330dd0339a8850a679916853
|
7
|
+
data.tar.gz: 5cc5dd020469989678337d1a5748bf920575a825085f1825647ce86734dbf6dd1b1b6d42dc5ad059007648daaa716960d4096a77133746a381fcb981c8359466
|
data/lib/ib.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
1
2
|
if defined?(Motion::Project::Config)
|
2
3
|
Motion::Project::App.setup do |app|
|
3
4
|
app.files.unshift File.join(File.dirname(__FILE__), 'ib/outlets.rb')
|
@@ -14,4 +15,4 @@ require 'ib/tasks'
|
|
14
15
|
require 'ib/parser'
|
15
16
|
require 'ib/version'
|
16
17
|
require 'ib/generator'
|
17
|
-
require 'ib/project'
|
18
|
+
require 'ib/project'
|
data/lib/ib/generator.rb
CHANGED
data/lib/ib/oc_interface.rb
CHANGED
data/lib/ib/outlets.rb
CHANGED
data/lib/ib/parser.rb
CHANGED
data/lib/ib/project.rb
CHANGED
@@ -1,11 +1,13 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
1
2
|
class IB::Project
|
2
|
-
attr_accessor :platform, :app_path, :resources_path, :pods_headers_path
|
3
|
+
attr_accessor :platform, :app_path, :resources_path, :pods_headers_path, :project_path
|
3
4
|
|
4
5
|
def initialize options={}
|
5
|
-
@platform = options[:platform]
|
6
|
-
@
|
7
|
-
@
|
8
|
-
@
|
6
|
+
@platform = options[:platform] || detect_platform || :ios
|
7
|
+
@project_path = options[:project_path] || Dir.pwd
|
8
|
+
@app_path = options[:app_path] || "#{project_path}/app"
|
9
|
+
@resources_path = options[:resources_path] || "#{project_path}/resources"
|
10
|
+
@pods_headers_path = options[:pods_headers_path] || "#{project_path}/vendor/Pods/Headers"
|
9
11
|
end
|
10
12
|
|
11
13
|
def detect_platform
|
data/lib/ib/tasks.rb
CHANGED
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yury Korolev
|
@@ -9,76 +9,76 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-04-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: xcodeproj
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 0.11.1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 0.11.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: thor
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 0.15.4
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 0.15.4
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: tilt
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: 1.4.1
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ">="
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 1.4.1
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rspec
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '2.0'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '2.0'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: rake
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
description: Magic rubymotion ib outlets support
|
@@ -90,9 +90,9 @@ executables:
|
|
90
90
|
extensions: []
|
91
91
|
extra_rdoc_files: []
|
92
92
|
files:
|
93
|
-
- .gitignore
|
94
|
-
- .rspec
|
95
|
-
- .travis.yml
|
93
|
+
- ".gitignore"
|
94
|
+
- ".rspec"
|
95
|
+
- ".travis.yml"
|
96
96
|
- Gemfile
|
97
97
|
- LICENSE
|
98
98
|
- README.md
|
@@ -143,17 +143,17 @@ require_paths:
|
|
143
143
|
- lib
|
144
144
|
required_ruby_version: !ruby/object:Gem::Requirement
|
145
145
|
requirements:
|
146
|
-
- -
|
146
|
+
- - ">="
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0'
|
149
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
150
|
requirements:
|
151
|
-
- -
|
151
|
+
- - ">="
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
155
|
rubyforge_project:
|
156
|
-
rubygems_version: 2.0
|
156
|
+
rubygems_version: 2.2.0
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: Small portion of love to interface builder with rubymotion
|