cocoapods 0.17.0.rc6 → 0.17.0.rc7
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 +4 -4
- data/CHANGELOG.md +18 -0
- data/lib/cocoapods.rb +3 -1
- data/lib/cocoapods/file_list.rb +4 -15
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/resolver.rb +1 -1
- data/lib/cocoapods/sources_manager.rb +1 -1
- data/lib/cocoapods/user_interface.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa3862bf2d7d23dfc2a524e351ed09bb4215b3aa
|
4
|
+
data.tar.gz: a314966e35cb47d1c127a5008166c6e603443ff2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2b4ecbf8fcf892753992925b67a6e36f443198d98e394e8c0c1130fec2b57709aad5ee4a12bfce1dd1cde437daeb99bb8f3eb3d2267f80ffbb6cd71db9deb14
|
7
|
+
data.tar.gz: 91ba0c83d9a70ba52cc46f22ffeb078e5e3e1a1412e95cff85814e779626edcbf2ee0ed550816a2f6c42672a74b19198dca85eb0f2f73274d45fa097305c57e4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
## 0.17.0
|
2
2
|
|
3
|
+
#### rc7
|
4
|
+
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.17.0.rc6...0.17.0.rc7)
|
5
|
+
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.17.0.rc6...0.17.0.rc7)
|
6
|
+
|
7
|
+
###### Bug fixes
|
8
|
+
- Fixed an issue which lead to the missing declaration of the plural directives
|
9
|
+
of the Specification DSL.
|
10
|
+
[#816](https://github.com/CocoaPods/CocoaPods/issues/816)
|
11
|
+
- The resolver now respects the order of specification of the target
|
12
|
+
definitions.
|
13
|
+
- Restore usage of cache file to store a cache for expensive stats.
|
14
|
+
- Moved declaration of `Pod::FileList` to CocoaPods-core.
|
15
|
+
|
16
|
+
###### Ancillary enhancements
|
17
|
+
|
18
|
+
- Fine tuned the Specification linter and the health reporter of repositories.
|
19
|
+
- Search results are sorted.
|
20
|
+
|
3
21
|
#### rc6
|
4
22
|
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.17.0.rc5...0.17.0.rc6)
|
5
23
|
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.17.0.rc5...0.17.0.rc6)
|
data/lib/cocoapods.rb
CHANGED
@@ -21,7 +21,7 @@ module Pod
|
|
21
21
|
# @todo The {Installer::PodSourceInstaller} and the #{ExternalSources}
|
22
22
|
# classes build and configure the downloader from scratch.
|
23
23
|
#
|
24
|
-
CACHE_ROOT = "
|
24
|
+
CACHE_ROOT = "#{ENV['HOME']}/Library/Caches/CocoaPods"
|
25
25
|
|
26
26
|
# @return [Fixnum] The maximum size for the cache expressed in Mb.
|
27
27
|
#
|
@@ -30,6 +30,8 @@ module Pod
|
|
30
30
|
#
|
31
31
|
MAX_CACHE_SIZE = 500
|
32
32
|
|
33
|
+
Pod::Specification::Set::Statistics.instance.cache_file = Pathname.new(CACHE_ROOT) + 'statistics.yml'
|
34
|
+
|
33
35
|
autoload :Command, 'cocoapods/command'
|
34
36
|
autoload :Executable, 'cocoapods/executable'
|
35
37
|
autoload :ExternalSources, 'cocoapods/external_sources'
|
data/lib/cocoapods/file_list.rb
CHANGED
@@ -30,18 +30,7 @@ module Rake
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
class Pathname
|
38
|
-
alias_method :_original_sum, :+
|
39
|
-
def +(other)
|
40
|
-
if other.is_a?(Rake::FileList)
|
41
|
-
other.prepend_patterns(self)
|
42
|
-
other
|
43
|
-
else
|
44
|
-
_original_sum(other)
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
33
|
+
# TODO Defined in CocoaPods Core
|
34
|
+
# module Pod
|
35
|
+
# FileList = Rake::FileList
|
36
|
+
# end
|
data/lib/cocoapods/resolver.rb
CHANGED
@@ -58,7 +58,7 @@ module Pod
|
|
58
58
|
@cached_specs = {}
|
59
59
|
@specs_by_target = {}
|
60
60
|
|
61
|
-
target_definitions = podfile.
|
61
|
+
target_definitions = podfile.target_definition_list
|
62
62
|
target_definitions.each do |target|
|
63
63
|
UI.section "Resolving dependencies for target `#{target.name}' (#{target.platform})" do
|
64
64
|
@loaded_specs = []
|
@@ -74,7 +74,7 @@ module Pod
|
|
74
74
|
set_names << name if text.downcase.include?(query.downcase)
|
75
75
|
end
|
76
76
|
|
77
|
-
sets = set_names.map { |name| aggregate.represenative_set(name) }
|
77
|
+
sets = set_names.sort.map { |name| aggregate.represenative_set(name) }
|
78
78
|
if sets.empty?
|
79
79
|
extra = ", author, summary, or description" if full_text_search
|
80
80
|
raise Informative, "Unable to find a pod with name#{extra} matching `#{query}`"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.0.
|
4
|
+
version: 0.17.0.rc7
|
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-03-
|
12
|
+
date: 2013-03-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cocoapods-core
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.17.0.
|
20
|
+
version: 0.17.0.rc7
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.17.0.
|
27
|
+
version: 0.17.0.rc7
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: claide
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -171,14 +171,14 @@ dependencies:
|
|
171
171
|
requirements:
|
172
172
|
- - ~>
|
173
173
|
- !ruby/object:Gem::Version
|
174
|
-
version: 3.2.
|
174
|
+
version: 3.2.13
|
175
175
|
type: :runtime
|
176
176
|
prerelease: false
|
177
177
|
version_requirements: !ruby/object:Gem::Requirement
|
178
178
|
requirements:
|
179
179
|
- - ~>
|
180
180
|
- !ruby/object:Gem::Version
|
181
|
-
version: 3.2.
|
181
|
+
version: 3.2.13
|
182
182
|
- !ruby/object:Gem::Dependency
|
183
183
|
name: bacon
|
184
184
|
requirement: !ruby/object:Gem::Requirement
|