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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 604f762c1d28e64897a84d9aa871128ca3d33f25ed2cc42afd414d6a4f36e4a4
4
- data.tar.gz: 41e5cd03bba22dc69c4fe821cd1c3c74cf6a1de8e2015607aff53963089aecff
3
+ metadata.gz: aab2edb1bbd7e199f72160e2751fd324763890823b8060b6733971f4dccd912a
4
+ data.tar.gz: c9b4c1adc763130f9a7a3ef772c287c2305d167ddb7bf062cab6d9844cb0fe04
5
5
  SHA512:
6
- metadata.gz: 8fb6b92f0e95fed3b5303c4bbaff980f0651308f038b011357f76484cfa13811465495c3459b5b6aa16b4f8baea31d06a9621644f211c113ac501c690fb334b6
7
- data.tar.gz: '08e54541307507be2c49171cd04b70f542a15361684b91765f32abf4ad79c8e344e974da47ecc2d42d16aea10ee055139b59fe623c09f11c07c39a997b7a982c'
6
+ metadata.gz: afcf5f69a0341469e51d5eb069f661d2b7d2712085210f51d5b10b42ad2be3fc0e5cad1e3a612e13ade1c4fcb18d31fb630ee568a4b7fdc692e202d504739675
7
+ data.tar.gz: 7ce11733c073a9706f32be8434017da369e0ad9a1d502cba176de0e8527439aa1c7108937ee185d8b4a433777c76d704156dbcbd3b07b9fb543226f50b87173c
data/.vscode/launch.json CHANGED
@@ -55,8 +55,7 @@
55
55
  "args": [
56
56
  "build",
57
57
  "-d",
58
- "-w",
59
- "Synapse",
58
+ "SBTAdvertising"
60
59
  ]
61
60
  },
62
61
  {
@@ -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)
@@ -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
- unless !pod_name.start_with?("PodBuilder/")
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
@@ -1,4 +1,4 @@
1
1
  module PodBuilder
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
4
4
 
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.5
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-21 00:00:00.000000000 Z
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