cocoapods 0.17.0.rc4 → 0.17.0.rc5
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 +1 -1
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/installer.rb +5 -1
- data/lib/cocoapods/installer/pod_source_installer.rb +1 -13
- data/lib/cocoapods/sandbox/path_list.rb +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f14fbda04711919eafcc049bfea4e5b80fa8c5b
|
4
|
+
data.tar.gz: 7a6d233fffe9ba5b93275cd1b70809ad0dee4ff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c87cfa4d804a1bd92a07b0b4988d2677aaecf2c11b58b3225d0c19ec051598e90d29909c4f102a90561db1e2059eca35b96d70624026567ce9bbdadf134e7bcc
|
7
|
+
data.tar.gz: 43fad267dcd2b7596c77180406ecf8b022a6b20548f1c5000166cda45e74bc7bf800bb2d7f9e9ac24620995701059e0c028e8cec2d9888482c9c7eccec2007aa
|
data/CHANGELOG.md
CHANGED
data/lib/cocoapods/installer.rb
CHANGED
@@ -243,7 +243,6 @@ module Pod
|
|
243
243
|
|
244
244
|
@pod_installers ||= []
|
245
245
|
pod_installer = PodSourceInstaller.new(sandbox, specs_by_platform)
|
246
|
-
pod_installer.clean = config.clean?
|
247
246
|
pod_installer.aggressive_cache = config.aggressive_cache?
|
248
247
|
pod_installer.generate_docs = config.generate_docs?
|
249
248
|
pod_installer.install_docs = config.install_docs?
|
@@ -252,7 +251,12 @@ module Pod
|
|
252
251
|
@installed_specs.concat(specs_by_platform.values.flatten)
|
253
252
|
end
|
254
253
|
|
254
|
+
# Cleans the sources of the Pods if the config instructs to do so.
|
255
|
+
#
|
256
|
+
# @todo Why the @pod_installers might be empty?
|
257
|
+
#
|
255
258
|
def clean_pod_sources
|
259
|
+
return unless config.clean?
|
256
260
|
return unless @pod_installers
|
257
261
|
@pod_installers.each do |pod_installer|
|
258
262
|
pod_installer.clean!
|
@@ -24,7 +24,6 @@ module Pod
|
|
24
24
|
@sandbox = sandbox
|
25
25
|
@specs_by_platform = specs_by_platform
|
26
26
|
|
27
|
-
@clean = true
|
28
27
|
@generate_docs = false
|
29
28
|
@install_docs = false
|
30
29
|
@aggressive_cache = false
|
@@ -42,12 +41,6 @@ module Pod
|
|
42
41
|
|
43
42
|
# @!group Configuration
|
44
43
|
|
45
|
-
# @return [Bool] whether the file not used by CocoaPods should be
|
46
|
-
# removed.
|
47
|
-
#
|
48
|
-
attr_accessor :clean
|
49
|
-
alias_method :clean?, :clean
|
50
|
-
|
51
44
|
# @return [Bool] whether the documentation should be generated for the
|
52
45
|
# Pod.
|
53
46
|
#
|
@@ -92,7 +85,7 @@ module Pod
|
|
92
85
|
# @return [void]
|
93
86
|
#
|
94
87
|
def clean!
|
95
|
-
clean_installation if
|
88
|
+
clean_installation if !local?
|
96
89
|
end
|
97
90
|
|
98
91
|
# @return [Hash]
|
@@ -133,10 +126,6 @@ module Pod
|
|
133
126
|
# @return [void]
|
134
127
|
#
|
135
128
|
def generate_docs
|
136
|
-
if @cleaned
|
137
|
-
raise Informative, "Attempt to generate the documentation from a cleaned Pod."
|
138
|
-
end
|
139
|
-
|
140
129
|
if documentation_generator.already_installed?
|
141
130
|
UI.section " > Using existing documentation"
|
142
131
|
else
|
@@ -153,7 +142,6 @@ module Pod
|
|
153
142
|
#
|
154
143
|
def clean_installation
|
155
144
|
clean_paths.each { |path| FileUtils.rm_rf(path) }
|
156
|
-
@cleaned = true
|
157
145
|
end
|
158
146
|
|
159
147
|
#-----------------------------------------------------------------------#
|
@@ -95,7 +95,10 @@ module Pod
|
|
95
95
|
|
96
96
|
list = Array(patterns).map do |pattern|
|
97
97
|
if pattern.is_a?(String)
|
98
|
-
|
98
|
+
if directory?(pattern) && dir_pattern
|
99
|
+
pattern += '/' unless pattern.end_with?('/')
|
100
|
+
pattern += dir_pattern
|
101
|
+
end
|
99
102
|
expanded_patterns = dir_glob_equivalent_patterns(pattern)
|
100
103
|
full_list.select do |path|
|
101
104
|
expanded_patterns.any? do |p|
|
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.rc5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
@@ -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.rc5
|
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.rc5
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: claide
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|