cocoapods-core 0.17.0.rc1 → 0.17.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a836c9588ccd3360f815711c6fa330f3ba985bf
|
4
|
+
data.tar.gz: d73fd15ad606d93ed8341ca3ef011685cdfc4ca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97eec73f16675a02d3aec24c4c8256b48d78be78ecf8fddbc837707ae913d2c2a632fcc2e301476cefce9806ecd70c4accf23d89775ca6228ad9022aea964bce
|
7
|
+
data.tar.gz: 701710ba878f52dbfb270ec94430a2820085fa60abff0accc27a9b256920be72a5f664a72fd420487d7efabd0ef2cf491930e45e787931443d9161b2274c1d15
|
@@ -274,10 +274,16 @@ module Pod
|
|
274
274
|
|
275
275
|
# @return [Array<Pathname>] the directories where the sources are stored.
|
276
276
|
#
|
277
|
+
# @note If the repos dir doesn't exits this will return an empty array.
|
278
|
+
#
|
277
279
|
# @raise If the repos dir doesn't exits.
|
278
280
|
#
|
279
281
|
def dirs
|
280
|
-
repos_dir.
|
282
|
+
if repos_dir.exist?
|
283
|
+
repos_dir.children.select(&:directory?)
|
284
|
+
else
|
285
|
+
[]
|
286
|
+
end
|
281
287
|
end
|
282
288
|
end
|
283
289
|
end
|
@@ -293,8 +293,8 @@ module Pod
|
|
293
293
|
# Check empty subspec attributes
|
294
294
|
#
|
295
295
|
def check_if_spec_is_empty
|
296
|
-
methods = %w[ source_files resources preserve_paths
|
297
|
-
empty = methods.all? { |m| consumer.send(m).empty? }
|
296
|
+
methods = %w[ source_files resources preserve_paths ]
|
297
|
+
empty = methods.all? { |m| consumer.send(m).empty? } && consumer.spec.subspecs.empty?
|
298
298
|
if empty
|
299
299
|
error "The spec appears to be empty (no source files, resources, or preserve paths)."
|
300
300
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.0.
|
4
|
+
version: 0.17.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|