xcoder 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
data/spec/scheme_spec.rb CHANGED
@@ -13,8 +13,8 @@ describe Xcode::Scheme do
13
13
  it "should parse project schemes" do
14
14
  scheme = project.scheme('TestProject')
15
15
  scheme.name.should=="TestProject"
16
- scheme.launch.target.name.should == 'TestProject'
17
- scheme.launch.target.project.name.should == 'TestProject'
16
+ scheme.build_targets.first.name.should == 'TestProject'
17
+ scheme.build_targets.first.project.name.should == 'TestProject'
18
18
  end
19
19
 
20
20
  it "should return an array of schemes" do
@@ -36,14 +36,14 @@ describe Xcode::Scheme do
36
36
  end
37
37
 
38
38
  it "should return an array of schemes" do
39
- workspace.schemes.size.should == 1
39
+ workspace.schemes.size.should == 7
40
40
  end
41
41
 
42
42
  it "should parse workspace schemes" do
43
43
  scheme = workspace.scheme('WorkspaceScheme')
44
44
  scheme.name.should=="WorkspaceScheme"
45
- scheme.launch.target.name.should == 'TestProject'
46
- scheme.launch.target.project.name.should == 'TestProject'
45
+ scheme.build_targets.first.name.should == 'TestProject'
46
+ scheme.build_targets.first.project.name.should == 'TestProject'
47
47
  end
48
48
  end
49
49
 
data/spec/xcode_spec.rb CHANGED
@@ -11,6 +11,7 @@ describe Xcode do
11
11
  let(:subject) { Xcode.projects }
12
12
 
13
13
  it "should find the project" do
14
+ puts subject.map {|p| p.name}
14
15
  subject.size.should == 1
15
16
  subject.first.name.should == "TestProject"
16
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcoder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-10-17 00:00:00.000000000Z
13
+ date: 2012-11-26 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
17
- requirement: &70132747482960 !ruby/object:Gem::Requirement
17
+ requirement: &70273992124040 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70132747482960
25
+ version_requirements: *70273992124040
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: plist
28
- requirement: &70132747482540 !ruby/object:Gem::Requirement
28
+ requirement: &70274003815880 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70132747482540
36
+ version_requirements: *70274003815880
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: nokogiri
39
- requirement: &70132747482120 !ruby/object:Gem::Requirement
39
+ requirement: &70274003815460 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70132747482120
47
+ version_requirements: *70274003815460
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: builder
50
- requirement: &70132747481700 !ruby/object:Gem::Requirement
50
+ requirement: &70274003815040 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *70132747481700
58
+ version_requirements: *70274003815040
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: rest-client
61
- requirement: &70132747481280 !ruby/object:Gem::Requirement
61
+ requirement: &70274003814620 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '0'
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *70132747481280
69
+ version_requirements: *70274003814620
70
70
  description: Provides a ruby based object-model for parsing project structures and
71
71
  invoking builds
72
72
  email:
@@ -85,6 +85,9 @@ files:
85
85
  - lib/xcode/build_file.rb
86
86
  - lib/xcode/build_phase.rb
87
87
  - lib/xcode/builder.rb
88
+ - lib/xcode/builder/base_builder.rb
89
+ - lib/xcode/builder/project_target_config_builder.rb
90
+ - lib/xcode/builder/scheme_builder.rb
88
91
  - lib/xcode/buildfile.rb
89
92
  - lib/xcode/configuration.rb
90
93
  - lib/xcode/configuration_list.rb
@@ -114,6 +117,7 @@ files:
114
117
  - lib/xcode/resource.rb
115
118
  - lib/xcode/scheme.rb
116
119
  - lib/xcode/shell.rb
120
+ - lib/xcode/shell/command.rb
117
121
  - lib/xcode/simple_identifier_generator.rb
118
122
  - lib/xcode/target.rb
119
123
  - lib/xcode/target_dependency.rb
@@ -173,6 +177,7 @@ files:
173
177
  - spec/parsers/spec_helper.rb
174
178
  - spec/project_spec.rb
175
179
  - spec/provisioning_profile_spec.rb
180
+ - spec/registry_spec.rb
176
181
  - spec/scheme_spec.rb
177
182
  - spec/spec_helper.rb
178
183
  - spec/target_spec.rb
@@ -246,6 +251,7 @@ test_files:
246
251
  - spec/parsers/spec_helper.rb
247
252
  - spec/project_spec.rb
248
253
  - spec/provisioning_profile_spec.rb
254
+ - spec/registry_spec.rb
249
255
  - spec/scheme_spec.rb
250
256
  - spec/spec_helper.rb
251
257
  - spec/target_spec.rb