pod-builder 0.2.5 → 0.2.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/.vscode/launch.json +1 -2
- data/Example/Frameworks/PodBuilder.json +29 -0
- data/lib/pod_builder/command/generate_lfs.rb +1 -1
- data/lib/pod_builder/podfile.rb +9 -1
- data/lib/pod_builder/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aab2edb1bbd7e199f72160e2751fd324763890823b8060b6733971f4dccd912a
|
4
|
+
data.tar.gz: c9b4c1adc763130f9a7a3ef772c287c2305d167ddb7bf062cab6d9844cb0fe04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afcf5f69a0341469e51d5eb069f661d2b7d2712085210f51d5b10b42ad2be3fc0e5cad1e3a612e13ade1c4fcb18d31fb630ee568a4b7fdc692e202d504739675
|
7
|
+
data.tar.gz: 7ce11733c073a9706f32be8434017da369e0ad9a1d502cba176de0e8527439aa1c7108937ee185d8b4a433777c76d704156dbcbd3b07b9fb543226f50b87173c
|
data/.vscode/launch.json
CHANGED
@@ -0,0 +1,29 @@
|
|
1
|
+
{
|
2
|
+
"project_name": "",
|
3
|
+
"spec_overrides": {
|
4
|
+
"Google-Mobile-Ads-SDK": {
|
5
|
+
"module_name": "GoogleMobileAds"
|
6
|
+
}
|
7
|
+
},
|
8
|
+
"skip_licenses": [
|
9
|
+
|
10
|
+
],
|
11
|
+
"skip_pods": [
|
12
|
+
|
13
|
+
],
|
14
|
+
"build_settings": {
|
15
|
+
"ENABLE_BITCODE": "NO",
|
16
|
+
"GCC_OPTIMIZATION_LEVEL": "s",
|
17
|
+
"SWIFT_OPTIMIZATION_LEVEL": "-Osize",
|
18
|
+
"SWIFT_COMPILATION_MODE": "singlefile"
|
19
|
+
},
|
20
|
+
"build_settings_overrides": {
|
21
|
+
},
|
22
|
+
"build_system": "Legacy",
|
23
|
+
"license_filename": "Pods-acknowledgements",
|
24
|
+
"subspecs_to_split": [
|
25
|
+
|
26
|
+
],
|
27
|
+
"lfs_update_gitattributes": false,
|
28
|
+
"lfs_include_pods_folder": false
|
29
|
+
}
|
@@ -10,7 +10,7 @@ module PodBuilder
|
|
10
10
|
return false
|
11
11
|
end
|
12
12
|
|
13
|
-
gitattributes_excludes = ["*.h", "*.hh", "*.m", "*.mm", "*.i", "*.c", "*.cc", "*.cxx", "*.cpp", "*.def", "*.inc", "*.inl", "*.swift", "*.modulemap", "*.strings", "*.png", "*.jpg", "*.gif", "*.html", "*.htm", "*.js", "*.json", "*.xml", "*.txt", "*.md", "*.rb", "*.sh", "*.py", "*.plist", ".*"]
|
13
|
+
gitattributes_excludes = ["*.h", "*.hh", "*.m", "*.mm", "*.i", "*.c", "*.cc", "*.cxx", "*.cpp", "*.def", "*.inc", "*.inl", "*.swift", "*.modulemap", "*.strings", "*.png", "*.jpg", "*.gif", "*.html", "*.htm", "*.js", "*.json", "*.xml", "*.txt", "*.md", "*.rb", "*.sh", "*.py", "*.plist", "*.resolved", ".*", "README*", "LICENSE*"]
|
14
14
|
|
15
15
|
gitattributes_includes_frameworks = ["**/* filter=lfs diff=lfs merge=lfs !text"]
|
16
16
|
write_attributes(PodBuilder::basepath("Rome"), gitattributes_includes_frameworks, gitattributes_excludes)
|
data/lib/pod_builder/podfile.rb
CHANGED
@@ -369,7 +369,9 @@ module PodBuilder
|
|
369
369
|
if matches&.size == 8 && !stripped_line.start_with?("#")
|
370
370
|
pod_name = matches[2]
|
371
371
|
path = matches[6]
|
372
|
-
|
372
|
+
|
373
|
+
is_absolute = ["~", "/"].include?(path[0])
|
374
|
+
unless !pod_name.start_with?("PodBuilder/") && !is_absolute
|
373
375
|
podfile_lines.push(line)
|
374
376
|
next
|
375
377
|
end
|
@@ -404,6 +406,12 @@ module PodBuilder
|
|
404
406
|
if matches&.size == 4 && !stripped_line.start_with?("#")
|
405
407
|
path = matches[2]
|
406
408
|
|
409
|
+
is_absolute = ["~", "/"].include?(path[0])
|
410
|
+
unless !is_absolute
|
411
|
+
podfile_lines.push(line)
|
412
|
+
next
|
413
|
+
end
|
414
|
+
|
407
415
|
original_path = Pathname.new(File.join(path_base, path))
|
408
416
|
replace_path = original_path.relative_path_from(base_path)
|
409
417
|
if use_absolute_paths
|
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.2.
|
4
|
+
version: 0.2.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: 2018-09-
|
11
|
+
date: 2018-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -174,6 +174,7 @@ extra_rdoc_files: []
|
|
174
174
|
files:
|
175
175
|
- ".gitignore"
|
176
176
|
- ".vscode/launch.json"
|
177
|
+
- Example/Frameworks/PodBuilder.json
|
177
178
|
- Example/PodBuilderExample.xcodeproj/project.pbxproj
|
178
179
|
- Example/PodBuilderExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
179
180
|
- Example/PodBuilderExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
|