cocoapods 1.0.0.rc.1 → 1.0.0.rc.2

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: 985b3c38667faafd2578c63001e98ea612344ff4
4
- data.tar.gz: a52ebd6d0998d1853f568ec367136ee6bc83714b
3
+ metadata.gz: 10cc847dafb37dea6b8a09cb9580afe80d4d1106
4
+ data.tar.gz: e3c96f807164e680f6a85ecba67e9061f3100b4e
5
5
  SHA512:
6
- metadata.gz: 157feee6689c96fda7dcc79a7a8bc3670799056f74a0d977574c9d5913eff920f503a23967f324a2fc08b8323e5fa3213ae587bdd7ebea984838a592a3650c95
7
- data.tar.gz: 6827ef208e36db5ce03620020bed595f18474df44f627665511825452622faf8d31e6897743fc2364e007fe048470ad6c65ef4ad600e52dff9924d682c2f2611
6
+ metadata.gz: 6b4653c6071dfd503374ecc79fa454d121a76ea9b64733f7865a4fd01fc03ae97743d9b99f16dc2bda97de2be6c73b4b92510c757fefe9ac9ce4a0818992b2b1
7
+ data.tar.gz: 0edef28472879d501ce59e55777a3e693f9c9a3da6569947fd7244bd5738d7a85c7814518b1f51ecf332237388151a735fa5cc4db3b53234b64eee977b9fb8db
@@ -4,6 +4,24 @@ 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.rc.2 (2016-05-04)
8
+
9
+ ##### Enhancements
10
+
11
+ * None.
12
+
13
+ ##### Bug Fixes
14
+
15
+ * Handle when an abstract target has no declared platform without crashing.
16
+ [Samuel Giddins](https://github.com/segiddins)
17
+ [#5236](https://github.com/CocoaPods/CocoaPods/issues/5236)
18
+
19
+ * Don't recurse into child directories to find podspecs when running
20
+ `pod spec lint`.
21
+ [Samuel Giddins](https://github.com/segiddins)
22
+ [#5244](https://github.com/CocoaPods/CocoaPods/issues/5244)
23
+
24
+
7
25
  ## 1.0.0.rc.1 (2016-04-30)
8
26
 
9
27
  ##### Enhancements
@@ -11,12 +29,12 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
11
29
  * The `pod init` command now uses target inheritance for test targets
12
30
  in the generated Podfile.
13
31
  [Orta Therox](https://github.com/orta)
14
- [#4714](https://github.com/CocoaPods/CocoaPods/issue/4714)
32
+ [#4714](https://github.com/CocoaPods/CocoaPods/issues/4714)
15
33
 
16
34
  * Support customized build directories by letting user xcconfig definitions
17
35
  rely on the new overridable alias build variable `PODS_BUILD_DIR`.
18
- [Marius Rackwitz(https://github.com/mrackwitz]
19
- [#5217](https://github.com/CocoaPods/CocoaPods/issue/5217)
36
+ [Marius Rackwitz](https://github.com/mrackwitz)
37
+ [#5217](https://github.com/CocoaPods/CocoaPods/issues/5217)
20
38
 
21
39
  ##### Bug Fixes
22
40
 
@@ -99,7 +99,7 @@ module Pod
99
99
  end
100
100
  files << output_path
101
101
  elsif (pathname = Pathname.new(path)).directory?
102
- files += Pathname.glob(pathname + '**/*.podspec{.json,}')
102
+ files += Pathname.glob(pathname + '*.podspec{.json,}')
103
103
  raise Informative, 'No specs found in the current directory.' if files.empty?
104
104
  else
105
105
  files << (pathname = Pathname.new(path))
@@ -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.rc.1'.freeze unless defined? Pod::VERSION
4
+ VERSION = '1.0.0.rc.2'.freeze unless defined? Pod::VERSION
5
5
  end
@@ -577,7 +577,8 @@ module Pod
577
577
  def validate_platforms(specs_by_target)
578
578
  specs_by_target.each do |target, specs|
579
579
  specs.each do |spec|
580
- unless spec.available_platforms.any? { |p| target.platform.supports?(p) }
580
+ next unless target_platform = target.platform
581
+ unless spec.available_platforms.any? { |p| target_platform.supports?(p) }
581
582
  UI.warn "The platform of the target `#{target.name}` " \
582
583
  "(#{target.platform}) may not be compatible with `#{spec}` which has " \
583
584
  "a minimum requirement of #{spec.available_platforms.join(' - ')}."
@@ -56,7 +56,7 @@ module Pod
56
56
  def resolve
57
57
  dependencies = podfile.target_definition_list.flat_map do |target|
58
58
  target.dependencies.each do |dep|
59
- @platforms_by_dependency[dep].push(target.platform).uniq!
59
+ @platforms_by_dependency[dep].push(target.platform).uniq! if target.platform
60
60
  end
61
61
  end
62
62
  @activated = Molinillo::Resolver.new(self, self).resolve(dependencies, locked_dependencies)
@@ -363,7 +363,8 @@ module Pod
363
363
  # @return [void]
364
364
  #
365
365
  def validate_platform(spec, target)
366
- unless spec.available_platforms.any? { |p| target.platform.to_sym == p.to_sym }
366
+ return unless target_platform = target.platform
367
+ unless spec.available_platforms.any? { |p| target_platform.to_sym == p.to_sym }
367
368
  raise Informative, "The platform of the target `#{target.name}` " \
368
369
  "(#{target.platform}) is not compatible with `#{spec}`, which does " \
369
370
  "not support `#{target.platform.name}`."
@@ -418,7 +419,7 @@ module Pod
418
419
  end
419
420
  message << "\nYou should explicitly specify the version in order to install a pre-release version"
420
421
  elsif !conflict.existing
421
- conflict.requirements.values.flatten.each do |r|
422
+ conflict.requirements.values.flatten.uniq.each do |r|
422
423
  if search_for(r).empty?
423
424
  # There are no existing specification inside any of the spec repos with given requirements.
424
425
  message << "\n\nNone of your spec sources contain a spec satisfying the dependency: `#{r}`." \
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.rc.1
4
+ version: 1.0.0.rc.2
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-29 00:00:00.000000000 Z
14
+ date: 2016-05-04 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.rc.1
22
+ version: 1.0.0.rc.2
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.rc.1
29
+ version: 1.0.0.rc.2
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -47,14 +47,14 @@ dependencies:
47
47
  requirements:
48
48
  - - '='
49
49
  - !ruby/object:Gem::Version
50
- version: 1.0.0.rc.1
50
+ version: 1.0.0.rc.2
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - '='
56
56
  - !ruby/object:Gem::Version
57
- version: 1.0.0.rc.1
57
+ version: 1.0.0.rc.2
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: cocoapods-downloader
60
60
  requirement: !ruby/object:Gem::Requirement
@@ -159,14 +159,14 @@ dependencies:
159
159
  requirements:
160
160
  - - '='
161
161
  - !ruby/object:Gem::Version
162
- version: 1.0.0.rc.1
162
+ version: 1.0.0.rc.2
163
163
  type: :runtime
164
164
  prerelease: false
165
165
  version_requirements: !ruby/object:Gem::Requirement
166
166
  requirements:
167
167
  - - '='
168
168
  - !ruby/object:Gem::Version
169
- version: 1.0.0.rc.1
169
+ version: 1.0.0.rc.2
170
170
  - !ruby/object:Gem::Dependency
171
171
  name: activesupport
172
172
  requirement: !ruby/object:Gem::Requirement