cocoapods-linkline 0.0.2 → 0.2.0

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: 0d2c0efd0ec908ba8aa2d9f6771785a1d2c16e2c7159219a022d33aa398fe101
4
- data.tar.gz: eaf346c94f056ffbd426d9c319c819eb148391825d99d8236e6cf2ecd2c8d146
3
+ metadata.gz: '08d81eb0c7fa35b034b074c39705642e3757628287a171dcf99c5f63ebefa82d'
4
+ data.tar.gz: f6d8cd2165f7ea4e243d1243800cd9583fadadc65b4c7571e33a9313d8f7716e
5
5
  SHA512:
6
- metadata.gz: eb434f3858afaf9f5680be0af5d38f11e3e9458d1497195674edc0e7ebcf4bf41685e2b4c389fc1a1261108d11570951d9e1d766f767262c614aa15616a5ee46
7
- data.tar.gz: d2fb661e27afc2261456b16e4a6dea37918a7fc3ce965a3df4b3138c9849c910fe8ff1addc583f9494d2cc974de626990b53753924a4d996e18db1dc67b7fb54
6
+ metadata.gz: dad76b85cd194a10d10f40d00de7b3f08c43792c40748f4b8db8ae0e8b7db092a3846998377e4c6452763e0db3fad75cd7510bbdca6860d6f43cfdf2373981d9
7
+ data.tar.gz: 12c09087ff5c3999a110cbf4e9ca97541fe19326c8f6229c58fbcec831e7b14da38b1e8872e48b3cb59223649260bd74dd7aad4b8b93c5ec805c6d6f23e41bb4
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.homepage = 'https://github.com/ymoyao/cocoapods-linkline'
27
27
  spec.license = 'MIT'
28
28
 
29
- spec.files = `git ls-files`.split($/)
29
+ spec.files = `git ls-files`.split($/).reject { |file| file =~ /^cocoapods-linkline-.+\.gem$/ }
30
30
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
31
31
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
32
32
  spec.require_paths = ['lib']
@@ -7,7 +7,7 @@ class Pod::Installer::Analyzer
7
7
  targets = ll_original_generate_pod_targets(resolver_specs_by_target, target_inspections)
8
8
  targets.each { |target|
9
9
  ll_rebuild_linkage(target,target)
10
- }
10
+ } unless installation_options.skip_linkline_on_local? && $ll_has_local_path
11
11
  targets
12
12
  end
13
13
 
@@ -0,0 +1,25 @@
1
+ module Pod
2
+ class Installer
3
+
4
+ # extension new option :skip_verify_static_framework, defalut false
5
+ class InstallationOptions
6
+ # Whether to skip verify dynimic framework linked static frameworks. defalut is verify
7
+ option :skip_verify_static_framework, false
8
+
9
+ # Whether to disable linkline framework on local
10
+ option :skip_linkline_on_local, false
11
+ end
12
+
13
+ class Xcode
14
+ class TargetValidator
15
+
16
+ alias_method :ll_verify_no_static_framework_transitive_dependencies, :verify_no_static_framework_transitive_dependencies
17
+ def verify_no_static_framework_transitive_dependencies
18
+ # if skip_verify_static_framework is true, skip verify!
19
+ ll_verify_no_static_framework_transitive_dependencies unless installation_options.skip_verify_static_framework?
20
+ end
21
+
22
+ end
23
+ end
24
+ end
25
+ end
@@ -23,6 +23,9 @@ module Pod
23
23
 
24
24
  ll_original_parse_inhibit_warnings = instance_method(:parse_inhibit_warnings)
25
25
  define_method(:parse_inhibit_warnings) do |name, requirements|
26
+ if requirements.last.has_key?(:path)
27
+ $ll_has_local_path = true
28
+ end
26
29
  @linkage ||= {}
27
30
  @linkages ||= {}
28
31
  @linkage = @linkage.merge(ll_expedition_linkages(name, requirements,:linkage))
@@ -1,3 +1,4 @@
1
1
  require 'cocoapods-linkline/command/linkline'
2
2
  require 'cocoapods-linkline/command/target-linkline'
3
3
  require 'cocoapods-linkline/command/targetdefinition-linkline'
4
+ require 'cocoapods-linkline/command/targetValidator-linkline'
@@ -1,3 +1,3 @@
1
1
  module CocoapodsLinkline
2
- VERSION = "0.0.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-linkline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - youhui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-13 00:00:00.000000000 Z
11
+ date: 2023-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -51,12 +51,12 @@ files:
51
51
  - LICENSE.txt
52
52
  - README.md
53
53
  - Rakefile
54
- - cocoapods-linkline-0.0.1.gem
55
54
  - cocoapods-linkline.gemspec
56
55
  - lib/cocoapods-linkline.rb
57
56
  - lib/cocoapods-linkline/command.rb
58
57
  - lib/cocoapods-linkline/command/linkline.rb
59
58
  - lib/cocoapods-linkline/command/target-linkline.rb
59
+ - lib/cocoapods-linkline/command/targetValidator-linkline.rb
60
60
  - lib/cocoapods-linkline/command/targetdefinition-linkline.rb
61
61
  - lib/cocoapods-linkline/gem_version.rb
62
62
  - lib/cocoapods_plugin.rb
Binary file