cocoapods-core 0.35.0.rc1 → 0.35.0.rc2
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/lib/cocoapods-core/dependency.rb +0 -6
- data/lib/cocoapods-core/gem_version.rb +1 -1
- data/lib/cocoapods-core/source.rb +1 -1
- data/lib/cocoapods-core/specification/dsl.rb +1 -1
- data/lib/cocoapods-core/specification/set.rb +13 -0
- data/lib/cocoapods-core/specification.rb +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c025af4a27d6c1a0cc69644b4b8f3e88a2d31c9
|
4
|
+
data.tar.gz: a86d5560da6a0e0f99683cb412cde15e85dcd371
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c031202d296e7b9c4b0f505cca1075bf288d1a79129dc82159ddefac6e465082f83ff230877d0d3945d2720ac3ac2a587f05c36cb82fdb48d14d9191dbdb6388
|
7
|
+
data.tar.gz: 82e323612e5df41aa0c5b83ddbe615c88b09c070677c6edff8b4a3ed801390a364de0d351df25c19d649bd87a043aa37706c0eb46f7d066286480e7f026236be
|
@@ -26,12 +26,6 @@ module Pod
|
|
26
26
|
attr_accessor :head
|
27
27
|
alias_method :head?, :head
|
28
28
|
|
29
|
-
# @return [Bool] whether the dependency came from an invocation of
|
30
|
-
# {Specification#subspec_dependencies} or not.
|
31
|
-
#
|
32
|
-
attr_accessor :from_subspec_dependency
|
33
|
-
alias_method :from_subspec_dependency?, :from_subspec_dependency
|
34
|
-
|
35
29
|
# @overload initialize(name, requirements)
|
36
30
|
#
|
37
31
|
# @param [String] name
|
@@ -144,7 +144,7 @@ module Pod
|
|
144
144
|
end
|
145
145
|
unless specification_path.exist?
|
146
146
|
raise StandardError, "Unable to find the specification #{name} " \
|
147
|
-
"(#{version}) in the #{name} source."
|
147
|
+
"(#{version}) in the #{self.name} source."
|
148
148
|
end
|
149
149
|
specification_path
|
150
150
|
end
|
@@ -602,7 +602,7 @@ module Pod
|
|
602
602
|
#
|
603
603
|
# Whether the library requires ARC to be compiled. If true the
|
604
604
|
# `-fobjc-arc` flag will be added to the compiler flags.
|
605
|
-
# The default value of this attribute is
|
605
|
+
# The default value of this attribute is `true`.
|
606
606
|
#
|
607
607
|
# @example
|
608
608
|
#
|
@@ -147,6 +147,19 @@ module Pod
|
|
147
147
|
[specification.version]
|
148
148
|
end
|
149
149
|
end
|
150
|
+
|
151
|
+
#-----------------------------------------------------------------------#
|
152
|
+
|
153
|
+
# The Set::Head class handles Pods in head mode. Pods in head
|
154
|
+
# mode don't use the {Source} and are initialized by a given
|
155
|
+
# specification.
|
156
|
+
#
|
157
|
+
class Head < External
|
158
|
+
def initialize(spec)
|
159
|
+
super
|
160
|
+
specification.version.head = true
|
161
|
+
end
|
162
|
+
end
|
150
163
|
end
|
151
164
|
end
|
152
165
|
end
|
@@ -246,9 +246,7 @@ module Pod
|
|
246
246
|
if platform
|
247
247
|
specs = specs.select { |s| s.supported_on_platform?(platform) }
|
248
248
|
end
|
249
|
-
specs.map
|
250
|
-
Dependency.new(s.name, version).tap { |d| d.from_subspec_dependency = self }
|
251
|
-
end
|
249
|
+
specs.map { |s| Dependency.new(s.name, version) }
|
252
250
|
end
|
253
251
|
|
254
252
|
# Returns the dependencies on other Pods or subspecs of other Pods.
|
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.35.0.
|
4
|
+
version: 0.35.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: 2014-11-
|
12
|
+
date: 2014-11-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|