cocoapods-core 0.35.0.rc1 → 0.35.0.rc2

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: acbdd73d6fbc58893650122dcf22d2f2c23218bc
4
- data.tar.gz: da6b9b4be28ca16ea5a3fb2be80642e9493de0ab
3
+ metadata.gz: 5c025af4a27d6c1a0cc69644b4b8f3e88a2d31c9
4
+ data.tar.gz: a86d5560da6a0e0f99683cb412cde15e85dcd371
5
5
  SHA512:
6
- metadata.gz: dca18284145229944534fd07db387e8afdc190eeff2fb61048bee9b4de1233f0d218270b28ea8fa418396f94f7247da5f12cb8fc6a64fe312005be4791473055
7
- data.tar.gz: d1db51ab71bf788eb2dc08b1128cd98e6351d8a14aa796162ea046a3f53b4fc207673b4c4d9df8adf997f2db22e88b55b4ca5ca10e518f0639d292fdc49f1502
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
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '0.35.0.rc1' unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '0.35.0.rc2' unless defined? Pod::CORE_VERSION
5
5
  end
@@ -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 __transitioning__ is `true`.
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 do |s|
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.rc1
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-02 00:00:00.000000000 Z
12
+ date: 2014-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport