motion-cocoapods 1.7.1 → 1.7.2
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 -8
- data/lib/motion/project/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94027d45aab0005bc844065cce54199903a0e779
|
4
|
+
data.tar.gz: 064bac84b3bfb317ae3b6693cc5395b335394e2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 710fe4a5218cc28cb4693c3dab073d1a9ed1619075cdb84fcd090e488807d4f3f7bad7d0839500799910a8ff7509becf4d7424a5e2fc68aa2ba47513d2d63ce6
|
7
|
+
data.tar.gz: c6de59e4f0187dbcecb4ebc0453ea0fc87867589a3f0130e489295cf59be9827533f1361d86edb416271797c58ae539be5f61d1d069b5a8beacbffb1f40162f0
|
@@ -112,6 +112,10 @@ module Motion::Project
|
|
112
112
|
lib_name = m[0]
|
113
113
|
next if lib_name.nil?
|
114
114
|
if lib_name.start_with?('Pods-')
|
115
|
+
# For CocoaPods 0.37.x or below. This block is marked as deprecated.
|
116
|
+
pods_libs << lib_name
|
117
|
+
nil
|
118
|
+
elsif !File.exist?("/usr/lib/lib#{lib_name}.dylib")
|
115
119
|
pods_libs << lib_name
|
116
120
|
nil
|
117
121
|
elsif lib_search_paths.length == 0 || File.exist?("/usr/lib/lib#{lib_name}.dylib")
|
@@ -236,10 +240,6 @@ module Motion::Project
|
|
236
240
|
def install!(update)
|
237
241
|
pods_installer.update = update
|
238
242
|
pods_installer.install!
|
239
|
-
if bridgesupport_file.exist? && !pods_installer.installed_specs.empty?
|
240
|
-
bridgesupport_file.delete
|
241
|
-
end
|
242
|
-
|
243
243
|
install_resources
|
244
244
|
copy_cocoapods_env_and_prefix_headers
|
245
245
|
end
|
@@ -247,6 +247,7 @@ module Motion::Project
|
|
247
247
|
# TODO this probably breaks in cases like resource bundles etc, need to test.
|
248
248
|
#
|
249
249
|
def install_resources
|
250
|
+
FileUtils.rm_rf(resources_dir)
|
250
251
|
FileUtils.mkdir_p(resources_dir)
|
251
252
|
resources.each do |file|
|
252
253
|
begin
|
@@ -295,10 +296,6 @@ module Motion::Project
|
|
295
296
|
Pod::Installer::Analyzer.new(cp_config.sandbox, @podfile, cp_config.lockfile)
|
296
297
|
end
|
297
298
|
|
298
|
-
def bridgesupport_file
|
299
|
-
Pathname.new(@config.project_dir) + PODS_ROOT + 'Pods.bridgesupport'
|
300
|
-
end
|
301
|
-
|
302
299
|
def pods_xcconfig
|
303
300
|
path = Pathname.new(@config.project_dir) + SUPPORT_FILES + 'Pods.release.xcconfig'
|
304
301
|
Xcodeproj::Config.new(path) if path.exist?
|
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.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laurent Sansonetti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|
@@ -56,9 +56,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
56
|
version: '0'
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project:
|
59
|
-
rubygems_version: 2.
|
59
|
+
rubygems_version: 2.4.8
|
60
60
|
signing_key:
|
61
61
|
specification_version: 4
|
62
62
|
summary: CocoaPods integration for RubyMotion projects
|
63
63
|
test_files: []
|
64
|
-
has_rdoc:
|