motion-cocoapods 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/motion/project/cocoapods.rb +5 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abcdf7441102e317f72998956b94c3cf4d73a2ea
|
4
|
+
data.tar.gz: 7cd825d6710f4def3c61eb786b07f226cc6c6d51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1b971158fd66667afbc27f017cb5d3e280a8f9370059d26995b40b895c5d2a459122a7f05080a419239b25cd8f89ed16c45fc26504a7da0652066e947065288
|
7
|
+
data.tar.gz: dc550be563eb03fa7ea3e1035205059778a08122636fc4c4c169ba57ec9cc0eddd74779f98cb551e12dd6d153922ce5b8d4e3bddf81d12adbd58dc54dbacfa32
|
@@ -57,7 +57,7 @@ module Motion::Project
|
|
57
57
|
#---------------------------------------------------------------------------#
|
58
58
|
|
59
59
|
class CocoaPods
|
60
|
-
VERSION = '1.3.
|
60
|
+
VERSION = '1.3.5'
|
61
61
|
PODS_ROOT = 'vendor/Pods'
|
62
62
|
|
63
63
|
attr_accessor :podfile
|
@@ -174,9 +174,10 @@ module Motion::Project
|
|
174
174
|
def copy_headers
|
175
175
|
headers = Dir.glob(["#{PODS_ROOT}/*.h", "#{PODS_ROOT}/*.pch"])
|
176
176
|
headers.each do |header|
|
177
|
-
|
178
|
-
|
179
|
-
|
177
|
+
src = File.basename(header)
|
178
|
+
dst = src.sub(/\.pch$/, '.h')
|
179
|
+
unless File.exist?("#{PODS_ROOT}/Headers/____#{dst}")
|
180
|
+
FileUtils.cp("#{PODS_ROOT}/#{src}", "#{PODS_ROOT}/Headers/____#{dst}")
|
180
181
|
end
|
181
182
|
end
|
182
183
|
end
|