motion-cocoapods 1.3.2 → 1.3.3
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 +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 560dc4bf634069ceec166fb0d077e9fac354815b
|
4
|
+
data.tar.gz: 900fcc44341925e23944885a8296622fc4bbb233
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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-
|
11
|
+
date: 2013-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|