cocoapods-gitee-repo 1.0.4 → 1.0.5

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: 14a394d4ebf53e7ec26aad5e4d49267140d57ddbc58606abefe55a07439c059e
4
- data.tar.gz: fe1daf5528d13fb3e192df316f219ecef7949f958f287ec45d0b25bad619d566
3
+ metadata.gz: 3d6006f185d9d8bbd6409b865a405d66f5ebf2363d7cb610dbbd6c56f13d5579
4
+ data.tar.gz: 1e784ddb4aca2a1ff0e02438f64f716e1c51415e33c1cdc7f2d36a1898dd4806
5
5
  SHA512:
6
- metadata.gz: 91c2a4a37512a5617b62c6847c5b7d5e756af6a597e9779bc05377dc24a08497cd1889af8fea8796a7347eeeef62382df6d05d6425b907ba3552f7d21f1bd751
7
- data.tar.gz: 4d0659211cc6a3db371551e6435dcdd44aba7565dd3b2f042424b359407f7b8cd973dd0a25bc31ed711ccf07a9847f9bd2050a384d1489a9c62f3c42a20398c1
6
+ metadata.gz: 4b3766d1a14c78c367bf1cb23bd4cac6823eaf091cd7baea10f9b522687a784c5f282f78fe46c814c4df5cf332aa5973958abd81746447eb81037923f117537e
7
+ data.tar.gz: 7a7ee1947c6fa9093448d55aa1d8bfcc8c68ffc596a55ecc6819dffef2fd969c4bda41be3ab0b181b0ddb33e26d4ff35a963ce32f62785dea33be903272a8bb4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-gitee-repo (1.0.3)
4
+ cocoapods-gitee-repo (1.0.4)
5
5
 
6
6
  GEM
7
7
  remote: https://gems.ruby-china.com/
@@ -2,5 +2,5 @@
2
2
  # The namespace of the CocoaPods Gitee Repo plugin.
3
3
  #
4
4
  module CocoaPodsGiteeRepo
5
- VERSION = '1.0.4'
5
+ VERSION = '1.0.5'
6
6
  end
@@ -72,8 +72,8 @@ module Pod
72
72
 
73
73
  # @return [Pathname] The root directory of the repository.
74
74
  def repo_root_dir
75
- root_dir = config.repos_dir + @repo
76
- raise Informative, "'#{@repo}' is not an Gitee-backed Specs repo" unless UTIL.gitee_repo?(root_dir)
75
+ root_dir = Pathname.new("#{UTIL.get_gitee_repos_dir}/#{@repo}").expand_path
76
+ raise Informative, "'#{@repo}' is not an Gitee-backed Specs repo" unless UTIL.gitee_repo(root_dir)
77
77
  root_dir
78
78
  end
79
79
 
@@ -42,7 +42,7 @@ module Pod
42
42
  #
43
43
  # @param [Pathname] repo_root_path root directory of the repo.
44
44
  #
45
- def self.gitee_repo?(repo_root_path)
45
+ def self.gitee_repo(repo_root_path)
46
46
  true if File.exist?("#{repo_root_path}/.artpodrc")
47
47
  end
48
48
 
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.4
4
+ version: 1.0.5
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-06-07 00:00:00.000000000 Z
11
+ date: 2023-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler