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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b53774355dfbdd37fb89de9052dda31043285b56
|
4
|
+
data.tar.gz: 017f47154119851cbae250edf037d897bf7e4d69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1ddecd629652d3bc8dde45230312e3819d9abf960a90cf89cc9e6c2f1c4389803d318dca6b8d439ce6c7db180925d90ffdebf172bcb5505a86438c6dc5e9f76
|
7
|
+
data.tar.gz: d26a2dc930b4558ea45094f54f1ea1e95d8b7206e664e4607cb5597fcf9a23ffadac5d0bc66122cec5c7b440edde27e3b104bf0d90b2a39950774bc9ce7f06d8
|
@@ -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.
|
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-
|
12
|
+
date: 2017-12-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|