cocoapods-cafswitcher 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cocoapods-cafswitcher/gem_version.rb +1 -1
- data/lib/cocoapods-cafswitcher/podfile_switch.rb +10 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '029cde59eb4ac6185e6e5bded575dd366b62acc50467700e78097ba29e713159'
|
4
|
+
data.tar.gz: c10b07deb75fbe4d456a4cd42f738657673e1aa78425996c2156ad15b2a19a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7adaed5194a9bfba2b40c17ee2a36320cc2acdcef024696cac4687a40f2b03973dd438486287dd68511c5e8006f5e35a946b1e65c79743b8c0fd6fd6d551dbc3
|
7
|
+
data.tar.gz: 77543c965b8e281789de907b393f2edcb74845021f0912f0723936d14d083457b9cd7d35cf427069cd301216e8e2da7146cd4ccb2b83c82d37b2fa0e7bc9dd8c
|
data/Gemfile.lock
CHANGED
@@ -166,7 +166,11 @@ module Pod
|
|
166
166
|
isGitPath = options.has_key?(:git)
|
167
167
|
# pod_name = Specification.root_name(name)
|
168
168
|
if isGitPath
|
169
|
-
|
169
|
+
index = name =~ /[\/]/
|
170
|
+
if not index
|
171
|
+
index = name.length
|
172
|
+
end
|
173
|
+
Pod::Podfile.needUpdatePodList << name[0,index]
|
170
174
|
end
|
171
175
|
requirements.pop if options.empty?
|
172
176
|
end
|
@@ -178,7 +182,11 @@ module Pod
|
|
178
182
|
isPath = options.has_key?(:path)
|
179
183
|
# pod_name = Specification.root_name(name)
|
180
184
|
if isPath
|
181
|
-
|
185
|
+
index = name =~ /[\/]/
|
186
|
+
if not index
|
187
|
+
index = name.length
|
188
|
+
end
|
189
|
+
Pod::Podfile.needUpdatePodList << name[0,index]
|
182
190
|
end
|
183
191
|
requirements.pop if options.empty?
|
184
192
|
end
|