cocoapods-dykit 0.4.1 → 0.5.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 +4 -4
- data/cocoapods-dykit.gemspec +1 -1
- data/lib/pod/command/fmwk/upload.rb +20 -24
- data/lib/pod/gem_version.rb +1 -1
- data/lib/validator.rb +117 -97
- metadata +6 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d50192e3b4c57f120562c570c09233e5c136fc3
|
4
|
+
data.tar.gz: 55dd23036fc2133373d475c030a2ce719b3d7e2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0187263a409376917babb7c5760dc3a6c1c8c3a1536c9ff4cf9015dc920c79ee7fde8d8eec210f838e9cbb81dcf5fd0f279a8afa35c02bf3f5956027d4df7a01'
|
7
|
+
data.tar.gz: 7c99321bb40f86095567a911c5a5a255d02ea032a3cd2d46cc4faae84b32dc28e70ee75b302228b90e238337918c82dd6beb0ac9e9e6a2e6a4cf49c6ad0d968e
|
data/cocoapods-dykit.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.add_dependency "cocoapods", '
|
21
|
+
spec.add_dependency "cocoapods", '~> 1.5.0'
|
22
22
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
23
23
|
spec.add_development_dependency 'rake'
|
24
24
|
end
|
@@ -27,7 +27,7 @@ module Pod
|
|
27
27
|
|
28
28
|
def self.options
|
29
29
|
[
|
30
|
-
['--
|
30
|
+
['--version=VERSION', '动态库版本号. ' \
|
31
31
|
# ['--allow-warnings', 'Lint validates even if warnings are present'],
|
32
32
|
# ['--subspec=NAME', 'Lint validates only the given subspec'],
|
33
33
|
# ['--no-subspecs', 'Lint skips validation of subspecs'],
|
@@ -46,7 +46,7 @@ module Pod
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def initialize(argv)
|
49
|
-
@
|
49
|
+
@version = argv.option('version', nil)
|
50
50
|
# @allow_warnings = argv.flag?('allow-warnings')
|
51
51
|
# @clean = argv.flag?('clean', true)
|
52
52
|
# @fail_fast = argv.flag?('fail-fast', false)
|
@@ -68,28 +68,24 @@ module Pod
|
|
68
68
|
|
69
69
|
def run
|
70
70
|
framework_names.each do |podspec|
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
puts
|
75
|
-
|
76
|
-
|
77
|
-
puts
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
`cp -f #{build_path}/#{podspec} #{build_path}/#{podspec}.framework/`
|
90
|
-
`rm #{build_path}/#{podspec}`
|
91
|
-
puts "成功输出 framework 于 #{build_path}/#{podspec}.framework/"
|
92
|
-
puts
|
71
|
+
version = @version
|
72
|
+
out_path = Dir.pwd + "/#{podspec}_#{version}.zip"
|
73
|
+
|
74
|
+
puts "更新版本号为 $version"
|
75
|
+
sed_cmd = "sed -i '' \"s/<#version#>/$version/g\" $project_name.podspec || exit $?"
|
76
|
+
Executable.capture_command(sed_cmd, nil, :capture => :merge)
|
77
|
+
puts "打包 framework..."
|
78
|
+
zip_cmd = "zip -r #{out_path} #{podspec}"
|
79
|
+
if [ "$?" != 0 ]
|
80
|
+
then
|
81
|
+
echo "打包失败!"
|
82
|
+
exit 1
|
83
|
+
fi
|
84
|
+
echo "上传到服务器..."
|
85
|
+
scp $out_path ios@ipa.douyuios.com:/usr/local/var/www/static/frameworks/ || exit $?
|
86
|
+
echo "删除临时文件..."
|
87
|
+
rm $out_path
|
88
|
+
echo "done...!"
|
93
89
|
end
|
94
90
|
end
|
95
91
|
|
data/lib/pod/gem_version.rb
CHANGED
data/lib/validator.rb
CHANGED
@@ -14,6 +14,10 @@ module Pod
|
|
14
14
|
class DyValidator
|
15
15
|
include Config::Mixin
|
16
16
|
|
17
|
+
# The default version of Swift to use when linting pods
|
18
|
+
#
|
19
|
+
DEFAULT_SWIFT_VERSION = '3.2'.freeze
|
20
|
+
|
17
21
|
# @return [Specification::Linter] the linter instance from CocoaPods
|
18
22
|
# Core.
|
19
23
|
#
|
@@ -252,7 +256,12 @@ module Pod
|
|
252
256
|
# @return [String] the SWIFT_VERSION to use for validation.
|
253
257
|
#
|
254
258
|
def swift_version
|
255
|
-
@swift_version
|
259
|
+
return @swift_version unless @swift_version.nil?
|
260
|
+
if (version = spec.swift_version) || (version = dot_swift_version)
|
261
|
+
@swift_version = version.to_s
|
262
|
+
else
|
263
|
+
DEFAULT_SWIFT_VERSION
|
264
|
+
end
|
256
265
|
end
|
257
266
|
|
258
267
|
# Set the SWIFT_VERSION that should be used to validate the pod.
|
@@ -268,11 +277,10 @@ module Pod
|
|
268
277
|
swift_version_path.read.strip
|
269
278
|
end
|
270
279
|
|
271
|
-
# @return [
|
272
|
-
# or nil, if Swift was not used.
|
280
|
+
# @return [Boolean] Whether any of the pod targets part of this validator use Swift or not.
|
273
281
|
#
|
274
|
-
def
|
275
|
-
|
282
|
+
def uses_swift?
|
283
|
+
@installer.pod_targets.any?(&:uses_swift?)
|
276
284
|
end
|
277
285
|
|
278
286
|
#-------------------------------------------------------------------------#
|
@@ -299,6 +307,7 @@ module Pod
|
|
299
307
|
validate_screenshots(spec)
|
300
308
|
validate_social_media_url(spec)
|
301
309
|
validate_documentation_url(spec)
|
310
|
+
validate_source_url(spec)
|
302
311
|
|
303
312
|
valid = spec.available_platforms.send(fail_fast ? :all? : :each) do |platform|
|
304
313
|
UI.message "\n\n#{spec} - Analyzing on #{platform} platform.".green.reversed
|
@@ -309,7 +318,7 @@ module Pod
|
|
309
318
|
download_pod
|
310
319
|
check_file_patterns
|
311
320
|
install_pod
|
312
|
-
|
321
|
+
validate_swift_version
|
313
322
|
add_app_project_import
|
314
323
|
validate_vendored_dynamic_frameworks
|
315
324
|
build_pod
|
@@ -385,14 +394,50 @@ module Pod
|
|
385
394
|
validate_url(spec.documentation_url) if spec.documentation_url
|
386
395
|
end
|
387
396
|
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
397
|
+
# Performs validations related to the `source` -> `http` attribute (if exists)
|
398
|
+
#
|
399
|
+
def validate_source_url(spec)
|
400
|
+
return if spec.source.nil? || spec.source[:http].nil?
|
401
|
+
url = URI(spec.source[:http])
|
402
|
+
return if url.scheme == 'https' || url.scheme == 'file'
|
403
|
+
warning('http', "The URL (`#{url}`) doesn't use the encrypted HTTPs protocol. " \
|
404
|
+
'It is crucial for Pods to be transferred over a secure protocol to protect your users from man-in-the-middle attacks. '\
|
405
|
+
'This will be an error in future releases. Please update the URL to use https.')
|
406
|
+
end
|
407
|
+
|
408
|
+
# Performs validation for which version of Swift is used during validation.
|
409
|
+
#
|
410
|
+
# An error will be displayed if the user has provided a `swift_version` attribute within the podspec but is also
|
411
|
+
# using either `--swift-version` parameter or a `.swift-version with a different Swift version.
|
412
|
+
#
|
413
|
+
# The user will be warned that the default version of Swift was used if the following things are true:
|
414
|
+
# - The project uses Swift at all
|
415
|
+
# - The user did not supply a Swift version via a parameter
|
416
|
+
# - There is no `swift_version` attribute set within the specification
|
417
|
+
# - There is no `.swift-version` file present either.
|
418
|
+
#
|
419
|
+
def validate_swift_version
|
420
|
+
return unless uses_swift?
|
421
|
+
spec_swift_version = spec.swift_version
|
422
|
+
unless spec_swift_version.nil?
|
423
|
+
message = nil
|
424
|
+
if !dot_swift_version.nil? && dot_swift_version != spec_swift_version.to_s
|
425
|
+
message = "Specification `#{spec.name}` specifies an inconsistent `swift_version` (`#{spec_swift_version}`) compared to the one present in your `.swift-version` file (`#{dot_swift_version}`). " \
|
426
|
+
'Please remove the `.swift-version` file which is now deprecated and only use the `swift_version` attribute within your podspec.'
|
427
|
+
elsif !@swift_version.nil? && @swift_version != spec_swift_version.to_s
|
428
|
+
message = "Specification `#{spec.name}` specifies an inconsistent `swift_version` (`#{spec_swift_version}`) compared to the one passed during lint (`#{@swift_version}`)."
|
429
|
+
end
|
430
|
+
unless message.nil?
|
431
|
+
error('swift', message)
|
432
|
+
return
|
433
|
+
end
|
434
|
+
end
|
435
|
+
if @swift_version.nil? && spec_swift_version.nil? && dot_swift_version.nil?
|
436
|
+
warning('swift',
|
437
|
+
'The validator used ' \
|
438
|
+
"Swift #{DEFAULT_SWIFT_VERSION} by default because no Swift version was specified. " \
|
439
|
+
'To specify a Swift version during validation, add the `swift_version` attribute in your podspec. ' \
|
440
|
+
'Note that usage of the `--swift-version` parameter or a `.swift-version` file is now deprecated.')
|
396
441
|
end
|
397
442
|
end
|
398
443
|
|
@@ -430,7 +475,8 @@ module Pod
|
|
430
475
|
|
431
476
|
def create_app_project
|
432
477
|
app_project = Xcodeproj::Project.new(validation_dir + 'App.xcodeproj')
|
433
|
-
|
478
|
+
Pod::Generator::AppTargetHelper.add_app_target(app_project, consumer.platform_name, deployment_target)
|
479
|
+
# 新增证书配置
|
434
480
|
app_project.root_object.attributes['TargetAttributes'] = {app_project.targets[0].uuid => {"ProvisioningStyle" => "Manual"}}
|
435
481
|
target = app_project.targets[0]
|
436
482
|
info_plist_path = validation_dir + 'Info.plist'
|
@@ -444,7 +490,6 @@ module Pod
|
|
444
490
|
c.build_settings['PROVISIONING_PROFILE_SPECIFIER'] = 'match Development *'
|
445
491
|
c.build_settings['CODE_SIGN_IDENTITY'] = 'iPhone Developer'
|
446
492
|
c.build_settings['DEVELOPMENT_TEAM'] = 'KW288R5J73'
|
447
|
-
c.build_settings['ENABLE_BITCODE'] = false
|
448
493
|
end
|
449
494
|
app_project.save
|
450
495
|
app_project.recreate_user_schemes
|
@@ -452,64 +497,17 @@ module Pod
|
|
452
497
|
|
453
498
|
def add_app_project_import
|
454
499
|
app_project = Xcodeproj::Project.open(validation_dir + 'App.xcodeproj')
|
455
|
-
pod_target = @installer.pod_targets.find { |pt| pt.pod_name == spec.root.name }
|
456
|
-
|
457
|
-
source_file = write_app_import_source_file(pod_target)
|
458
|
-
source_file_ref = app_project.new_group('App', 'App').new_file(source_file)
|
459
500
|
app_target = app_project.targets.first
|
460
|
-
|
461
|
-
|
462
|
-
|
501
|
+
pod_target = @installer.pod_targets.find { |pt| pt.pod_name == spec.root.name }
|
502
|
+
Pod::Generator::AppTargetHelper.add_app_project_import(app_project, app_target, pod_target, consumer.platform_name, use_frameworks)
|
503
|
+
Pod::Generator::AppTargetHelper.add_swift_version(app_target, swift_version)
|
504
|
+
Pod::Generator::AppTargetHelper.add_xctest_search_paths(app_target) if @installer.pod_targets.any? { |pt| pt.spec_consumers.any? { |c| c.frameworks.include?('XCTest') } }
|
463
505
|
app_project.save
|
464
506
|
Xcodeproj::XCScheme.share_scheme(app_project.path, 'App')
|
465
507
|
# Share the pods xcscheme only if it exists. For pre-built vendored pods there is no xcscheme generated.
|
466
508
|
Xcodeproj::XCScheme.share_scheme(@installer.pods_project.path, pod_target.label) if shares_pod_target_xcscheme?(pod_target)
|
467
509
|
end
|
468
510
|
|
469
|
-
def add_swift_version(app_target)
|
470
|
-
app_target.build_configurations.each do |configuration|
|
471
|
-
configuration.build_settings['SWIFT_VERSION'] = swift_version
|
472
|
-
end
|
473
|
-
end
|
474
|
-
|
475
|
-
def add_xctest(app_target)
|
476
|
-
app_target.build_configurations.each do |configuration|
|
477
|
-
search_paths = configuration.build_settings['FRAMEWORK_SEARCH_PATHS'] ||= '$(inherited)'
|
478
|
-
search_paths << ' "$(PLATFORM_DIR)/Developer/Library/Frameworks"'
|
479
|
-
end
|
480
|
-
end
|
481
|
-
|
482
|
-
def write_app_import_source_file(pod_target)
|
483
|
-
language = pod_target.uses_swift? ? :swift : :objc
|
484
|
-
|
485
|
-
if language == :swift
|
486
|
-
source_file = validation_dir.+('App/main.swift')
|
487
|
-
source_file.parent.mkpath
|
488
|
-
import_statement = use_frameworks && pod_target.should_build? ? "import #{pod_target.product_module_name}\n" : ''
|
489
|
-
source_file.open('w') { |f| f << import_statement }
|
490
|
-
else
|
491
|
-
source_file = validation_dir.+('App/main.m')
|
492
|
-
source_file.parent.mkpath
|
493
|
-
import_statement = if use_frameworks && pod_target.should_build?
|
494
|
-
"@import #{pod_target.product_module_name};\n"
|
495
|
-
else
|
496
|
-
header_name = "#{pod_target.product_module_name}/#{pod_target.product_module_name}.h"
|
497
|
-
if pod_target.sandbox.public_headers.root.+(header_name).file?
|
498
|
-
"#import <#{header_name}>\n"
|
499
|
-
else
|
500
|
-
''
|
501
|
-
end
|
502
|
-
end
|
503
|
-
source_file.open('w') do |f|
|
504
|
-
f << "@import Foundation;\n"
|
505
|
-
f << "@import UIKit;\n" if consumer.platform_name == :ios || consumer.platform_name == :tvos
|
506
|
-
f << "@import Cocoa;\n" if consumer.platform_name == :osx
|
507
|
-
f << "#{import_statement}int main() {}\n"
|
508
|
-
end
|
509
|
-
end
|
510
|
-
source_file
|
511
|
-
end
|
512
|
-
|
513
511
|
# It creates a podfile in memory and builds a library containing the pod
|
514
512
|
# for all available platforms with xcodebuild.
|
515
513
|
#
|
@@ -518,12 +516,21 @@ module Pod
|
|
518
516
|
perform_post_install_actions).each { |m| @installer.send(m) }
|
519
517
|
|
520
518
|
deployment_target = spec.subspec_by_name(subspec_name).deployment_target(consumer.platform_name)
|
521
|
-
@installer.aggregate_targets
|
519
|
+
configure_pod_targets(@installer.aggregate_targets, deployment_target)
|
520
|
+
@installer.pods_project.save
|
521
|
+
end
|
522
|
+
|
523
|
+
def configure_pod_targets(targets, deployment_target)
|
524
|
+
test_only_pod_targets = @installer.pod_targets - targets.flat_map(&:pod_targets)
|
525
|
+
targets.each do |target|
|
522
526
|
target.pod_targets.each do |pod_target|
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
+
update_pod_target_build_settings(pod_target)
|
528
|
+
if pod_target.uses_swift?
|
529
|
+
pod_target.test_native_targets.each do |test_native_target|
|
530
|
+
test_native_target.build_configuration_list.build_configurations.each do |build_configuration|
|
531
|
+
build_configuration.build_settings['SWIFT_VERSION'] = swift_version
|
532
|
+
end
|
533
|
+
end
|
527
534
|
end
|
528
535
|
end
|
529
536
|
if target.pod_targets.any?(&:uses_swift?) && consumer.platform_name == :ios &&
|
@@ -532,7 +539,20 @@ module Pod
|
|
532
539
|
error('swift', 'Swift support uses dynamic frameworks and is therefore only supported on iOS > 8.') unless uses_xctest
|
533
540
|
end
|
534
541
|
end
|
535
|
-
|
542
|
+
# Wire up Swift version to pod targets used only by tests.
|
543
|
+
test_only_pod_targets.each do |test_pod_target|
|
544
|
+
update_pod_target_build_settings(test_pod_target)
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
def update_pod_target_build_settings(pod_target)
|
549
|
+
native_target = pod_target.native_target
|
550
|
+
unless native_target.nil?
|
551
|
+
native_target.build_configuration_list.build_configurations.each do |build_configuration|
|
552
|
+
(build_configuration.build_settings['OTHER_CFLAGS'] ||= '$(inherited)') << ' -Wincomplete-umbrella'
|
553
|
+
build_configuration.build_settings['SWIFT_VERSION'] = (pod_target.swift_version || swift_version) if pod_target.uses_swift?
|
554
|
+
end
|
555
|
+
end
|
536
556
|
end
|
537
557
|
|
538
558
|
def validate_vendored_dynamic_frameworks
|
@@ -551,46 +571,49 @@ module Pod
|
|
551
571
|
# Performs platform specific analysis. It requires to download the source
|
552
572
|
# at each iteration
|
553
573
|
#
|
554
|
-
# @note Xcode warnings are
|
574
|
+
# @note Xcode warnings are treated as notes because the spec maintainer
|
555
575
|
# might not be the author of the library
|
556
576
|
#
|
557
577
|
# @return [void]
|
558
578
|
#
|
559
579
|
def build_pod
|
560
580
|
if !xcodebuild_available?
|
561
|
-
UI.warn "Skipping compilation with `xcodebuild
|
581
|
+
UI.warn "Skipping compilation with `xcodebuild` because it can't be found.\n".yellow
|
562
582
|
else
|
563
|
-
UI.message "\nBuilding with xcodebuild
|
583
|
+
UI.message "\nBuilding with `xcodebuild`.\n".yellow do
|
564
584
|
scheme = if skip_import_validation?
|
565
|
-
@installer.pod_targets.find { |pt| pt.pod_name == spec.root.name }
|
585
|
+
pod_target = @installer.pod_targets.find { |pt| pt.pod_name == spec.root.name }
|
586
|
+
pod_target.label if pod_target.should_build?
|
566
587
|
else
|
567
588
|
'App'
|
568
589
|
end
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
590
|
+
if scheme.nil?
|
591
|
+
UI.warn "Skipping compilation with `xcodebuild` because target contains no sources.\n".yellow
|
592
|
+
else
|
593
|
+
output = xcodebuild('build', scheme, 'Release')
|
594
|
+
parsed_output = parse_xcodebuild_output(output)
|
595
|
+
translate_output_to_linter_messages(parsed_output)
|
596
|
+
end
|
573
597
|
end
|
574
598
|
end
|
575
599
|
end
|
576
600
|
|
577
601
|
# Builds and runs all test sources associated with the current specification being validated.
|
578
602
|
#
|
579
|
-
# @note Xcode warnings are
|
603
|
+
# @note Xcode warnings are treated as notes because the spec maintainer
|
580
604
|
# might not be the author of the library
|
581
605
|
#
|
582
606
|
# @return [void]
|
583
607
|
#
|
584
608
|
def test_pod
|
585
609
|
if !xcodebuild_available?
|
586
|
-
UI.warn "Skipping test validation with `xcodebuild
|
610
|
+
UI.warn "Skipping test validation with `xcodebuild` because it can't be found.\n".yellow
|
587
611
|
else
|
588
|
-
UI.message "\nTesting with xcodebuild
|
612
|
+
UI.message "\nTesting with `xcodebuild`.\n".yellow do
|
589
613
|
pod_target = @installer.pod_targets.find { |pt| pt.pod_name == spec.root.name }
|
590
614
|
consumer.spec.test_specs.each do |test_spec|
|
591
615
|
scheme = pod_target.native_target_for_spec(test_spec)
|
592
616
|
output = xcodebuild('test', scheme, 'Debug')
|
593
|
-
UI.puts output
|
594
617
|
parsed_output = parse_xcodebuild_output(output)
|
595
618
|
translate_output_to_linter_messages(parsed_output)
|
596
619
|
end
|
@@ -853,8 +876,8 @@ module Pod
|
|
853
876
|
when :osx, :macos
|
854
877
|
command += %w(CODE_SIGN_IDENTITY=)
|
855
878
|
when :ios
|
856
|
-
#command += %w(CODE_SIGN_IDENTITY=- -sdk iphonesimulator)
|
857
|
-
#command += Fourflusher::SimControl.new.destination(:oldest, 'iOS', deployment_target)
|
879
|
+
# command += %w(CODE_SIGN_IDENTITY=- -sdk iphonesimulator)
|
880
|
+
# command += Fourflusher::SimControl.new.destination(:oldest, 'iOS', deployment_target)
|
858
881
|
command += %w(-sdk iphoneos -destination generic/platform=iOS)
|
859
882
|
when :watchos
|
860
883
|
command += %w(CODE_SIGN_IDENTITY=- -sdk watchsimulator)
|
@@ -864,25 +887,22 @@ module Pod
|
|
864
887
|
command += Fourflusher::SimControl.new.destination(:oldest, 'tvOS', deployment_target)
|
865
888
|
end
|
866
889
|
|
867
|
-
|
868
|
-
|
869
|
-
|
890
|
+
begin
|
891
|
+
_xcodebuild(command, true)
|
892
|
+
rescue => e
|
870
893
|
message = 'Returned an unsuccessful exit code.'
|
871
894
|
message += ' You can use `--verbose` for more information.' unless config.verbose?
|
872
895
|
error('xcodebuild', message)
|
896
|
+
e.message
|
873
897
|
end
|
874
|
-
|
875
|
-
output
|
876
898
|
end
|
877
899
|
|
878
900
|
# Executes the given command in the current working directory.
|
879
901
|
#
|
880
|
-
# @return [
|
881
|
-
# resulting status.
|
902
|
+
# @return [String] The output of the given command
|
882
903
|
#
|
883
|
-
def _xcodebuild(command)
|
884
|
-
|
885
|
-
Executable.capture_command('xcodebuild', command, :capture => :merge)
|
904
|
+
def _xcodebuild(command, raise_on_failure = false)
|
905
|
+
Executable.execute_command('xcodebuild', command, raise_on_failure)
|
886
906
|
end
|
887
907
|
|
888
908
|
#-------------------------------------------------------------------------#
|
metadata
CHANGED
@@ -1,35 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-dykit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 黄露洋
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.3.1
|
20
|
-
- - "<"
|
17
|
+
- - "~>"
|
21
18
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.
|
19
|
+
version: 1.5.0
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.3.1
|
30
|
-
- - "<"
|
24
|
+
- - "~>"
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.
|
26
|
+
version: 1.5.0
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: bundler
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,4 +105,3 @@ summary: Validates the Pod using the files in the working directory without simu
|
|
111
105
|
test_files:
|
112
106
|
- spec/command/dylint_spec.rb
|
113
107
|
- spec/spec_helper.rb
|
114
|
-
has_rdoc:
|