motion-cocoapods 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f66927dc1d6c6c1a9c3e2944f231cf0445bbc7bd
4
- data.tar.gz: 546f3b8114353234fc2b1873d833dd78f043b6d7
3
+ metadata.gz: 560dc4bf634069ceec166fb0d077e9fac354815b
4
+ data.tar.gz: 900fcc44341925e23944885a8296622fc4bbb233
5
5
  SHA512:
6
- metadata.gz: 99ebfe09c00c1244ef7e6517fa74ff6178729b14742927d72f2ec3ffc5631cf4f8a40652914f3ead1fe6eb2bdfdbcabd35634bb2c1b22b32701e8b8ced30abbf
7
- data.tar.gz: 92e79d1c40aa37d16888c111765d8c5482620ae36f4c151ed4cbaf33477905b3331a1c9e73f819b9b7edc305c081e139878d3bd05c7f082a1f52ba1f5c0b726f
6
+ metadata.gz: 4f56ae4467f920fc630e586dbde3ee7b14d4eca5de7a71c63f5a00451de06df21d4384b8e362b26f58c80985d6d14bfc504668f714c156bc7843deea38b1573c
7
+ data.tar.gz: e90b891c198092f3350cd6fbd11292b7d7e4ce9887568624a9cf60ddc1056c510f51cda8481d4710c44e33abdbf5d5f6b67b984c0dcd6d00141e8cde05f49816
@@ -57,7 +57,7 @@ module Motion::Project
57
57
  #---------------------------------------------------------------------------#
58
58
 
59
59
  class CocoaPods
60
- VERSION = '1.3.2'
60
+ VERSION = '1.3.3'
61
61
  PODS_ROOT = 'vendor/Pods'
62
62
 
63
63
  attr_accessor :podfile
@@ -123,6 +123,10 @@ module Motion::Project
123
123
  def link_project
124
124
  install_resources
125
125
 
126
+ unless File.exist?("#{PODS_ROOT}/Headers/____Pods-prefix.h") && File.exist?("#{PODS_ROOT}/Headers/____Pods-environment.h")
127
+ FileUtils.cp("#{PODS_ROOT}/Pods-prefix.pch", "#{PODS_ROOT}/Headers/____Pods-prefix.h")
128
+ FileUtils.cp("#{PODS_ROOT}/Pods-environment.h", "#{PODS_ROOT}/Headers/____Pods-environment.h")
129
+ end
126
130
  @config.vendor_project(PODS_ROOT, :xcode,
127
131
  :target => 'Pods',
128
132
  :headers_dir => 'Headers',
@@ -137,7 +141,7 @@ module Motion::Project
137
141
  if framework_search_paths
138
142
  framework_search_paths.scan(/\"([^\"]+)\"/) do |search_path|
139
143
  path = search_path.first.gsub!(/(\$\(PODS_ROOT\))|(\$\{PODS_ROOT\})/, "#{@config.project_dir}/#{PODS_ROOT}")
140
- @config.framework_search_paths << path
144
+ @config.framework_search_paths << path if path
141
145
  end
142
146
  end
143
147
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent Sansonetti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-15 00:00:00.000000000 Z
11
+ date: 2013-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods