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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83d8c94fd58950b444a32007b0a43605d1196d3afc9a2d7467667b745cc4e1d9
4
- data.tar.gz: 8548b3e1959cb101ffec0832ac5773918627083bbf80384ecca3327cb8e23b4f
3
+ metadata.gz: 80b03c91bdde1aacd8458115b377e6dc9a00fb6c76b9a40c12574bdf4b078ad4
4
+ data.tar.gz: 94cd560ec14c127bebab60c89fff38dacf5ddf733c6db2ff033f3485114fb03a
5
5
  SHA512:
6
- metadata.gz: b08d4aeff6db91c804d5fe1689848ab81ee640238155053b8c0e00c958a2f7d9c81fbcc966a09cfdb12605f31f12bdd8fbff99cbc08f690f804577a8bbb3c16c
7
- data.tar.gz: de5491c780c80b6dd1a4f92d6d924f8424e181b8e6afecf2933f6896b2aed64d02eaa1bdf8506b059dd66a152c2f10f7c8c6cb77902a1ffa36964cfea51e425e
6
+ metadata.gz: 561155332f9848636b329b254d0d27a4bfeb8dd1ef6af277e0c37ff058d4ae68c243f1a9366ab766e47f1c6edd88a7a4f0e2dc7b840140cdd850309e6f0b9c2f
7
+ data.tar.gz: d7d15e00d0cc6bb6413cec0c8bc9031bea8d23d1dae0c990735151e519da97495aac657732e5c796cb99fdb1bf4fec142b0059e9514f6ed4d4488f0a9e0817e1
@@ -1,3 +1,3 @@
1
1
  module CocoapodsGit2local
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.5"
3
3
  end
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.3
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: 2022-08-03 00:00:00.000000000 Z
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: []