cocoapods-git2local 0.0.4 → 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: 06b13eb1aa947bcb6433fd98fb51a14210af6e62083f7d8760999166fb2bcde8
4
- data.tar.gz: e776be99f7307959105154a61541917834c4eb78a87eeeccef6d79ee1e421a6d
3
+ metadata.gz: 80b03c91bdde1aacd8458115b377e6dc9a00fb6c76b9a40c12574bdf4b078ad4
4
+ data.tar.gz: 94cd560ec14c127bebab60c89fff38dacf5ddf733c6db2ff033f3485114fb03a
5
5
  SHA512:
6
- metadata.gz: ac89a18197dcffdfabd6bb39811f3564b6b4fa23053c0ad9f57f6e7a7e69ef90643d52ccfa885ec9a84ee154e9b90e0326da6a3a840adfa5b7896a3ffb43bada
7
- data.tar.gz: 8bcccf03884eb80e09074b7cb6ef4e6f108bf19b6acbdd37f58a7926bea7fdb738f9bf7ae886fdda52b3ff642ef80b860ffbad8e04bb4de692b174f68f915da8
6
+ metadata.gz: 561155332f9848636b329b254d0d27a4bfeb8dd1ef6af277e0c37ff058d4ae68c243f1a9366ab766e47f1c6edd88a7a4f0e2dc7b840140cdd850309e6f0b9c2f
7
+ data.tar.gz: d7d15e00d0cc6bb6413cec0c8bc9031bea8d23d1dae0c990735151e519da97495aac657732e5c796cb99fdb1bf4fec142b0059e9514f6ed4d4488f0a9e0817e1
@@ -1,3 +1,3 @@
1
1
  module CocoapodsGit2local
2
- VERSION = "0.0.4"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-git2local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - account120