xcodeproj 0.14.1 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -7
- data/README.md +4 -5
- data/ext/xcodeproj/prebuilt/universal-darwin12.0-1.8.7/xcodeproj_ext.bundle +0 -0
- data/ext/xcodeproj/prebuilt/universal.x86_64-darwin13-2.0.0/xcodeproj_ext.bundle +0 -0
- data/ext/xcodeproj/xcodeproj_ext.c +3 -0
- data/lib/xcodeproj/constants.rb +3 -4
- data/lib/xcodeproj/gem_version.rb +1 -1
- data/lib/xcodeproj/project.rb +2 -2
- data/lib/xcodeproj.rb +7 -0
- metadata +74 -63
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
5
|
-
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d292103f9a81149e346ae94abbffe88d7c3c92b3
|
4
|
+
data.tar.gz: e1efaa45f48fce26ceffec635f91d88b7b60ec55
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 687343f0917306f9db503c052797e68b37ba5d480727f0fc9a7f7fabeb8df2d21ca73b86e958944e66a49cb8343ebe7a04f7d9a3a7b89a87a48dcad6f29f1ada
|
7
|
+
data.tar.gz: 5b7262008a959846ba5972f084410cb31e80634ff76e290305cff204213798ad6fdf9fda7de241fe7960220d8bb8eba8ae21028e40fb2b6f8f1d5fed0fddc0a8
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Xcodeproj
|
2
2
|
|
3
|
-
[](https://travis-ci.org/CocoaPods/Xcodeproj)
|
4
|
+
[](https://coveralls.io/r/CocoaPods/Xcodeproj)
|
5
|
+
[](https://codeclimate.com/github/CocoaPods/Xcodeproj)
|
6
6
|
|
7
7
|
Xcodeproj lets you create and modify Xcode projects from [Ruby][ruby].
|
8
8
|
Script boring management tasks or build Xcode-friendly libraries. Also includes
|
@@ -24,8 +24,7 @@ by performing the following command:
|
|
24
24
|
## Collaborate
|
25
25
|
|
26
26
|
All Xcodeproj development happens on [GitHub][xcodeproj]. Contributing patches
|
27
|
-
is really easy and gratifying.
|
28
|
-
is accepted.
|
27
|
+
is really easy and gratifying.
|
29
28
|
|
30
29
|
Follow [@CocoaPods][twitter] to get up to date information about what's
|
31
30
|
going on in the CocoaPods world.
|
Binary file
|
Binary file
|
@@ -181,6 +181,8 @@ str_to_url(VALUE path) {
|
|
181
181
|
return fileURL;
|
182
182
|
}
|
183
183
|
|
184
|
+
#pragma GCC diagnostic push
|
185
|
+
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
184
186
|
|
185
187
|
/* @overload read_plist(path)
|
186
188
|
*
|
@@ -272,6 +274,7 @@ write_plist(VALUE self, VALUE hash, VALUE path) {
|
|
272
274
|
return success ? Qtrue : Qfalse;
|
273
275
|
}
|
274
276
|
|
277
|
+
#pragma GCC diagnostic pop
|
275
278
|
|
276
279
|
void Init_xcodeproj_ext() {
|
277
280
|
Xcodeproj = rb_define_module("Xcodeproj");
|
data/lib/xcodeproj/constants.rb
CHANGED
@@ -6,11 +6,11 @@ module Xcodeproj
|
|
6
6
|
|
7
7
|
# @return [String] The last known iOS SDK (stable).
|
8
8
|
#
|
9
|
-
LAST_KNOWN_IOS_SDK = '7.
|
9
|
+
LAST_KNOWN_IOS_SDK = '7.1'
|
10
10
|
|
11
11
|
# @return [String] The last known OS X SDK (stable).
|
12
12
|
#
|
13
|
-
LAST_KNOWN_OSX_SDK = '10.
|
13
|
+
LAST_KNOWN_OSX_SDK = '10.9'
|
14
14
|
|
15
15
|
# @return [String] The last known archive version to Xcodeproj.
|
16
16
|
#
|
@@ -22,7 +22,7 @@ module Xcodeproj
|
|
22
22
|
|
23
23
|
# @return [String] The last known object version to Xcodeproj.
|
24
24
|
#
|
25
|
-
LAST_UPGRADE_CHECK = '
|
25
|
+
LAST_UPGRADE_CHECK = '0510'
|
26
26
|
|
27
27
|
# @return [Hash] The all the known ISAs grouped by superclass.
|
28
28
|
#
|
@@ -119,7 +119,6 @@ module Xcodeproj
|
|
119
119
|
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
|
120
120
|
'GCC_C_LANGUAGE_STANDARD' => 'gnu99',
|
121
121
|
'INSTALL_PATH' => "$(BUILT_PRODUCTS_DIR)",
|
122
|
-
'OTHER_LDFLAGS' => '',
|
123
122
|
'COPY_PHASE_STRIP' => 'YES',
|
124
123
|
}.freeze,
|
125
124
|
:debug => {
|
data/lib/xcodeproj/project.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
require 'fileutils'
|
2
2
|
require 'pathname'
|
3
3
|
|
4
|
-
require 'xcodeproj/ext'
|
5
4
|
require 'xcodeproj/project/object'
|
6
5
|
require 'xcodeproj/project/project_helper'
|
7
6
|
require 'xcodeproj/project/xcproj_helper'
|
@@ -48,6 +47,7 @@ module Xcodeproj
|
|
48
47
|
attr_reader :path
|
49
48
|
|
50
49
|
# @param [Pathname, String] path @see path
|
50
|
+
# The path provided will be expanded to an absolute path.
|
51
51
|
# @param [Bool] skip_initialization
|
52
52
|
# Wether the project should be initialized from scratch.
|
53
53
|
#
|
@@ -55,7 +55,7 @@ module Xcodeproj
|
|
55
55
|
# Project.new("path/to/Project.xcodeproj")
|
56
56
|
#
|
57
57
|
def initialize(path, skip_initialization = false)
|
58
|
-
@path = Pathname.new(path)
|
58
|
+
@path = Pathname.new(path).expand_path
|
59
59
|
@objects_by_uuid = {}
|
60
60
|
@generated_uuids = []
|
61
61
|
@available_uuids = []
|
data/lib/xcodeproj.rb
CHANGED
@@ -21,3 +21,10 @@ module Xcodeproj
|
|
21
21
|
autoload :XCScheme, 'xcodeproj/scheme'
|
22
22
|
autoload :XcodebuildHelper, 'xcodeproj/xcodebuild_helper'
|
23
23
|
end
|
24
|
+
|
25
|
+
# TODO It appears that loading the C ext from xcodeproj/project while it's
|
26
|
+
# being autoloaded doesn't actually define the singleton methods. Ruby bug?
|
27
|
+
#
|
28
|
+
# This leads to `NoMethodError: undefined method write_plist for Xcodeproj:Module`
|
29
|
+
# working around it by always loading the ext ASAP.
|
30
|
+
require 'xcodeproj/ext'
|
metadata
CHANGED
@@ -1,69 +1,89 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcodeproj
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Eloy Duran
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-03-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: "0"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
23
20
|
type: :runtime
|
24
|
-
version_requirements: *id001
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: activesupport
|
27
21
|
prerelease: false
|
28
|
-
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.0'
|
33
34
|
type: :runtime
|
34
|
-
version_requirements: *id002
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: colored
|
37
35
|
prerelease: false
|
38
|
-
|
39
|
-
requirements:
|
40
|
-
- - ~>
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: colored
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.2'
|
43
48
|
type: :runtime
|
44
|
-
|
45
|
-
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.2'
|
55
|
+
description: Xcodeproj lets you create and modify Xcode projects from Ruby. Script
|
56
|
+
boring management tasks or build Xcode-friendly libraries. Also includes support
|
57
|
+
for Xcode workspaces (.xcworkspace) and configuration files (.xcconfig).
|
46
58
|
email: eloy.de.enige@gmail.com
|
47
|
-
executables:
|
59
|
+
executables:
|
48
60
|
- xcodeproj
|
49
|
-
extensions:
|
61
|
+
extensions:
|
50
62
|
- ext/xcodeproj/Rakefile
|
51
63
|
extra_rdoc_files: []
|
52
|
-
|
53
|
-
files:
|
54
|
-
- README.md
|
64
|
+
files:
|
55
65
|
- LICENSE
|
66
|
+
- README.md
|
67
|
+
- bin/xcodeproj
|
68
|
+
- ext/xcodeproj/Rakefile
|
69
|
+
- ext/xcodeproj/extconf.rb
|
70
|
+
- ext/xcodeproj/prebuilt/universal-darwin12.0-1.8.7/xcodeproj_ext.bundle
|
71
|
+
- ext/xcodeproj/prebuilt/universal.x86_64-darwin13-2.0.0/xcodeproj_ext.bundle
|
72
|
+
- ext/xcodeproj/xcodeproj_ext.c
|
73
|
+
- lib/xcodeproj.rb
|
74
|
+
- lib/xcodeproj/command.rb
|
56
75
|
- lib/xcodeproj/command/project_diff.rb
|
57
76
|
- lib/xcodeproj/command/show.rb
|
58
77
|
- lib/xcodeproj/command/sort.rb
|
59
78
|
- lib/xcodeproj/command/target_diff.rb
|
60
|
-
- lib/xcodeproj/command.rb
|
61
79
|
- lib/xcodeproj/config.rb
|
62
80
|
- lib/xcodeproj/constants.rb
|
63
81
|
- lib/xcodeproj/differ.rb
|
64
82
|
- lib/xcodeproj/ext.rb
|
65
83
|
- lib/xcodeproj/gem_version.rb
|
66
84
|
- lib/xcodeproj/helper.rb
|
85
|
+
- lib/xcodeproj/project.rb
|
86
|
+
- lib/xcodeproj/project/object.rb
|
67
87
|
- lib/xcodeproj/project/object/build_configuration.rb
|
68
88
|
- lib/xcodeproj/project/object/build_file.rb
|
69
89
|
- lib/xcodeproj/project/object/build_phase.rb
|
@@ -78,49 +98,40 @@ files:
|
|
78
98
|
- lib/xcodeproj/project/object/reference_proxy.rb
|
79
99
|
- lib/xcodeproj/project/object/root_object.rb
|
80
100
|
- lib/xcodeproj/project/object/target_dependency.rb
|
81
|
-
- lib/xcodeproj/project/object.rb
|
82
101
|
- lib/xcodeproj/project/object_attributes.rb
|
83
102
|
- lib/xcodeproj/project/object_dictionary.rb
|
84
103
|
- lib/xcodeproj/project/object_list.rb
|
85
104
|
- lib/xcodeproj/project/project_helper.rb
|
86
105
|
- lib/xcodeproj/project/xcproj_helper.rb
|
87
|
-
- lib/xcodeproj/project.rb
|
88
106
|
- lib/xcodeproj/scheme.rb
|
89
107
|
- lib/xcodeproj/user_interface.rb
|
90
108
|
- lib/xcodeproj/workspace.rb
|
91
109
|
- lib/xcodeproj/xcodebuild_helper.rb
|
92
|
-
- lib/xcodeproj.rb
|
93
|
-
- ext/xcodeproj/Rakefile
|
94
|
-
- ext/xcodeproj/extconf.rb
|
95
|
-
- ext/xcodeproj/xcodeproj_ext.c
|
96
|
-
- ext/xcodeproj/prebuilt/universal-darwin12.0-1.8.7/xcodeproj_ext.bundle
|
97
|
-
- ext/xcodeproj/prebuilt/universal.x86_64-darwin13-2.0.0/xcodeproj_ext.bundle
|
98
|
-
- bin/xcodeproj
|
99
110
|
homepage: https://github.com/cocoapods/xcodeproj
|
100
|
-
licenses:
|
111
|
+
licenses:
|
101
112
|
- MIT
|
102
113
|
metadata: {}
|
103
|
-
|
104
114
|
post_install_message:
|
105
|
-
rdoc_options:
|
106
|
-
- -x
|
115
|
+
rdoc_options:
|
116
|
+
- "-x"
|
107
117
|
- ext/.+\.(o|bundle)
|
108
|
-
require_paths:
|
118
|
+
require_paths:
|
109
119
|
- ext
|
110
120
|
- lib
|
111
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
112
|
-
requirements:
|
113
|
-
-
|
114
|
-
|
115
|
-
|
116
|
-
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
117
131
|
requirements: []
|
118
|
-
|
119
132
|
rubyforge_project:
|
120
|
-
rubygems_version: 2.
|
133
|
+
rubygems_version: 2.2.2
|
121
134
|
signing_key:
|
122
135
|
specification_version: 3
|
123
136
|
summary: Create and modify Xcode projects from Ruby.
|
124
137
|
test_files: []
|
125
|
-
|
126
|
-
has_rdoc:
|