motion-cocoapods 1.3.3 → 1.3.4
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 +4 -4
- data/lib/motion/project/cocoapods.rb +12 -5
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be7cee8062fbfdb7c0c4b7bff44941168c797176
|
4
|
+
data.tar.gz: 8ce54d278989fac3d6b4df398d21124dc0831b6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4b0ad139608d1f8b7ef1834c7f51a3b6f3505db28ebf5f50f5f83a370a9836027819b46a42727b5a3c3035a6e570424b40822f05cd708c055695bc0840896e7
|
7
|
+
data.tar.gz: 9bddf20d9223e72dd066f6ca39ac8071be9e4c52cfd779680d03d816026caf3e6c01298baa9c39195b8d628e73da3bc972177f6669781c9bb0e425531900ceda
|
@@ -57,7 +57,7 @@ module Motion::Project
|
|
57
57
|
#---------------------------------------------------------------------------#
|
58
58
|
|
59
59
|
class CocoaPods
|
60
|
-
VERSION = '1.3.
|
60
|
+
VERSION = '1.3.4'
|
61
61
|
PODS_ROOT = 'vendor/Pods'
|
62
62
|
|
63
63
|
attr_accessor :podfile
|
@@ -122,11 +122,8 @@ module Motion::Project
|
|
122
122
|
#
|
123
123
|
def link_project
|
124
124
|
install_resources
|
125
|
+
copy_headers
|
125
126
|
|
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
|
130
127
|
@config.vendor_project(PODS_ROOT, :xcode,
|
131
128
|
:target => 'Pods',
|
132
129
|
:headers_dir => 'Headers',
|
@@ -174,6 +171,16 @@ module Motion::Project
|
|
174
171
|
@config.resources_dirs << resources_dir.to_s
|
175
172
|
end
|
176
173
|
|
174
|
+
def copy_headers
|
175
|
+
headers = Dir.glob(["#{PODS_ROOT}/*.h", "#{PODS_ROOT}/*.pch"])
|
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}")
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
177
184
|
# Helpers
|
178
185
|
#-------------------------------------------------------------------------#
|
179
186
|
|
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.4
|
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-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|
@@ -54,8 +54,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
56
|
rubyforge_project:
|
57
|
-
rubygems_version: 2.0.
|
57
|
+
rubygems_version: 2.0.3
|
58
58
|
signing_key:
|
59
59
|
specification_version: 4
|
60
60
|
summary: CocoaPods integration for RubyMotion projects
|
61
61
|
test_files: []
|
62
|
+
has_rdoc:
|