xcodeproject 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. data/.rspec +2 -0
  2. data/README.md +5 -2
  3. data/lib/xcodeproject/version.rb +1 -1
  4. data/rakefile +3 -0
  5. data/{lib/xcodeproject/resources → resources}/example/dir1a/dir2a/dir3a/dir4a/file5a-a.h +0 -0
  6. data/{lib/xcodeproject/resources → resources}/example/dir1a/dir2a/dir3a/dir4a/file5a-a.m +0 -0
  7. data/{lib/xcodeproject/resources → resources}/example/dir1a/dir2a/dir3a/dir4a/file5a-r.h +0 -0
  8. data/{lib/xcodeproject/resources → resources}/example/dir1a/dir2a/dir3a/dir4a/file5a-r.m +0 -0
  9. data/{lib/xcodeproject/resources → resources}/example/dir1b/dir2b/file3b.m +0 -0
  10. data/{lib/xcodeproject/resources → resources}/example/dir1b/file2b.m +0 -0
  11. data/{lib/xcodeproject/resources → resources}/example/dir1c/file2c.h +0 -0
  12. data/{lib/xcodeproject/resources → resources}/example/dir1c/file2c.m +0 -0
  13. data/{lib/xcodeproject/resources → resources}/example/example/AppDelegate.h +0 -0
  14. data/{lib/xcodeproject/resources → resources}/example/example/AppDelegate.m +0 -0
  15. data/{lib/xcodeproject/resources → resources}/example/example/en.lproj/InfoPlist.strings +0 -0
  16. data/{lib/xcodeproject/resources → resources}/example/example/example-Info.plist +0 -0
  17. data/{lib/xcodeproject/resources → resources}/example/example/example-Prefix.pch +0 -0
  18. data/{lib/xcodeproject/resources → resources}/example/example/main.m +0 -0
  19. data/{lib/xcodeproject/resources → resources}/example/example.xcodeproj/project.pbxproj +0 -0
  20. data/{lib/xcodeproject/spec → spec}/build_phase_node_spec.rb +0 -0
  21. data/{lib/xcodeproject/spec → spec}/file_node_spec.rb +0 -0
  22. data/{lib/xcodeproject/spec → spec}/pbx_build_file_spec.rb +0 -0
  23. data/{lib/xcodeproject/spec → spec}/pbx_file_reference_spec.rb +0 -0
  24. data/{lib/xcodeproject/spec → spec}/pbx_group_spec.rb +0 -0
  25. data/{lib/xcodeproject/spec → spec}/pbx_native_target_spec.rb +0 -0
  26. data/{lib/xcodeproject/spec → spec}/pbx_project_spec.rb +0 -0
  27. data/{lib/xcodeproject/spec → spec}/project_spec.rb +0 -0
  28. data/{lib/xcodeproject/spec → spec}/spec_helper.rb +18 -9
  29. data/{lib/xcodeproject/spec → spec}/xc_configuration_list_spec.rb +0 -0
  30. data/xcodeproject.gemspec +1 -1
  31. metadata +41 -31
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  XcodeProject
2
2
  ===
3
- Ruby API for working with Xcode project files
3
+ The Ruby API for working with Xcode project files.
4
+
5
+ [![Pledgie Badge][pledgie_img]][pledgie]
4
6
 
5
7
  Installation
6
8
  ---
@@ -132,4 +134,5 @@ XcodeProject is provided under the terms of the [the MIT license][license]
132
134
 
133
135
  [xcodebuilder]:https://github.com/lukeredpath/xcodebuild-rb
134
136
  [license]:http://www.opensource.org/licenses/MIT
135
-
137
+ [pledgie]:http://pledgie.com/campaigns/17599
138
+ [pledgie_img]:http://www.pledgie.com/campaigns/17599.png?skin_name=chrome
@@ -1,3 +1,3 @@
1
1
  module XcodeProject
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
data/rakefile CHANGED
@@ -1,7 +1,10 @@
1
1
  #!/usr/bin/env rake
2
+
2
3
  require 'rubygems'
