pbxproject 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pbxproject/pbxproject.rb +5 -5
- data/pbxproject.gemspec +1 -1
- metadata +46 -54
@@ -142,17 +142,17 @@ module PBXProject
|
|
142
142
|
end
|
143
143
|
|
144
144
|
# Next line in multiline
|
145
|
-
if (item && m = line.match(/\s
|
145
|
+
if (item && m = line.match(/\s*(.*?) = (.*?)(?: \/\* (.*) \*\/)?;/))
|
146
146
|
if (group_name.count < 3)
|
147
|
-
# i = { :value => m[2], :comment => m[
|
148
|
-
item.instance_variable_set("@#{m[1]}", PBXTypes::BasicValue.new(:value => m[2], :comment => m[
|
147
|
+
# i = { :value => m[2], :comment => m[3] }
|
148
|
+
item.instance_variable_set("@#{m[1]}", PBXTypes::BasicValue.new(:value => m[2], :comment => m[3]))
|
149
149
|
else
|
150
150
|
grp = item.instance_variable_get("@#{group_name.last}")
|
151
151
|
if (!grp.kind_of?(Hash))
|
152
152
|
grp = {}
|
153
153
|
end
|
154
|
-
# grp[m[1]] = { :value => m[2], :comment => m[
|
155
|
-
grp[m[1]] = PBXTypes::BasicValue.new :value => m[2], :comment => m[
|
154
|
+
# grp[m[1]] = { :value => m[2], :comment => m[3] }
|
155
|
+
grp[m[1]] = PBXTypes::BasicValue.new :value => m[2], :comment => m[3]
|
156
156
|
item.instance_variable_set("@#{group_name.last}", grp)
|
157
157
|
end
|
158
158
|
|
data/pbxproject.gemspec
CHANGED
metadata
CHANGED
@@ -1,72 +1,69 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: pbxproject
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
4
5
|
prerelease:
|
5
|
-
version: 0.2.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Mikko Kokkonen
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-05-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: rspec
|
18
|
-
requirement: &
|
16
|
+
requirement: &70170589208080 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
18
|
+
requirements:
|
21
19
|
- - ~>
|
22
|
-
- !ruby/object:Gem::Version
|
20
|
+
- !ruby/object:Gem::Version
|
23
21
|
version: 2.3.0
|
24
22
|
type: :development
|
25
23
|
prerelease: false
|
26
|
-
version_requirements: *
|
27
|
-
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: *70170589208080
|
25
|
+
- !ruby/object:Gem::Dependency
|
28
26
|
name: bundler
|
29
|
-
requirement: &
|
27
|
+
requirement: &70170589207600 !ruby/object:Gem::Requirement
|
30
28
|
none: false
|
31
|
-
requirements:
|
29
|
+
requirements:
|
32
30
|
- - ~>
|
33
|
-
- !ruby/object:Gem::Version
|
31
|
+
- !ruby/object:Gem::Version
|
34
32
|
version: 1.0.0
|
35
33
|
type: :development
|
36
34
|
prerelease: false
|
37
|
-
version_requirements: *
|
38
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *70170589207600
|
36
|
+
- !ruby/object:Gem::Dependency
|
39
37
|
name: jeweler
|
40
|
-
requirement: &
|
38
|
+
requirement: &70170589207120 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
40
|
+
requirements:
|
43
41
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
42
|
+
- !ruby/object:Gem::Version
|
45
43
|
version: 1.5.2
|
46
44
|
type: :development
|
47
45
|
prerelease: false
|
48
|
-
version_requirements: *
|
49
|
-
- !ruby/object:Gem::Dependency
|
46
|
+
version_requirements: *70170589207120
|
47
|
+
- !ruby/object:Gem::Dependency
|
50
48
|
name: rcov
|
51
|
-
requirement: &
|
49
|
+
requirement: &70170589206640 !ruby/object:Gem::Requirement
|
52
50
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version:
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
57
55
|
type: :development
|
58
56
|
prerelease: false
|
59
|
-
version_requirements: *
|
57
|
+
version_requirements: *70170589206640
|
60
58
|
description: makes managing XCode 4 project files as easy as modifying ruby classes.
|
61
59
|
email: mikko.kokkonen@me.com
|
62
|
-
executables:
|
60
|
+
executables:
|
63
61
|
- pbxproject
|
64
62
|
extensions: []
|
65
|
-
|
66
|
-
extra_rdoc_files:
|
63
|
+
extra_rdoc_files:
|
67
64
|
- LICENSE.txt
|
68
65
|
- README.md
|
69
|
-
files:
|
66
|
+
files:
|
70
67
|
- .document
|
71
68
|
- .rspec
|
72
69
|
- Gemfile
|
@@ -85,37 +82,32 @@ files:
|
|
85
82
|
- pbxproject.gemspec
|
86
83
|
- spec/pbxproject_spec.rb
|
87
84
|
- spec/spec_helper.rb
|
88
|
-
has_rdoc: true
|
89
85
|
homepage: http://github.com/owl-forestry/pbxproject
|
90
|
-
licenses:
|
86
|
+
licenses:
|
91
87
|
- MIT
|
92
88
|
post_install_message:
|
93
89
|
rdoc_options: []
|
94
|
-
|
95
|
-
require_paths:
|
90
|
+
require_paths:
|
96
91
|
- lib
|
97
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
98
93
|
none: false
|
99
|
-
requirements:
|
100
|
-
- -
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
|
103
|
-
|
104
|
-
- 0
|
105
|
-
version: "0"
|
106
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ! '>='
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
99
|
none: false
|
108
|
-
requirements:
|
109
|
-
- -
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version:
|
112
|
-
requirements:
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
requirements:
|
113
105
|
- thor, if CLI wanted
|
114
106
|
rubyforge_project:
|
115
|
-
rubygems_version: 1.
|
107
|
+
rubygems_version: 1.8.10
|
116
108
|
signing_key:
|
117
109
|
specification_version: 3
|
118
110
|
summary: XCode 4 project management
|
119
|
-
test_files:
|
111
|
+
test_files:
|
120
112
|
- spec/pbxproject_spec.rb
|
121
113
|
- spec/spec_helper.rb
|