cocoapods-git2local 0.0.2 → 0.0.4

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: 3222223042f537c5f26abdf8a19020c36c51915f6317e186b537ff30d4d7c32b
4
- data.tar.gz: 8d0a7a93a1aa5ea102ec2c50c2e08d2cf6a854802dc9e13aaab0bd026310a9ee
3
+ metadata.gz: 06b13eb1aa947bcb6433fd98fb51a14210af6e62083f7d8760999166fb2bcde8
4
+ data.tar.gz: e776be99f7307959105154a61541917834c4eb78a87eeeccef6d79ee1e421a6d
5
5
  SHA512:
6
- metadata.gz: 111ce9b2dcf27709543b7eccdc2381baaae2372381ce88c818da87085a2f1c8b1b0a6d41f50f6e1ccc17abc98cf8ceb027cbb48ca65a0b1581aca5a3dd47cee8
7
- data.tar.gz: d0f035cc954b4a2f44830ea510ee52d313ba2282d88381bf1ea746d8ed5afc91eb12ba4c243915b5fb75e5cdabc903f6debf3fd7b5102f285f7ba8b23904a5a5
6
+ metadata.gz: ac89a18197dcffdfabd6bb39811f3564b6b4fa23053c0ad9f57f6e7a7e69ef90643d52ccfa885ec9a84ee154e9b90e0326da6a3a840adfa5b7896a3ffb43bada
7
+ data.tar.gz: 8bcccf03884eb80e09074b7cb6ef4e6f108bf19b6acbdd37f58a7926bea7fdb738f9bf7ae886fdda52b3ff642ef80b860ffbad8e04bb4de692b174f68f915da8
@@ -1,3 +1,3 @@
1
1
  module CocoapodsGit2local
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
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,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.2
4
+ version: 0.0.4
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: []