gb 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ext/git_ext.rb +6 -0
- data/lib/gb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f039eeecf6afb7b5aa6dee75176b4d2634a655fb1fc549d95b2b6640657dab59
|
4
|
+
data.tar.gz: c3e0774084ec8748000bc52a44640d7965269f9016e5fd87bda19c2d81f382ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0561288042360a9a39c94eb47fc8bfbc78b1a14246974f738f6b84c476ef73c98cf85a5b97af37f9007ae092c54c4be130b0581bfe174a08b78c6a036c4d4a4a'
|
7
|
+
data.tar.gz: 4a005b24f039670eac6cf77ef42438431e3fedb0a08f9c8fb445f98e5e94d3052fd58769935fe36ec85595d7c7d6ee75e3c4f6a755f2409881597f1cf60642a0
|
data/lib/ext/git_ext.rb
CHANGED
@@ -24,6 +24,12 @@ module Patches
|
|
24
24
|
# @logger = Logger.new(STDOUT)
|
25
25
|
end
|
26
26
|
|
27
|
+
def ls_files(location=nil)
|
28
|
+
#git bug, git diff-files结果不对,先执行git status后正确
|
29
|
+
command_lines("status")
|
30
|
+
super
|
31
|
+
end
|
32
|
+
|
27
33
|
def run_command(git_cmd, &block)
|
28
34
|
git_cmd = git_cmd.gsub(/2>&1$/, '')
|
29
35
|
return IO.popen(git_cmd, &block) if block_given?
|
data/lib/gb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- binluo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitlab
|