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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc66435cfe528826f654ee90f00c8a0bb9721d91
4
- data.tar.gz: 1a04d108d3a405a40089da32d95877cb4a922b0b
3
+ metadata.gz: 5972d89bdcf6cc7ede7b2eff7a134a4a5ba33508
4
+ data.tar.gz: 6c72ba95041786e54d8d6461eee6550dc62c018b
5
5
  SHA512:
6
- metadata.gz: 90835174ea6556b95b4391f9439201feeda54a399f61a0d805b2aa2158ef3b187cfbce6024681563d2b26ea92f2223c284fe64eb508c1875c36f4d410b5b02ae
7
- data.tar.gz: bc5656aa841af939a83176e83b97490a4a4827ed54e9cf05440663c739f5880a1502552e1678129305e808628e66c1e2c589235f4f6ad17d433ddab7d4effe81
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.4.1"
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
- project = Xcodeproj::Project.new
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 = "ib.xcodeproj"
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, "ib.xcodeproj")
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.save_as("ib.xcodeproj")
62
+ project.save(ib_project)
62
63
  end
63
- end
64
+ end
data/lib/ib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module IB
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  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.3.1
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-06-11 00:00:00.000000000 Z
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.4.1
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.4.1
27
+ version: 0.10.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: thor
30
30
  requirement: !ruby/object:Gem::Requirement