cocoapods 0.17.0.rc7 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,29 @@
1
1
  ## 0.17.0
2
+ [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.17.0.rc7...0.17.0)
3
+ • [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.17.0.rc7...0.17.0)
4
+
5
+ #### GM
6
+
7
+ ###### Bug fixes
8
+
9
+ * Don’t break when specifying doc options, but not appledoc ones.
10
+ [#906](https://github.com/CocoaPods/CocoaPods/issues/906)
11
+ * Sort resolved specifications.
12
+ [#907](https://github.com/CocoaPods/CocoaPods/issues/907)
13
+ * Subspecs do not need to include HEAD information.
14
+ [#905](https://github.com/CocoaPods/CocoaPods/issues/905)
15
+
16
+ ###### Ancillary enhancements
17
+
18
+ * Allow the analyzer to do its work without updating sources.
19
+ [motion-cocoapods#50](https://github.com/HipByte/motion-cocoapods/pull/50)
2
20
 
3
21
  #### rc7
4
22
  [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.17.0.rc6...0.17.0.rc7)
5
23
  • [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.17.0.rc6...0.17.0.rc7)
6
24
 
7
25
  ###### Bug fixes
26
+
8
27
  - Fixed an issue which lead to the missing declaration of the plural directives
9
28
  of the Specification DSL.
10
29
  [#816](https://github.com/CocoaPods/CocoaPods/issues/816)
@@ -2,6 +2,6 @@ module Pod
2
2
 
3
3
  # The version of the cocoapods command line tool.
4
4
  #
5
- VERSION = '0.17.0.rc7' unless defined? Pod::VERSION
5
+ VERSION = '0.17.0' unless defined? Pod::VERSION
6
6
  end
7
7
 
@@ -145,7 +145,7 @@ module Pod
145
145
  #
146
146
  def spec_appledoc_options
147
147
  return [] unless specification.documentation
148
- specification.documentation[:appledoc]
148
+ specification.documentation[:appledoc] || []
149
149
  end
150
150
 
151
151
  # @return [Array<String>] The list of the appledoc options followed by
@@ -45,14 +45,14 @@ module Pod
45
45
  #
46
46
  # @return [AnalysisResult]
47
47
  #
48
- def analyze
49
- update_repositories_if_needed
48
+ def analyze(allow_fetches = true)
49
+ update_repositories_if_needed if allow_fetches
50
50
  @result = AnalysisResult.new
51
51
  @result.podfile_state = generate_podfile_state
52
52
  @locked_dependencies = generate_version_locking_dependencies
53
53
 
54
54
  @result.libraries = generated_libraries
55
- fetch_external_sources
55
+ fetch_external_sources if allow_fetches
56
56
  @result.specs_by_target = resolve_dependencies
57
57
  @result.specifications = generate_specifications
58
58
  @result.sandbox_state = generate_sandbox_state
@@ -65,21 +65,24 @@ module Pod
65
65
  # CocoaPods project is already up to date.
66
66
  #
67
67
  def needs_install?
68
- podfile_needs_install? || sandbox_needs_install?
68
+ analysis_result = analyze(false)
69
+ podfile_needs_install?(analysis_result) || sandbox_needs_install?(analysis_result)
69
70
  end
70
71
 
71
72
  # @return [Bool] Whether the podfile has changes respect to the lockfile.
72
73
  #
73
- def podfile_needs_install?
74
- state = generate_podfile_state
74
+ def podfile_needs_install?(analysis_result)
75
+ state = analysis_result.podfile_state
75
76
  needing_install = state.added + state.changed + state.deleted
76
77
  !needing_install.empty?
77
78
  end
78
79
 
79
80
  # @return [Bool] Whether the sandbox is in synch with the lockfile.
80
81
  #
81
- def sandbox_needs_install?
82
- lockfile != sandbox.manifest
82
+ def sandbox_needs_install?(analysis_result)
83
+ state = analysis_result.sandbox_state
84
+ needing_install = state.added + state.changed + state.deleted
85
+ !needing_install.empty?
83
86
  end
84
87
 
85
88
  #-----------------------------------------------------------------------#
@@ -190,7 +190,7 @@ module Pod
190
190
  # the name of the Pod.
191
191
  #
192
192
  def resolved_spec_names(pod)
193
- specs.select { |s| s.root.name == pod }.map(&:name).uniq
193
+ specs.select { |s| s.root.name == pod }.map(&:name).uniq.sort
194
194
  end
195
195
 
196
196
  # @return [Array<String>] The name of the specifications stored in the
@@ -200,7 +200,7 @@ module Pod
200
200
  # the name of the Pod.
201
201
  #
202
202
  def sandbox_spec_names(pod)
203
- sandbox_manifest.pod_names.select { |name| Specification.root_name(name) == pod }.uniq
203
+ sandbox_manifest.pod_names.select { |name| Specification.root_name(name) == pod }.uniq.sort
204
204
  end
205
205
 
206
206
  # @return [Specification] The root specification for the Pod with the
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0.rc7
4
+ version: 0.17.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Eloy Duran
@@ -9,25 +10,28 @@ authors:
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-03-26 00:00:00.000000000 Z
13
+ date: 2013-03-29 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: cocoapods-core
16
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
17
19
  requirements:
18
20
  - - '='
19
21
  - !ruby/object:Gem::Version
20
- version: 0.17.0.rc7
22
+ version: 0.17.0
21
23
  type: :runtime
22
24
  prerelease: false
23
25
  version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
24
27
  requirements:
25
28
  - - '='
26
29
  - !ruby/object:Gem::Version
27
- version: 0.17.0.rc7
30
+ version: 0.17.0
28
31
  - !ruby/object:Gem::Dependency
29
32
  name: claide
30
33
  requirement: !ruby/object:Gem::Requirement
34
+ none: false
31
35
  requirements:
32
36
  - - ~>
33
37
  - !ruby/object:Gem::Version
@@ -35,6 +39,7 @@ dependencies:
35
39
  type: :runtime
36
40
  prerelease: false
37
41
  version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
38
43
  requirements:
39
44
  - - ~>
40
45
  - !ruby/object:Gem::Version
@@ -42,6 +47,7 @@ dependencies:
42
47
  - !ruby/object:Gem::Dependency
43
48
  name: cocoapods-downloader
44
49
  requirement: !ruby/object:Gem::Requirement
50
+ none: false
45
51
  requirements:
46
52
  - - ~>
47
53
  - !ruby/object:Gem::Version
@@ -49,6 +55,7 @@ dependencies:
49
55
  type: :runtime
50
56
  prerelease: false
51
57
  version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
52
59
  requirements:
53
60
  - - ~>
54
61
  - !ruby/object:Gem::Version
@@ -56,6 +63,7 @@ dependencies:
56
63
  - !ruby/object:Gem::Dependency
57
64
  name: xcodeproj
58
65
  requirement: !ruby/object:Gem::Requirement
66
+ none: false
59
67
  requirements:
60
68
  - - ~>
61
69
  - !ruby/object:Gem::Version
@@ -63,6 +71,7 @@ dependencies:
63
71
  type: :runtime
64
72
  prerelease: false
65
73
  version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
66
75
  requirements:
67
76
  - - ~>
68
77
  - !ruby/object:Gem::Version
@@ -70,6 +79,7 @@ dependencies:
70
79
  - !ruby/object:Gem::Dependency
71
80
  name: faraday
72
81
  requirement: !ruby/object:Gem::Requirement
82
+ none: false
73
83
  requirements:
74
84
  - - ~>
75
85
  - !ruby/object:Gem::Version
@@ -77,6 +87,7 @@ dependencies:
77
87
  type: :runtime
78
88
  prerelease: false
79
89
  version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
80
91
  requirements:
81
92
  - - ~>
82
93
  - !ruby/object:Gem::Version
@@ -84,6 +95,7 @@ dependencies:
84
95
  - !ruby/object:Gem::Dependency
85
96
  name: octokit
86
97
  requirement: !ruby/object:Gem::Requirement
98
+ none: false
87
99
  requirements:
88
100
  - - ~>
89
101
  - !ruby/object:Gem::Version
@@ -91,6 +103,7 @@ dependencies:
91
103
  type: :runtime
92
104
  prerelease: false
93
105
  version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
94
107
  requirements:
95
108
  - - ~>
96
109
  - !ruby/object:Gem::Version
@@ -98,6 +111,7 @@ dependencies:
98
111
  - !ruby/object:Gem::Dependency
99
112
  name: colored
100
113
  requirement: !ruby/object:Gem::Requirement
114
+ none: false
101
115
  requirements:
102
116
  - - ~>
103
117
  - !ruby/object:Gem::Version
@@ -105,6 +119,7 @@ dependencies:
105
119
  type: :runtime
106
120
  prerelease: false
107
121
  version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
108
123
  requirements:
109
124
  - - ~>
110
125
  - !ruby/object:Gem::Version
@@ -112,6 +127,7 @@ dependencies:
112
127
  - !ruby/object:Gem::Dependency
113
128
  name: escape
114
129
  requirement: !ruby/object:Gem::Requirement
130
+ none: false
115
131
  requirements:
116
132
  - - ~>
117
133
  - !ruby/object:Gem::Version
@@ -119,6 +135,7 @@ dependencies:
119
135
  type: :runtime
120
136
  prerelease: false
121
137
  version_requirements: !ruby/object:Gem::Requirement
138
+ none: false
122
139
  requirements:
123
140
  - - ~>
124
141
  - !ruby/object:Gem::Version
@@ -126,6 +143,7 @@ dependencies:
126
143
  - !ruby/object:Gem::Dependency
127
144
  name: json
128
145
  requirement: !ruby/object:Gem::Requirement
146
+ none: false
129
147
  requirements:
130
148
  - - ~>
131
149
  - !ruby/object:Gem::Version
@@ -133,6 +151,7 @@ dependencies:
133
151
  type: :runtime
134
152
  prerelease: false
135
153
  version_requirements: !ruby/object:Gem::Requirement
154
+ none: false
136
155
  requirements:
137
156
  - - ~>
138
157
  - !ruby/object:Gem::Version
@@ -140,6 +159,7 @@ dependencies:
140
159
  - !ruby/object:Gem::Dependency
141
160
  name: open4
142
161
  requirement: !ruby/object:Gem::Requirement
162
+ none: false
143
163
  requirements:
144
164
  - - ~>
145
165
  - !ruby/object:Gem::Version
@@ -147,6 +167,7 @@ dependencies:
147
167
  type: :runtime
148
168
  prerelease: false
149
169
  version_requirements: !ruby/object:Gem::Requirement
170
+ none: false
150
171
  requirements:
151
172
  - - ~>
152
173
  - !ruby/object:Gem::Version
@@ -154,6 +175,7 @@ dependencies:
154
175
  - !ruby/object:Gem::Dependency
155
176
  name: rake
156
177
  requirement: !ruby/object:Gem::Requirement
178
+ none: false
157
179
  requirements:
158
180
  - - ~>
159
181
  - !ruby/object:Gem::Version
@@ -161,6 +183,7 @@ dependencies:
161
183
  type: :runtime
162
184
  prerelease: false
163
185
  version_requirements: !ruby/object:Gem::Requirement
186
+ none: false
164
187
  requirements:
165
188
  - - ~>
166
189
  - !ruby/object:Gem::Version
@@ -168,6 +191,7 @@ dependencies:
168
191
  - !ruby/object:Gem::Dependency
169
192
  name: activesupport
170
193
  requirement: !ruby/object:Gem::Requirement
194
+ none: false
171
195
  requirements:
172
196
  - - ~>
173
197
  - !ruby/object:Gem::Version
@@ -175,6 +199,7 @@ dependencies:
175
199
  type: :runtime
176
200
  prerelease: false
177
201
  version_requirements: !ruby/object:Gem::Requirement
202
+ none: false
178
203
  requirements:
179
204
  - - ~>
180
205
  - !ruby/object:Gem::Version
@@ -182,6 +207,7 @@ dependencies:
182
207
  - !ruby/object:Gem::Dependency
183
208
  name: bacon
184
209
  requirement: !ruby/object:Gem::Requirement
210
+ none: false
185
211
  requirements:
186
212
  - - ~>
187
213
  - !ruby/object:Gem::Version
@@ -189,16 +215,21 @@ dependencies:
189
215
  type: :development
190
216
  prerelease: false
191
217
  version_requirements: !ruby/object:Gem::Requirement
218
+ none: false
192
219
  requirements:
193
220
  - - ~>
194
221
  - !ruby/object:Gem::Version
195
222
  version: '1.1'
196
- description: |-
197
- CocoaPods manages library dependencies for your Xcode project.
223
+ description: ! 'CocoaPods manages library dependencies for your Xcode project.
198
224
 
199
- You specify the dependencies for your project in one easy text file. CocoaPods resolves dependencies between libraries, fetches source code for the dependencies, and creates and maintains an Xcode workspace to build your project.
200
225
 
201
- Ultimately, the goal is to improve discoverability of, and engagement in, third party open-source libraries, by creating a more centralized ecosystem.
226
+ You specify the dependencies for your project in one easy text file. CocoaPods resolves
227
+ dependencies between libraries, fetches source code for the dependencies, and creates
228
+ and maintains an Xcode workspace to build your project.
229
+
230
+
231
+ Ultimately, the goal is to improve discoverability of, and engagement in, third
232
+ party open-source libraries, by creating a more centralized ecosystem.'
202
233
  email:
203
234
  - eloy.de.enige@gmail.com
204
235
  - fabiopelosin@gmail.com
@@ -264,24 +295,25 @@ files:
264
295
  homepage: https://github.com/CocoaPods/CocoaPods
265
296
  licenses:
266
297
  - MIT
267
- metadata: {}
268
298
  post_install_message:
269
299
  rdoc_options: []
270
300
  require_paths:
271
301
  - lib
272
302
  required_ruby_version: !ruby/object:Gem::Requirement
303
+ none: false
273
304
  requirements:
274
- - - '>='
305
+ - - ! '>='
275
306
  - !ruby/object:Gem::Version
276
307
  version: '0'
277
308
  required_rubygems_version: !ruby/object:Gem::Requirement
309
+ none: false
278
310
  requirements:
279
- - - '>='
311
+ - - ! '>='
280
312
  - !ruby/object:Gem::Version
281
313
  version: '0'
282
314
  requirements: []
283
315
  rubyforge_project:
284
- rubygems_version: 2.0.0
316
+ rubygems_version: 1.8.23
285
317
  signing_key:
286
318
  specification_version: 3
287
319
  summary: An Objective-C library package manager.
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: fa3862bf2d7d23dfc2a524e351ed09bb4215b3aa
4
- data.tar.gz: a314966e35cb47d1c127a5008166c6e603443ff2
5
- SHA512:
6
- metadata.gz: d2b4ecbf8fcf892753992925b67a6e36f443198d98e394e8c0c1130fec2b57709aad5ee4a12bfce1dd1cde437daeb99bb8f3eb3d2267f80ffbb6cd71db9deb14
7
- data.tar.gz: 91ba0c83d9a70ba52cc46f22ffeb078e5e3e1a1412e95cff85814e779626edcbf2ee0ed550816a2f6c42672a74b19198dca85eb0f2f73274d45fa097305c57e4