cocoapods-binary 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/cocoapods-binary/Prebuild.rb +14 -1
- data/lib/cocoapods-binary/gem_version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 68b6e39958a64ccfaf68bcf58f5cf85610102f04
|
4
|
+
data.tar.gz: 84301375e1c5b4ed7f8d68436bf34f6a74137084
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f7d2a697838a6de2ee1a3f0086fea28abcf32d477ef44646f149fc4476da0c219f56cc0e144799b781ce002f7ebf641f92733f33ddb272fc6c7629f66138572
|
7
|
+
data.tar.gz: b3b3e7c23ecb186c409d0d50f1a82188881c870a40a055aacf0542a54351a126b5dd0c774af4244c2572fe6309e9542d980107e655ac6da6b49bacbae6b513fa
|
@@ -126,7 +126,20 @@ module Pod
|
|
126
126
|
if target.static_framework? and !target.resource_paths.empty?
|
127
127
|
framework_path = output_path + target.framework_name
|
128
128
|
standard_sandbox_path = sandbox.standard_sanbox_path
|
129
|
-
|
129
|
+
|
130
|
+
resources = begin
|
131
|
+
if Pod::VERSION.start_with? "1.5"
|
132
|
+
target.resource_paths
|
133
|
+
else
|
134
|
+
# resource_paths is Hash{String=>Array<String>} on 1.6 and above
|
135
|
+
# (use AFNetworking to generate a demo data)
|
136
|
+
# https://github.com/leavez/cocoapods-binary/issues/50
|
137
|
+
target.resource_paths.values.flatten
|
138
|
+
end
|
139
|
+
end
|
140
|
+
raise "Wrong type: #{resources}" unless resources.kind_of? Array
|
141
|
+
|
142
|
+
path_objects = resources.map do |path|
|
130
143
|
object = Prebuild::Passer::ResourcePath.new
|
131
144
|
object.real_file_path = framework_path + File.basename(path)
|
132
145
|
object.target_file_path = path.gsub('${PODS_ROOT}', standard_sandbox_path.to_s) if path.start_with? '${PODS_ROOT}'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-binary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- leavez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.5.2.3
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: A CocoaPods plugin to integrate pods in form of prebuilt frameworks, not
|