cocoapods-git2local 0.0.2 → 0.0.3

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: 3222223042f537c5f26abdf8a19020c36c51915f6317e186b537ff30d4d7c32b
4
- data.tar.gz: 8d0a7a93a1aa5ea102ec2c50c2e08d2cf6a854802dc9e13aaab0bd026310a9ee
3
+ metadata.gz: 83d8c94fd58950b444a32007b0a43605d1196d3afc9a2d7467667b745cc4e1d9
4
+ data.tar.gz: 8548b3e1959cb101ffec0832ac5773918627083bbf80384ecca3327cb8e23b4f
5
5
  SHA512:
6
- metadata.gz: 111ce9b2dcf27709543b7eccdc2381baaae2372381ce88c818da87085a2f1c8b1b0a6d41f50f6e1ccc17abc98cf8ceb027cbb48ca65a0b1581aca5a3dd47cee8
7
- data.tar.gz: d0f035cc954b4a2f44830ea510ee52d313ba2282d88381bf1ea746d8ed5afc91eb12ba4c243915b5fb75e5cdabc903f6debf3fd7b5102f285f7ba8b23904a5a5
6
+ metadata.gz: b08d4aeff6db91c804d5fe1689848ab81ee640238155053b8c0e00c958a2f7d9c81fbcc966a09cfdb12605f31f12bdd8fbff99cbc08f690f804577a8bbb3c16c
7
+ data.tar.gz: de5491c780c80b6dd1a4f92d6d924f8424e181b8e6afecf2933f6896b2aed64d02eaa1bdf8506b059dd66a152c2f10f7c8c6cb77902a1ffa36964cfea51e425e
@@ -1,3 +1,3 @@
1
1
  module CocoapodsGit2local
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/pod/git.rb CHANGED
@@ -6,7 +6,7 @@ def gitclone(git, branch, commit)
6
6
  Dir.chdir(component)
7
7
  p Dir.pwd
8
8
  unless system("git status | grep 'nothing to commit'")
9
- puts 'sssss'
9
+ raise component + '存在未提交的修改'
10
10
  else
11
11
  system("git reset --hard")
12
12
  if branch
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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - account120