cocoapods 1.0.0.beta.7 → 1.0.0.beta.8

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: 3dad1137b88db30433224f32beb6b05fda8a7520
4
- data.tar.gz: 8dd9cf3861598c0cbf0edbd0ddddb48772a99980
3
+ metadata.gz: 750770f51d11c8442124a3c068f6711f1adf6fb8
4
+ data.tar.gz: 5052424563a03f5e35ea76cdea8c6b758e755d46
5
5
  SHA512:
6
- metadata.gz: e4f0c3204e161850bbb8f28146aa44217341c3bf789447332b828a18920f8b3a26ffc0e96c8253de20c384beea82ec24eb9048adab11279dcdebda1d88088224
7
- data.tar.gz: 6f5815cb525de8814396def649f642cf31745e2551935e9fa76795975217ccba909053e91cf63a928ef986f913948e920c66309b1187560244506ae7ac6b4001
6
+ metadata.gz: 9013646662d97e5f5757064dd08f3efd08317d528f1751a330d5290e1f5a4ee7dc422583beb79926dd3e12b9f7b0e3cf7615d522bb34cef1a2c695093a341bab
7
+ data.tar.gz: 40daf7fb664920be399bb7a78c16c9e73daa147fd9cbaa5d3e3c4a01269ad86d78c966ab98aa3733d8d8fa9bd5531e0b5d73007d311607cb7cb82acca9878980
@@ -4,6 +4,30 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
4
4
 
5
5
  To install release candidates run `[sudo] gem install cocoapods --pre`
6
6
 
7
+ ## 1.0.0.beta.8 (2016-04-15)
8
+
9
+ ##### Enhancements
10
+
11
+ * None.
12
+
13
+ ##### Bug Fixes
14
+
15
+ * Headers from vendored frameworks no longer end up in the `HEADER_SEARCH_PATH`
16
+ when using frameworks. They are now assumed to be already present as modular
17
+ headers in the framework itself.
18
+ [Mark Spanbroek](https://github.com/markspanbroek)
19
+ [#5146](https://github.com/CocoaPods/CocoaPods/pull/5146)
20
+
21
+ * Access to the `Pod::SourcesManager` constant has been restored, though its use
22
+ is considered deprecated and subject to removal at any time. Migrate to use
23
+ `Pod::Config.instance.sources_manager` in some manner as soon as possible.
24
+ [Samuel Giddins](https://github.com/segiddins)
25
+
26
+ * Running `pod repo update --silent` will now properly silence git output while
27
+ updating the repository.
28
+ [Samuel Giddins](https://github.com/segiddins)
29
+
30
+
7
31
  ## 1.0.0.beta.7 (2016-04-15)
8
32
 
9
33
  ##### Enhancements
@@ -19,7 +19,8 @@ module Pod
19
19
  end
20
20
 
21
21
  def run
22
- config.sources_manager.update(@name, true)
22
+ show_output = !config.silent?
23
+ config.sources_manager.update(@name, show_output)
23
24
  end
24
25
  end
25
26
  end
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the CocoaPods command line tool.
3
3
  #
4
- VERSION = '1.0.0.beta.7'.freeze unless defined? Pod::VERSION
4
+ VERSION = '1.0.0.beta.8'.freeze unless defined? Pod::VERSION
5
5
  end
@@ -135,8 +135,10 @@ module Pod
135
135
  end
136
136
  end
137
137
 
138
- vendored_frameworks_header_mappings(headers_sandbox, file_accessor).each do |namespaced_path, files|
139
- sandbox.public_headers.add_files(namespaced_path, files)
138
+ unless pod_target.requires_frameworks?
139
+ vendored_frameworks_header_mappings(headers_sandbox, file_accessor).each do |namespaced_path, files|
140
+ sandbox.public_headers.add_files(namespaced_path, files)
141
+ end
140
142
  end
141
143
  end
142
144
  end
@@ -153,4 +153,35 @@ module Pod
153
153
  UI.puts(message)
154
154
  end
155
155
  end
156
+
157
+ # @!visibility private
158
+ module SourcesManagerMissingConstant
159
+ SOURCES_MANAGER_CONSTANT_WARNINGS = Set.new
160
+
161
+ # Warn about deprecated use of `Pod::SourcesManager` and return the config's
162
+ # Source::Manager
163
+ #
164
+ # @param [#to_sym] const the missing constant
165
+ #
166
+ # @return [Pod::Source::Manager]
167
+ #
168
+ def const_missing(const)
169
+ unless const.to_sym == :SourcesManager &&
170
+ ancestors.any? { |a| a == ::Pod || a.name.start_with?('Pod::') }
171
+ return super
172
+ end
173
+
174
+ calling_line = caller.first
175
+ if Pod::SourcesManagerMissingConstant::SOURCES_MANAGER_CONSTANT_WARNINGS.add?(calling_line)
176
+ warn 'Usage of the constant `Pod::SourcesManager` is deprecated, ' \
177
+ 'use `Pod::Config.instance.sources_manager` instead ' \
178
+ "(called from #{calling_line})"
179
+ end
180
+
181
+ Config.instance.sources_manager
182
+ end
183
+ end
184
+
185
+ extend SourcesManagerMissingConstant
186
+ ::Object.send(:extend, SourcesManagerMissingConstant)
156
187
  end
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: 1.0.0.beta.7
4
+ version: 1.0.0.beta.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-04-14 00:00:00.000000000 Z
14
+ date: 2016-04-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: cocoapods-core
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 1.0.0.beta.7
22
+ version: 1.0.0.beta.8
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 1.0.0.beta.7
29
+ version: 1.0.0.beta.8
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -135,34 +135,28 @@ dependencies:
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 1.0.0.beta.3
138
+ version: 1.0.0.beta.4
139
139
  type: :runtime
140
140
  prerelease: false
141
141
  version_requirements: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 1.0.0.beta.3
145
+ version: 1.0.0.beta.4
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: cocoapods-try
148
148
  requirement: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
151
- - !ruby/object:Gem::Version
152
- version: 1.0.0.beta.3
153
- - - <
150
+ - - '='
154
151
  - !ruby/object:Gem::Version
155
- version: '2.0'
152
+ version: 1.0.0.beta.4
156
153
  type: :runtime
157
154
  prerelease: false
158
155
  version_requirements: !ruby/object:Gem::Requirement
159
156
  requirements:
160
- - - '>='
161
- - !ruby/object:Gem::Version
162
- version: 1.0.0.beta.3
163
- - - <
157
+ - - '='
164
158
  - !ruby/object:Gem::Version
165
- version: '2.0'
159
+ version: 1.0.0.beta.4
166
160
  - !ruby/object:Gem::Dependency
167
161
  name: molinillo
168
162
  requirement: !ruby/object:Gem::Requirement