3
4
  require 'bundler/gem_tasks'
5
+ require 'rspec/core/rake_task'
4
6
  require 'yard'
5
7
 
8
+ RSpec::Core::RakeTask.new
6
9
  YARD::Rake::YardocTask.new
7
10
 
File without changes
File without changes
File without changes
File without changes
@@ -1,5 +1,22 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # Require this file using `require "spec_helper.rb"` to ensure that it is only
4
+ # loaded once.
1
5
  #
2
- # Example proj file hierarhy
6
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
+
8
+ require 'xcodeproject/project'
9
+ require 'xcodeproject/exceptions'
10
+ require 'rr'
11
+
12
+ RSpec.configure do |config|
13
+ config.treat_symbols_as_metadata_keys_with_true_values = true
14
+ config.run_all_when_everything_filtered = true
15
+ config.filter_run :focus
16
+ config.mock_with :rr
17
+ end
18
+
19
+ # Example project file hierarhy
3
20
  #
4
21
  # main
5
22
  # \--group1a
@@ -15,14 +32,6 @@
15
32
  # |--file2c.m
16
33
  # \--file2c.h
17
34
 
18
- require 'xcodeproject/project'
19
- require 'xcodeproject/exceptions'
20
- require 'rr'
21
-
22
- RSpec.configure do |config|
23
- config.mock_with :rr
24
- end
25
-
26
35
  def prepare_sandbox
