ib 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ib.gemspec +1 -1
- data/lib/ib/project.rb +6 -5
- data/lib/ib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5972d89bdcf6cc7ede7b2eff7a134a4a5ba33508
|
4
|
+
data.tar.gz: 6c72ba95041786e54d8d6461eee6550dc62c018b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fdde6a3b9f7eb1a6baf63e69da6e6b6dd8f7a11f1ed4724711542c05416ae493420c93ac7c98cac496d33ad42fd45893aa4d1f56e891bd0ad1217e5e528dccd
|
7
|
+
data.tar.gz: f3fcd53efffc23eef801b09d34540f3b7366515095ffa9a2f1e691c4137564758011be958cdc4fbdb1446c6edb0ce8df16e9725361519e6aabf585ca97d94afd
|
data/ib.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = IB::VERSION
|
17
17
|
|
18
|
-
gem.add_dependency "xcodeproj", ">= 0.
|
18
|
+
gem.add_dependency "xcodeproj", ">= 0.10.1"
|
19
19
|
gem.add_dependency "thor", ">= 0.15.4"
|
20
20
|
|
21
21
|
gem.add_development_dependency "rspec", ">= 2.0"
|
data/lib/ib/project.rb
CHANGED
@@ -18,19 +18,20 @@ class IB::Project
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def write
|
21
|
-
|
21
|
+
ib_project = "ib.xcodeproj"
|
22
|
+
project = Xcodeproj::Project.new(ib_project)
|
22
23
|
target = project.new_target(:static_library, 'ib', platform)
|
23
24
|
|
24
25
|
resources = project.new_group("Resources")
|
25
26
|
resources.path = resources_path
|
26
27
|
|
27
28
|
support = project.new_group("Supporting Files")
|
28
|
-
support.path =
|
29
|
+
support.path = ib_project
|
29
30
|
|
30
31
|
pods = project.new_group("Pods")
|
31
32
|
pods.path = pods_headers_path
|
32
33
|
|
33
|
-
IB::Generator.new.write(Motion::Project::App.config.files,
|
34
|
+
IB::Generator.new.write(Motion::Project::App.config.files, ib_project)
|
34
35
|
|
35
36
|
support.new_file "ib.xcodeproj/Stubs.h"
|
36
37
|
file = support.new_file "ib.xcodeproj/Stubs.m"
|
@@ -58,6 +59,6 @@ class IB::Project
|
|
58
59
|
project.add_system_framework framework, target
|
59
60
|
end
|
60
61
|
|
61
|
-
project.
|
62
|
+
project.save(ib_project)
|
62
63
|
end
|
63
|
-
end
|
64
|
+
end
|
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.3.
|
4
|
+
version: 0.3.2
|
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: 2013-
|
12
|
+
date: 2013-09-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: xcodeproj
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '>='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.
|
20
|
+
version: 0.10.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
|
-
version: 0.
|
27
|
+
version: 0.10.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: thor
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|