cocoapods-git2local 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-git2local/gem_version.rb +1 -1
- data/lib/pod/git.rb +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80b03c91bdde1aacd8458115b377e6dc9a00fb6c76b9a40c12574bdf4b078ad4
|
4
|
+
data.tar.gz: 94cd560ec14c127bebab60c89fff38dacf5ddf733c6db2ff033f3485114fb03a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 561155332f9848636b329b254d0d27a4bfeb8dd1ef6af277e0c37ff058d4ae68c243f1a9366ab766e47f1c6edd88a7a4f0e2dc7b840140cdd850309e6f0b9c2f
|
7
|
+
data.tar.gz: d7d15e00d0cc6bb6413cec0c8bc9031bea8d23d1dae0c990735151e519da97495aac657732e5c796cb99fdb1bf4fec142b0059e9514f6ed4d4488f0a9e0817e1
|
data/lib/pod/git.rb
CHANGED
@@ -9,6 +9,7 @@ def gitclone(git, branch, commit)
|
|
9
9
|
raise component + '存在未提交的修改'
|
10
10
|
else
|
11
11
|
system("git reset --hard")
|
12
|
+
system("git pull")
|
12
13
|
if branch
|
13
14
|
system("git checkout " + branch)
|
14
15
|
system("git pull")
|
@@ -20,6 +21,7 @@ def gitclone(git, branch, commit)
|
|
20
21
|
system("git clone " + git)
|
21
22
|
Dir.chdir(component)
|
22
23
|
p Dir.pwd
|
24
|
+
system("git pull")
|
23
25
|
system("git checkout " + commit)
|
24
26
|
end
|
25
27
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-git2local
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- account120
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
description: clone file for podfile use git.
|
41
|
+
description: clone file for podfile use git. ENV['GIT_2_LOCAL'] = "true"
|
42
42
|
email:
|
43
43
|
- 979812871@qq.com
|
44
44
|
executables: []
|
@@ -73,5 +73,5 @@ requirements: []
|
|
73
73
|
rubygems_version: 3.0.9
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
|
-
summary: clone file for podfile use git.
|
76
|
+
summary: clone file for podfile use git. ENV['GIT_2_LOCAL'] = "true"
|
77
77
|
test_files: []
|