pod-builder 0.9.6 → 0.9.7
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/Gemfile +2 -0
- data/README.md +8 -0
- data/lib/pod_builder/command/build.rb +1 -1
- data/lib/pod_builder/configuration.rb +7 -0
- data/lib/pod_builder/podfile_item.rb +3 -1
- data/lib/pod_builder/version.rb +1 -1
- data/pod-builder.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 073d62b65566160f6dd1de4138f36a6195a4f624e532a41c9c9b996682ab16c3
|
4
|
+
data.tar.gz: 248d31bf5388c795bbb4ae802cb48f0910ae2a93dc0824e9a1d0fba846fe9b1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 945c00db87e8eb3e9b0dfdc677fe6fe289c0fffc24d91e9086d8dfd1ff5ee41d1b7c62b15672ef2a27744fa7f7a969db2d8cf48b3019cae5ad9bfeb92db43682
|
7
|
+
data.tar.gz: '081e7fc4e6f0726cee693b3fb9063183c016888af823fc95fbbe9d91dab13a1df98d7e432ba4c8ba21234834221587e5b48aef1823c9240bc56be0770b364a1c'
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -241,6 +241,14 @@ Specify which build system to use to compile frameworks. Either `Legacy` (standa
|
|
241
241
|
|
242
242
|
PodBuilder will create two license files a plist and a markdown file which contains the licenses of each pod specified in the PodBuilder-Podfile. Defailt value: `Pods-acknowledgements`(plist|md).
|
243
243
|
|
244
|
+
#### `project_name`
|
245
|
+
|
246
|
+
In complex project setups you may end up with the following error: "Found multiple xcodeproj/xcworkspaces...". If that is the case you can specify the name of your main project manually. For example if your application's project is "Example.xcworkspace" set the value for this key to `Example`.
|
247
|
+
|
248
|
+
#### `allow_building_development_pods`
|
249
|
+
|
250
|
+
Building development pods is by default not allowed unless you explicitly pass the allow_warnings flag. You can override this behavior by setting this key to true
|
251
|
+
|
244
252
|
#### `skip_licenses`
|
245
253
|
|
246
254
|
PodBuilder writes a plist and markdown license files of pods specified in the PodBuilder-Podfile. You can specify pods that should not be included, for example for private pods.
|
@@ -238,7 +238,7 @@ module PodBuilder
|
|
238
238
|
end
|
239
239
|
|
240
240
|
def self.check_not_building_development_pods(pods, options)
|
241
|
-
if (development_pods = pods.select { |x| x.is_development_pod }) && development_pods.count > 0 && options[:allow_warnings].nil?
|
241
|
+
if (development_pods = pods.select { |x| x.is_development_pod }) && development_pods.count > 0 && (options[:allow_warnings].nil? && Configuration.allow_building_development_pods == false)
|
242
242
|
pod_names = development_pods.map(&:name).join(", ")
|
243
243
|
raise "The following pods are in development mode: `#{pod_names}`, won't proceed building.\n\nYou can ignore this error by passing the `--allow-warnings` flag to the build command\n"
|
244
244
|
end
|
@@ -24,6 +24,7 @@ module PodBuilder
|
|
24
24
|
private_constant :MIN_LFS_SIZE_KB
|
25
25
|
|
26
26
|
class <<self
|
27
|
+
attr_accessor :allow_building_development_pods
|
27
28
|
attr_accessor :build_settings
|
28
29
|
attr_accessor :build_settings_overrides
|
29
30
|
attr_accessor :build_system
|
@@ -47,6 +48,7 @@ module PodBuilder
|
|
47
48
|
attr_accessor :lock_filename
|
48
49
|
end
|
49
50
|
|
51
|
+
@allow_building_development_pods = false
|
50
52
|
@build_settings = DEFAULT_BUILD_SETTINGS
|
51
53
|
@build_settings_overrides = {}
|
52
54
|
@build_system = DEFAULT_BUILD_SYSTEM
|
@@ -156,6 +158,11 @@ module PodBuilder
|
|
156
158
|
Configuration.restore_enabled = value
|
157
159
|
end
|
158
160
|
end
|
161
|
+
if value = json["allow_building_development_pods"]
|
162
|
+
if [TrueClass, FalseClass].include?(value.class)
|
163
|
+
Configuration.allow_building_development_pods = value
|
164
|
+
end
|
165
|
+
end
|
159
166
|
|
160
167
|
Configuration.build_settings.freeze
|
161
168
|
else
|
@@ -111,7 +111,9 @@ module PodBuilder
|
|
111
111
|
@repo = checkout_options[opts_key][:git]
|
112
112
|
@tag = checkout_options[opts_key][:tag]
|
113
113
|
@commit = checkout_options[opts_key][:commit]
|
114
|
-
|
114
|
+
if checkout_path = checkout_options[opts_key][:path]
|
115
|
+
@path = Pathname.new(checkout_path).realpath.to_s
|
116
|
+
end
|
115
117
|
@branch = checkout_options[opts_key][:branch]
|
116
118
|
@is_external = true
|
117
119
|
else
|
data/lib/pod_builder/version.rb
CHANGED
data/pod-builder.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
|
-
spec.add_development_dependency "bundler", "~>
|
24
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
25
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
26
26
|
spec.add_development_dependency "ruby-debug-ide"
|
27
27
|
spec.add_development_dependency "debase"
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Camin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -286,7 +286,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
286
286
|
- !ruby/object:Gem::Version
|
287
287
|
version: '0'
|
288
288
|
requirements: []
|
289
|
-
rubygems_version: 3.
|
289
|
+
rubygems_version: 3.1.2
|
290
290
|
signing_key:
|
291
291
|
specification_version: 4
|
292
292
|
summary: Prebuild CocoaPods pods
|