pod-builder 0.9.5 → 0.9.6
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/pod_builder/command/build.rb +1 -1
- data/lib/pod_builder/install.rb +7 -0
- data/lib/pod_builder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b103a96585fa83a85b00536b7552fc6f8b66d1f37832e2a6debc25a6f03c789
|
|
4
|
+
data.tar.gz: 6f9fa3d974065a6642c2180c571fe79fba0d96cd44a50b3dc93cc2229a059424
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b7a746a4081d961924375697e739a42d7128e5fc72a77f1ca900e3f88042e93b1beb201edf04375f0fefeba97a8686b0914eeca8ce6ed950dbb476cbc1bd3049
|
|
7
|
+
data.tar.gz: b07a49e91a63bc5053c79aa96eb8fc9c0a4037b13b2dea8750a68d60ca779d29d08b1cee80b75f511e015f526f83733106dacba7e4410e4e302199ad8669de19
|
|
@@ -112,7 +112,7 @@ module PodBuilder
|
|
|
112
112
|
|
|
113
113
|
def self.license_specifiers
|
|
114
114
|
acknowledge_files = Dir.glob("#{PodBuilder::Configuration.build_path}/Pods/**/*acknowledgements.plist")
|
|
115
|
-
raise "Too many
|
|
115
|
+
raise "Too many ackwnoledge files found" if acknowledge_files.count > 1
|
|
116
116
|
|
|
117
117
|
if acknowledge_file = acknowledge_files.first
|
|
118
118
|
plist = CFPropertyList::List.new(:file => acknowledge_file)
|
data/lib/pod_builder/install.rb
CHANGED
|
@@ -22,6 +22,13 @@ module PodBuilder
|
|
|
22
22
|
def self.podfile(podfile_content, podfile_items, build_configuration)
|
|
23
23
|
PodBuilder::safe_rm_rf(Configuration.build_path)
|
|
24
24
|
FileUtils.mkdir_p(Configuration.build_path)
|
|
25
|
+
|
|
26
|
+
podfile_items.select { |x| x.is_development_pod }.each do |podfile_item|
|
|
27
|
+
destination_path = "#{Configuration.build_path}/Pods/#{podfile_item.module_name}"
|
|
28
|
+
FileUtils.mkdir_p(destination_path)
|
|
29
|
+
FileUtils.cp_r("#{podfile_item.path}/.", destination_path)
|
|
30
|
+
license_files = Dir.glob("#{destination_path}/**/*acknowledgements.plist").each { |f| File.delete(f) }
|
|
31
|
+
end
|
|
25
32
|
|
|
26
33
|
init_git(Configuration.build_path) # this is needed to be able to call safe_rm_rf
|
|
27
34
|
|
data/lib/pod_builder/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pod-builder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tomas Camin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-12-
|
|
11
|
+
date: 2019-12-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|