cocoapods-byte-panglem-beta 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5478048a4ebfe289f0afd470773f394787e2592a79d2f644901c7c69f1e57ad9
4
- data.tar.gz: 9cccbf443bc3163195ba1c984f3d9e500a5ab533b448668fa7ff1d39d44164bb
3
+ metadata.gz: 658b12bc01628bd8ef91d797289ee07a3b3cd7bd9240d62a10128aded2e4ab40
4
+ data.tar.gz: 91209a64732e85f7191c60983beae2592fe0ada808f983b9a6919b10d9f209ae
5
5
  SHA512:
6
- metadata.gz: c9285781ab9ef58784aa17da0eb0aa2cedf09aee483a716fd2d5078545a66fdc1c6ad3d4d9761bb90ff5a95d9c115056c1429dfd12c7a3fc7d535700a9b1ee02
7
- data.tar.gz: 8eab9ca57ee611a6206ccb2d1c9deb6502894ded805bdb692f0a988e2753590183e75cfee4a65e2fed79bd8b21ddd958dafcaca155a73613505a044bde7e7598
6
+ metadata.gz: bd0134b6f1df3c9be3a683b0b9b25841f2917de7185236853ed6e2725fd59e8320a222653668eac4025780ba94bc6f29ce702700a836eac8d122652dac14c1cc
7
+ data.tar.gz: 97af9f0e1710f285da2f27aa7f5ea5c0e38459764aaee7121663f0c0cf8900c7661c4a236a103b7faa7553e4a7d657cab028066461b15e4c949b0d1d7335233f
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  group :development do
7
- gem 'cocoapods'
7
+ gem 'cocoapods',"1.13.0"
8
8
 
9
9
  gem 'mocha'
10
10
  gem 'bacon'
@@ -21,5 +21,5 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency "cocoapods", '>= 1.1.1', '< 2.0'
22
22
  spec.add_development_dependency 'bundler', '~> 1.3'
23
23
  spec.add_development_dependency 'rake'
24
- spec.add_development_dependency 'highline'
24
+ # spec.add_development_dependency 'highline'
25
25
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  require_relative 'tool'
5
5
  require_relative 'recorder'
6
- require 'highline'
6
+ # require 'highline'
7
7
 
8
8
 
9
9
 
@@ -95,9 +95,9 @@ module PM
95
95
  } if pm_spec
96
96
  end
97
97
  specs.map do |spec|
98
- if PM::MapRelations.is_sdk?(spec.spec.name)
98
+ if PM::MapRelations.is_sdk?(Pod::Specification.root_name(spec.spec.name))
99
99
  sdk_spec = spec
100
- elsif PM::MapRelations.is_adapter?(spec.spec.name)
100
+ elsif PM::MapRelations.is_adapter?(Pod::Specification.root_name(spec.spec.name))
101
101
  map = {}
102
102
  map["adapter"] = PM::MapRelations.get_adapter_from_adn_abbreviation(spec.spec.name)
103
103
  map["adapter_version"] = spec.spec.version.version
@@ -116,7 +116,7 @@ module PM
116
116
  ## 2. 判断rely 是否要更新, YES 则同上
117
117
  if result.is_sdk_update
118
118
  ## 这里截断,询问是否更新
119
- cli = HighLine.new
119
+ # cli = HighLine.new
120
120
  # is_allow_update =cli.ask("[cocoapods-byte-panglem-beta][info] Whether to allow automatic upgrade of pangle sdk(#{result.sdk_original_version} to #{result.sdk_target_version}),yes/no?")
121
121
  is_allow_update = 'yes'
122
122
  if is_allow_update == 'yes' or is_allow_update == 'y' or is_allow_update == 'Y'
@@ -2,7 +2,7 @@
2
2
  ##SPDX-License-Identifier: MIT
3
3
 
4
4
  module CocoapodsBytePanglem
5
- VERSION = "0.0.2"
5
+ VERSION = "0.0.4"
6
6
  class Version
7
7
  def self.version
8
8
  VERSION
@@ -78,7 +78,6 @@ class Pod::Installer::Analyzer
78
78
  # PM::Analyzer.delete_invalid_adapters target, specs
79
79
  # end if PM::Recorder.instance.get_global_note.auto_load
80
80
 
81
-
82
81
  if PM::Recorder.instance.is_release
83
82
  Pod::UserInterface.section "[cocoapods-byte-panglem-beta][info] start trying to update the sdk version (when is_release is yes) " do
84
83
  PM::Analyzer.resolve_release_target target, specs
@@ -436,7 +436,7 @@ module PM
436
436
  Pod::Specification.root_name(spec.name) == sdk_name && spec.version.version == target_sdk_version
437
437
  end
438
438
  if target_sdk_root_spec == nil
439
- raise "[cocoapods-byte-panglem][error] pangle sdk version:#{target_sdk_version} not found, please try use `pod install --repo-update`"
439
+ raise "[cocoapods-byte-panglem-beta][error] pangle sdk(beta) version:#{target_sdk_version} not found, please try use `pod install --repo-update`"
440
440
  end
441
441
  if target_sdk_root_spec.version.version != original_sdk_spec.spec.version.version
442
442
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-byte-panglem-beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhangtianhao.1230@bytedance.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-09 00:00:00.000000000 Z
11
+ date: 2024-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods
@@ -58,20 +58,6 @@ dependencies:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
- - !ruby/object:Gem::Dependency
62
- name: highline
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: '0'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: '0'
75
61
  description: A short description of cocoapods-byte-panglem.
76
62
  email:
77
63
  - zhangtianhao.1230@bytedance.com