27
36
  %x{ mkdir -p #{example_sandbox_path} } unless File.exist?(example_sandbox_path)
28
37
  end
data/xcodeproject.gemspec CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |gem|
5
5
  gem.name = 'xcodeproject'
6
6
  gem.version = XcodeProject::VERSION
7
7
  gem.summary = 'Read, write and build xcode projects'
8
- gem.description = 'XcodeProject is Ruby API for working with Xcode project files'
8
+ gem.description = 'XcodeProject is the Ruby API for working with Xcode project files'
9
9
  gem.author = 'Andrey Nesterov'
10
10
  gem.email = 'ae.nesterov@gmail.com'
11
11
  gem.homepage = 'https://github.com/manifest/xcodeproject'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 3
9
- version: 0.2.3
8
+ - 4
9
+ version: 0.2.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Andrey Nesterov
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-06-14 00:00:00 +04:00
17
+ date: 2012-06-15 00:00:00 +04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -95,7 +95,7 @@ dependencies:
95
95
  version: "0.7"
96
96
  type: :development
97
97
  version_requirements: *id006
98
- description: XcodeProject is Ruby API for working with Xcode project files
98
+ description: XcodeProject is the Ruby API for working with Xcode project files
99
99
  email: ae.nesterov@gmail.com
100
100
  executables: []
101
101
 
@@ -105,6 +105,7 @@ extra_rdoc_files: []
105
105
 
106
106
  files:
107
107
  - .gitignore
108
+ - .rspec
108
109
  - .yardopts
109
110
  - Gemfile
110
111
  - LICENSE
@@ -126,37 +127,37 @@ files:
126
127
  - lib/xcodeproject/pbx_native_target.rb
127
128
  - lib/xcodeproject/pbx_project.rb
128
129
  - lib/xcodeproject/project.rb
129
- - lib/xcodeproject/resources/example/dir1a/dir2a/dir3a/dir4a/file5a-a.h
130
- - lib/xcodeproject/resources/example/dir1a/dir2a/dir3a/dir4a/file5a-a.m
131
- - lib/xcodeproject/resources/example/dir1a/dir2a/dir3a/dir4a/file5a-r.h
132
- - lib/xcodeproject/resources/example/dir1a/dir2a/dir3a/dir4a/file5a-r.m
133
- - lib/xcodeproject/resources/example/dir1b/dir2b/file3b.m
134
- - lib/xcodeproject/resources/example/dir1b/file2b.m
135
- - lib/xcodeproject/resources/example/dir1c/file2c.h
136
- - lib/xcodeproject/resources/example/dir1c/file2c.m
137
- - lib/xcodeproject/resources/example/example.xcodeproj/project.pbxproj
138
- - lib/xcodeproject/resources/example/example/AppDelegate.h
139
- - lib/xcodeproject/resources/example/example/AppDelegate.m
140
- - lib/xcodeproject/resources/example/example/en.lproj/InfoPlist.strings
141
- - lib/xcodeproject/resources/example/example/example-Info.plist
142
- - lib/xcodeproject/resources/example/example/example-Prefix.pch
143
- - lib/xcodeproject/resources/example/example/main.m
144
130
  - lib/xcodeproject/root_node.rb
145
- - lib/xcodeproject/spec/build_phase_node_spec.rb
146
- - lib/xcodeproject/spec/file_node_spec.rb
147
- - lib/xcodeproject/spec/pbx_build_file_spec.rb
148
- - lib/xcodeproject/spec/pbx_file_reference_spec.rb
149
- - lib/xcodeproject/spec/pbx_group_spec.rb
150
- - lib/xcodeproject/spec/pbx_native_target_spec.rb
151
- - lib/xcodeproject/spec/pbx_project_spec.rb
152
- - lib/xcodeproject/spec/project_spec.rb
153
- - lib/xcodeproject/spec/spec_helper.rb
154
- - lib/xcodeproject/spec/xc_configuration_list_spec.rb
155
131
  - lib/xcodeproject/uuid_generator.rb
156
132
  - lib/xcodeproject/version.rb
157
133
  - lib/xcodeproject/xc_build_configuration.rb
158
134
  - lib/xcodeproject/xc_configuration_list.rb
159
135
  - rakefile
136
+ - resources/example/dir1a/dir2a/dir3a/dir4a/file5a-a.h
137
+ - resources/example/dir1a/dir2a/dir3a/dir4a/file5a-a.m
138
+ - resources/example/dir1a/dir2a/dir3a/dir4a/file5a-r.h
139
+ - resources/example/dir1a/dir2a/dir3a/dir4a/file5a-r.m
140
+ - resources/example/dir1b/dir2b/file3b.m
141
+ - resources/example/dir1b/file2b.m
142
+ - resources/example/dir1c/file2c.h
143
+ - resources/example/dir1c/file2c.m
144
+ - resources/example/example.xcodeproj/project.pbxproj
145
+ - resources/example/example/AppDelegate.h
146
+ - resources/example/example/AppDelegate.m
147
+ - resources/example/example/en.lproj/InfoPlist.strings
148
+ - resources/example/example/example-Info.plist
149
+ - resources/example/example/example-Prefix.pch
150
+ - resources/example/example/main.m
151
+ - spec/build_phase_node_spec.rb
152
+ - spec/file_node_spec.rb
153
+ - spec/pbx_build_file_spec.rb
154
+ - spec/pbx_file_reference_spec.rb
155
+ - spec/pbx_group_spec.rb
156
+ - spec/pbx_native_target_spec.rb
157
+ - spec/pbx_project_spec.rb
158
+ - spec/project_spec.rb
159
+ - spec/spec_helper.rb
160
+ - spec/xc_configuration_list_spec.rb
160
161
  - xcodeproject.gemspec
161
162
  has_rdoc: true
162
163
  homepage: https://github.com/manifest/xcodeproject
@@ -190,5 +191,14 @@ rubygems_version: 1.3.6
190
191
  signing_key:
191
192
  specification_version: 3
192
193
  summary: Read, write and build xcode projects
193
- test_files: []
194
-
194
+ test_files:
195
+ - spec/build_phase_node_spec.rb
196
+ - spec/file_node_spec.rb
197
+ - spec/pbx_build_file_spec.rb
198
+ - spec/pbx_file_reference_spec.rb
199
+ - spec/pbx_group_spec.rb
200
+ - spec/pbx_native_target_spec.rb
201
+ - spec/pbx_project_spec.rb
202
+ - spec/project_spec.rb
203
+ - spec/spec_helper.rb
204
+ - spec/xc_configuration_list_spec.rb