cocoapods-core 1.4.0.beta.2 → 1.4.0.rc.1

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: 04b207ad7a8be3b249df95233970fce16e662b04
4
- data.tar.gz: 131a182b0be16d16ece4207bced166973a85ba78
3
+ metadata.gz: b53774355dfbdd37fb89de9052dda31043285b56
4
+ data.tar.gz: 017f47154119851cbae250edf037d897bf7e4d69
5
5
  SHA512:
6
- metadata.gz: a2d83bbe5b1d2816b492ed9a06721824ef2b6e4838a655f1ea30fd7a5732cdf333a47474ed8160dfe8d959f5291384392e3b935d2c71c6c8c467b24a89889ddb
7
- data.tar.gz: c383a7b24f524330eded861d3d3309e144a899fee2c034b6a868df4b14eb0434186b1f7805c404bcbdcfe694e40a27772a08be777fc0f039c5e4c663e8c59474
6
+ metadata.gz: e1ddecd629652d3bc8dde45230312e3819d9abf960a90cf89cc9e6c2f1c4389803d318dca6b8d439ce6c7db180925d90ffdebf172bcb5505a86438c6dc5e9f76
7
+ data.tar.gz: d26a2dc930b4558ea45094f54f1ea1e95d8b7206e664e4607cb5597fcf9a23ffadac5d0bc66122cec5c7b440edde27e3b104bf0d90b2a39950774bc9ce7f06d8
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '1.4.0.beta.2'.freeze unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '1.4.0.rc.1'.freeze unless defined? Pod::CORE_VERSION
5
5
  end
@@ -126,6 +126,21 @@ module Pod
126
126
  root_attribute :version,
127
127
  :required => true
128
128
 
129
+ #------------------#
130
+
131
+ # @!method swift_version=(version)
132
+ #
133
+ # The version of Swift that the specification supports.
134
+ #
135
+ # @example
136
+ #
137
+ # spec.swift_version = '3.2'
138
+ #
139
+ # @param [String] swift_version
140
+ #
141
+ root_attribute :swift_version,
142
+ :multi_platform => false
143
+
129
144
  #-----------------------------------------------------------------------#
130
145
 
131
146
  # @!method cocoapods_version=(cocoapods_version)
@@ -40,6 +40,14 @@ module Pod
40
40
  end
41
41
  end
42
42
 
43
+ # @return [Version] The swift_versions required to use the specification.
44
+ #
45
+ def swift_version
46
+ @swift_version ||= if version = attributes_hash['swift_version']
47
+ Version.new(version)
48
+ end
49
+ end
50
+
43
51
  # @return [Requirement] The CocoaPods version required to use the specification.
44
52
  #
45
53
  def cocoapods_version
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: 1.4.0.beta.2
4
+ version: 1.4.0.rc.1
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: 2017-10-24 00:00:00.000000000 Z
12
+ date: 2017-12-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport