cocoapods-gitee-repo 1.0.6 → 1.0.7

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: 01c553dc3c322ebf7f4c13d153ba602a8d134288993abed95db3d4539f7db688
4
- data.tar.gz: a2de113509319759706d748d0913bfaec8141e7cef8f09b841571272762c389a
3
+ metadata.gz: f3287178d094b145706e4e22c19a0573dccf879144c58b5577422598bd935c5a
4
+ data.tar.gz: f24903a4d5c6449066eed8f7fa984846628fc4c9c6f33bf7a4a97224e6387ee8
5
5
  SHA512:
6
- metadata.gz: 927a58b8fe0cd3b77cc187e7184f6c81b2a03ecea53af2398d6a588f99de3420a6348b5cf69b8b1632485c16ec796a305373cb685326917a77e61261b12e0bdb
7
- data.tar.gz: f4c1b68480b908d7cfb570358cd886b1f1a5b9f6470a416f473e3aeab9ab37f0b60213028de82d483cf385bfe0dd70aa6dbd4191d6d481498c00da64fc48f70a
6
+ metadata.gz: 9a8d98e120d6cffe6d9ed5ad028e022736461b6d913415c81b560ff9181a7a41f076c0f50447048ac51ad9cd2769378ddf7d5107c02147579205fff4dd9ad664
7
+ data.tar.gz: 69104b024ea59a3f5943a5129c769f1e51e1b642a93a072fe6f3a363c2250541777538930896b7be5eb9656dad775eb474892dc0ccd5cfb2a36554a32cbf1063
@@ -2,5 +2,5 @@
2
2
  # The namespace of the CocoaPods Gitee Repo plugin.
3
3
  #
4
4
  module CocoaPodsGiteeRepo
5
- VERSION = '1.0.6'
5
+ VERSION = '1.0.7'
6
6
  end
@@ -21,17 +21,17 @@ module Pod
21
21
  def validate!
22
22
  super
23
23
  help! 'Deleting a repo needs a `NAME`.' unless @name
24
- help! "repo #{@name} does not exist" unless File.directory?(repo_dir_root)
25
- help! "You do not have permission to delete the #{@name} repository." \
26
- 'Perhaps try prefixing this command with sudo.' unless File.writable?(repo_dir_root)
24
+ # help! "repo #{@name} does not exist" unless File.directory?(repo_dir_root)
25
+ # help! "You do not have permission to delete the #{@name} repository." \
26
+ # 'Perhaps try prefixing this command with sudo.' unless File.writable?(repo_dir_root)
27
27
  end
28
28
 
29
29
  def run
30
30
  UI.section("Removing spec repo `#{@name}`") do
31
- if File.exist?(repo_dir_root)
31
+ if Dir.exist?(repo_dir_root)
32
32
  FileUtils.rm_rf(repo_dir_root)
33
33
  end
34
- if File.exist?(default_repo_dir_root)
34
+ if Dir.exist?(default_repo_dir_root)
35
35
  FileUtils.rm_rf(default_repo_dir_root)
36
36
  end
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-gitee-repo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Feldman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-10 00:00:00.000000000 Z
11
+ date: 2023-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler