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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be7cee8062fbfdb7c0c4b7bff44941168c797176
4
- data.tar.gz: 8ce54d278989fac3d6b4df398d21124dc0831b6e
3
+ metadata.gz: abcdf7441102e317f72998956b94c3cf4d73a2ea
4
+ data.tar.gz: 7cd825d6710f4def3c61eb786b07f226cc6c6d51
5
5
  SHA512:
6
- metadata.gz: c4b0ad139608d1f8b7ef1834c7f51a3b6f3505db28ebf5f50f5f83a370a9836027819b46a42727b5a3c3035a6e570424b40822f05cd708c055695bc0840896e7
7
- data.tar.gz: 9bddf20d9223e72dd066f6ca39ac8071be9e4c52cfd779680d03d816026caf3e6c01298baa9c39195b8d628e73da3bc972177f6669781c9bb0e425531900ceda
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.4'
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
- header = File.basename(header)
178
- unless File.exist?("#{PODS_ROOT}/Headers/____#{header}")
179
- FileUtils.cp("#{PODS_ROOT}/#{header}", "#{PODS_ROOT}/Headers/____#{header}")
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent Sansonetti