cocoapods 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c25c65ce92bbe864c71397e829e4d3937bc688ba
4
+ data.tar.gz: 3d0be603cb93b99462a6b4dae722faadf80f01c4
5
+ SHA512:
6
+ metadata.gz: 83945b68a115773fd383b35aa13040c20f7ee077b6465f3ae0408f7a8f2f31d0adc4509b3f6fe76f476b9aa147a8d9bd6c46ce3d957b037a4172e5b2bf4d84c2
7
+ data.tar.gz: da9910b5c607f58106c75a579ac3250b52bbeef09879c823785ad35305976e7568cfb07a568b97305f37d903603d9c62d71eac5c7f73ba7df55676c879939c6d
@@ -1,3 +1,25 @@
1
+ ## 0.17.2
2
+ [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.17.1...0.17.2)
3
+ • [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.17.1...0.17.2)
4
+
5
+ ###### Bug fixes
6
+
7
+ * Fix crash related to the specification of the workspace as a relative path.
8
+ [#920](https://github.com/CocoaPods/CocoaPods/issues/920)
9
+ * Fix an issue related to the `podspec` dsl directive of the Podfile for
10
+ specifications with internal dependencies.
11
+ [#928](https://github.com/CocoaPods/CocoaPods/issues/928)
12
+ * Fix crash related to search from the command line.
13
+ [#929](https://github.com/CocoaPods/CocoaPods/issues/929)
14
+
15
+ ###### Ancillary enhancements
16
+
17
+ * Enabled the FileList deprecation warning in the Linter.
18
+ * CocoaPods will raise if versions requirements are specified for dependencies
19
+ with external sources.
20
+ * The exclude patterns now handle folders automatically.
21
+
22
+
1
23
  ## 0.17.1
2
24
  [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.17.0...0.17.1)
3
25
  • [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.17.0...0.17.1)
@@ -70,7 +92,7 @@
70
92
  manually with the `pod ipc update-search-index` command.
71
93
  - Enhancements to the `pod repo lint` command.
72
94
  - CocoaPods will not create anymore the pre commit hook in the master repo
73
- during setup. If already created it is possible remove it deleting the
95
+ during setup. If already created it is possible remove it deleting the
74
96
  `~/.cocoapods/master/.git/hooks/pre-commit` path.
75
97
  - Improved support for linting and validating specs repo.
76
98
 
@@ -99,7 +121,7 @@
99
121
  - Fixed an issue which lead to the creation of a Pods project which would
100
122
  crash Xcode.
101
123
  [#854](https://github.com/CocoaPods/CocoaPods/issues/854)
102
- - Fixed a crash related to a `PBXVariantGroup` present in the frameworks build
124
+ - Fixed a crash related to a `PBXVariantGroup` present in the frameworks build
103
125
  phase of client targets.
104
126
  [#859](https://github.com/CocoaPods/CocoaPods/issues/859)
105
127
 
@@ -505,13 +505,12 @@ Pod::Spec.new do |s|
505
505
  # path will automatically have '*.{h,m,mm,c,cpp}' appended.
506
506
  #
507
507
  s.source_files = 'Classes', 'Classes/**/*.{h,m}'
508
+ s.exclude_files = 'Classes/Exclude'
508
509
 
509
510
  # A list of file patterns which select the header files that should be
510
511
  # made available to the application. If the pattern is a directory then the
511
512
  # path will automatically have '*.h' appended.
512
513
  #
513
- # Also allows the use of the FileList class like `source_files' does.
514
- #
515
514
  # If you do not explicitly set the list of public header files,
516
515
  # all headers of source_files will be made public.
517
516
  #
@@ -520,15 +519,12 @@ Pod::Spec.new do |s|
520
519
  # A list of resources included with the Pod. These are copied into the
521
520
  # target bundle with a build phase script.
522
521
  #
523
- # Also allows the use of the FileList class like `source_files' does.
524
- #
525
522
  # s.resource = "icon.png"
526
523
  # s.resources = "Resources/*.png"
527
524
 
528
525
  # A list of paths to preserve after installing the Pod.
529
526
  # CocoaPods cleans by default any file that is not used.
530
527
  # Please don't include documentation, example, and test files.
531
- # Also allows the use of the FileList class like `source_files' does.
532
528
  #
533
529
  # s.preserve_paths = "FilesToSave", "MoreFilesToSave"
534
530
 
@@ -2,6 +2,6 @@ module Pod
2
2
 
3
3
  # The version of the cocoapods command line tool.
4
4
  #
5
- VERSION = '0.17.1' unless defined? Pod::VERSION
5
+ VERSION = '0.17.2' unless defined? Pod::VERSION
6
6
  end
7
7
 
@@ -27,6 +27,8 @@ module Pod
27
27
  # @return [Pathname] The path of the prefix_header
28
28
  #
29
29
  def prefix_header_path
30
+ UI.warn "LibraryRepresentation#prefix_header_path is deprecated. " \
31
+ "Use the specification `prefix_header_contents` attribute."
30
32
  library.prefix_header_path
31
33
  end
32
34
  alias :prefix_header_filename :prefix_header_path
@@ -248,7 +248,7 @@ module Pod
248
248
  pod_installer.install_docs = config.install_docs?
249
249
  pod_installer.install!
250
250
  @pod_installers << pod_installer
251
- @installed_specs.concat(specs_by_platform.values.flatten)
251
+ @installed_specs.concat(specs_by_platform.values.flatten.uniq)
252
252
  end
253
253
 
254
254
  # Cleans the sources of the Pods if the config instructs to do so.
@@ -142,7 +142,11 @@ module Pod
142
142
  #
143
143
  def workspace_path
144
144
  if podfile.workspace_path
145
- Pathname.new(podfile.workspace_path)
145
+ declared_path = podfile.workspace_path
146
+ path_with_ext = File.extname(declared_path) == '.xcworkspace' ? declared_path : "#{declared_path}.xcworkspace"
147
+ podfile_dir = File.dirname(podfile.defined_in_file || '')
148
+ absolute_path = File.expand_path(path_with_ext, podfile_dir)
149
+ Pathname.new(absolute_path)
146
150
  elsif user_project_paths.count == 1
147
151
  project = user_project_paths.first.basename('.xcodeproj')
148
152
  installation_root + "#{project}.xcworkspace"
@@ -112,7 +112,10 @@ module Pod
112
112
  end.flatten
113
113
 
114
114
  list = list.map { |path| Pathname.new(path) }
115
- list -= relative_glob(exclude_patterns) if exclude_patterns
115
+ if exclude_patterns
116
+ exclude_options = { :dir_pattern => '**/*', :include_dirs => include_dirs }
117
+ list -= relative_glob(exclude_patterns, exclude_options)
118
+ end
116
119
  list
117
120
  end
118
121
 
@@ -95,7 +95,11 @@ module Pod
95
95
  def updated_search_index
96
96
  if search_index_path.exist?
97
97
  stored_index = YAML.load(search_index_path.read)
98
- search_index = aggregate.update_search_index(stored_index)
98
+ if stored_index && stored_index.is_a?(Hash)
99
+ search_index = aggregate.update_search_index(stored_index)
100
+ else
101
+ search_index = aggregate.generate_search_index
102
+ end
99
103
  else
100
104
  search_index = aggregate.generate_search_index
101
105
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1
5
- prerelease:
4
+ version: 0.17.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Eloy Duran
@@ -10,28 +9,25 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-03-30 00:00:00.000000000 Z
12
+ date: 2013-04-03 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: cocoapods-core
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - '='
21
19
  - !ruby/object:Gem::Version
22
- version: 0.17.1
20
+ version: 0.17.2
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - '='
29
26
  - !ruby/object:Gem::Version
30
- version: 0.17.1
27
+ version: 0.17.2
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: claide
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - ~>
37
33
  - !ruby/object:Gem::Version
@@ -39,7 +35,6 @@ dependencies:
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - ~>
45
40
  - !ruby/object:Gem::Version
@@ -47,7 +42,6 @@ dependencies:
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: cocoapods-downloader
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
46
  - - ~>
53
47
  - !ruby/object:Gem::Version
@@ -55,7 +49,6 @@ dependencies:
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
53
  - - ~>
61
54
  - !ruby/object:Gem::Version
@@ -63,7 +56,6 @@ dependencies:
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: xcodeproj
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
60
  - - ~>
69
61
  - !ruby/object:Gem::Version
@@ -71,7 +63,6 @@ dependencies:
71
63
  type: :runtime
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
67
  - - ~>
77
68
  - !ruby/object:Gem::Version
@@ -79,7 +70,6 @@ dependencies:
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: faraday
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
74
  - - ~>
85
75
  - !ruby/object:Gem::Version
@@ -87,7 +77,6 @@ dependencies:
87
77
  type: :runtime
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
81
  - - ~>
93
82
  - !ruby/object:Gem::Version
@@ -95,7 +84,6 @@ dependencies:
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: octokit
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
88
  - - ~>
101
89
  - !ruby/object:Gem::Version
@@ -103,7 +91,6 @@ dependencies:
103
91
  type: :runtime
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
95
  - - ~>
109
96
  - !ruby/object:Gem::Version
@@ -111,7 +98,6 @@ dependencies:
111
98
  - !ruby/object:Gem::Dependency
112
99
  name: colored
113
100
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
101
  requirements:
116
102
  - - ~>
117
103
  - !ruby/object:Gem::Version
@@ -119,7 +105,6 @@ dependencies:
119
105
  type: :runtime
120
106
  prerelease: false
121
107
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
108
  requirements:
124
109
  - - ~>
125
110
  - !ruby/object:Gem::Version
@@ -127,7 +112,6 @@ dependencies:
127
112
  - !ruby/object:Gem::Dependency
128
113
  name: escape
129
114
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
115
  requirements:
132
116
  - - ~>
133
117
  - !ruby/object:Gem::Version
@@ -135,7 +119,6 @@ dependencies:
135
119
  type: :runtime
136
120
  prerelease: false
137
121
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
122
  requirements:
140
123
  - - ~>
141
124
  - !ruby/object:Gem::Version
@@ -143,7 +126,6 @@ dependencies:
143
126
  - !ruby/object:Gem::Dependency
144
127
  name: json
145
128
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
129
  requirements:
148
130
  - - ~>
149
131
  - !ruby/object:Gem::Version
@@ -151,7 +133,6 @@ dependencies:
151
133
  type: :runtime
152
134
  prerelease: false
153
135
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
136
  requirements:
156
137
  - - ~>
157
138
  - !ruby/object:Gem::Version
@@ -159,7 +140,6 @@ dependencies:
159
140
  - !ruby/object:Gem::Dependency
160
141
  name: open4
161
142
  requirement: !ruby/object:Gem::Requirement
162
- none: false
163
143
  requirements:
164
144
  - - ~>
165
145
  - !ruby/object:Gem::Version
@@ -167,7 +147,6 @@ dependencies:
167
147
  type: :runtime
168
148
  prerelease: false
169
149
  version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
150
  requirements:
172
151
  - - ~>
173
152
  - !ruby/object:Gem::Version
@@ -175,7 +154,6 @@ dependencies:
175
154
  - !ruby/object:Gem::Dependency
176
155
  name: rake
177
156
  requirement: !ruby/object:Gem::Requirement
178
- none: false
179
157
  requirements:
180
158
  - - ~>
181
159
  - !ruby/object:Gem::Version
@@ -183,7 +161,6 @@ dependencies:
183
161
  type: :runtime
184
162
  prerelease: false
185
163
  version_requirements: !ruby/object:Gem::Requirement
186
- none: false
187
164
  requirements:
188
165
  - - ~>
189
166
  - !ruby/object:Gem::Version
@@ -191,7 +168,6 @@ dependencies:
191
168
  - !ruby/object:Gem::Dependency
192
169
  name: activesupport
193
170
  requirement: !ruby/object:Gem::Requirement
194
- none: false
195
171
  requirements:
196
172
  - - ~>
197
173
  - !ruby/object:Gem::Version
@@ -199,7 +175,6 @@ dependencies:
199
175
  type: :runtime
200
176
  prerelease: false
201
177
  version_requirements: !ruby/object:Gem::Requirement
202
- none: false
203
178
  requirements:
204
179
  - - ~>
205
180
  - !ruby/object:Gem::Version
@@ -207,7 +182,6 @@ dependencies:
207
182
  - !ruby/object:Gem::Dependency
208
183
  name: bacon
209
184
  requirement: !ruby/object:Gem::Requirement
210
- none: false
211
185
  requirements:
212
186
  - - ~>
213
187
  - !ruby/object:Gem::Version
@@ -215,21 +189,16 @@ dependencies:
215
189
  type: :development
216
190
  prerelease: false
217
191
  version_requirements: !ruby/object:Gem::Requirement
218
- none: false
219
192
  requirements:
220
193
  - - ~>
221
194
  - !ruby/object:Gem::Version
222
195
  version: '1.1'
223
- description: ! 'CocoaPods manages library dependencies for your Xcode project.
196
+ description: |-
197
+ CocoaPods manages library dependencies for your Xcode project.
224
198
 
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.
225
200
 
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.'
201
+ Ultimately, the goal is to improve discoverability of, and engagement in, third party open-source libraries, by creating a more centralized ecosystem.
233
202
  email:
234
203
  - eloy.de.enige@gmail.com
235
204
  - fabiopelosin@gmail.com
@@ -295,25 +264,24 @@ files:
295
264
  homepage: https://github.com/CocoaPods/CocoaPods
296
265
  licenses:
297
266
  - MIT
267
+ metadata: {}
298
268
  post_install_message:
299
269
  rdoc_options: []
300
270
  require_paths:
301
271
  - lib
302
272
  required_ruby_version: !ruby/object:Gem::Requirement
303
- none: false
304
273
  requirements:
305
- - - ! '>='
274
+ - - '>='
306
275
  - !ruby/object:Gem::Version
307
276
  version: '0'
308
277
  required_rubygems_version: !ruby/object:Gem::Requirement
309
- none: false
310
278
  requirements:
311
- - - ! '>='
279
+ - - '>='
312
280
  - !ruby/object:Gem::Version
313
281
  version: '0'
314
282
  requirements: []
315
283
  rubyforge_project:
316
- rubygems_version: 1.8.23
284
+ rubygems_version: 2.0.0
317
285
  signing_key:
318
286
  specification_version: 3
319
287
  summary: An Objective-C library package manager.