podfileDep 2.3.5 → 2.3.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: 3f39bc168ff13749da842aee74a8cf17c9629466a6d9b20a61ea47020977398b
4
- data.tar.gz: 80cb1d3a0d4af1bcc285c1720b63c4f8749c027c5909dbd0f2f9a768f4333130
3
+ metadata.gz: 8b141be5a2d0872d97b87f3afbd0549bf6d65146f66d665432a71f82ec5da405
4
+ data.tar.gz: bdd4ee72216e8929dad9c09c0bb79d487b3dfd3805026d44efbad9c2740e633b
5
5
  SHA512:
6
- metadata.gz: e1466d1c0e209a0ff7796401b915729ba370fd5b9bf1f0f320a0e895ff98531904c13b8c41be4a42cdc45f997c98361e2bc981d2dd8f25d7c348cf7903cec0a3
7
- data.tar.gz: 72e2e307e376fab8e9f99d6f7ebac1287820b4764310981637fafddcbc5052e5ff7e660c902171095eebc28e422a353f89e0093b2c9da0f01b38e3494a89307c
6
+ metadata.gz: 8a0e1e6c178434c745cb3aece459458fe770ec2da2ca8e3d4efa742706f6078d5584232a94f6d22bc7d95bb8498e3eac4e97cb738767343f5be50690f89e5997
7
+ data.tar.gz: 0d2cdac871d2c5ef04c13e6606bea7498a5b2d1e21662ede1ffb2abf088712d2bd2041e9eedf81a3cbab54d28976432cda1711db25dfddc88338f79ea465627c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## [Released]
2
2
 
3
+ ### [2.3.6] - 2023-7-25
4
+ - 彩色打印
5
+
3
6
  ### [2.3.5] - 2023-7-24
4
7
  - pod依赖打印仓库是否被修改
5
8
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PodfileDep
4
- VERSION = "2.3.5"
4
+ VERSION = "2.3.6"
5
5
  end
@@ -352,9 +352,7 @@ module Pod
352
352
  puts_result = "pod '#{dependency.pod}'"
353
353
 
354
354
  if dependency.path #路径引用
355
- branch = repo_branch(dependency.path)
356
- modify = repo_modify(dependency.path)
357
- puts_result += ", :path => '#{dependency.path}'#{branch} #{modify}"
355
+ puts_result += ", :path => '#{dependency.path}'"
358
356
  elsif dependency.podspec #podspec引用
359
357
  puts_result += ", :podspec => '#{dependency.podspec}'"
360
358
  elsif dependency.version #版本号引用
@@ -381,8 +379,10 @@ module Pod
381
379
  puts_result += ", :source => '#{dependency.source}'"
382
380
  end
383
381
 
384
- if dependency.path or dependency.podspec
385
- puts puts_result.blue
382
+ if dependency.path
383
+ branch = repo_branch(dependency.path)
384
+ modify = repo_modify(dependency.path)
385
+ puts puts_result.cyan + branch.magenta + modify.magenta
386
386
  else
387
387
  puts puts_result
388
388
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: podfileDep
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.5
4
+ version: 2.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - 王帅朋
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-24 00:00:00.000000000 Z
11
+ date: 2023-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods