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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b92ad8cd61b9c2d62fb116b18f32d32427991a19ff500143a73ae56bfb83594
4
- data.tar.gz: 11abb0149753c7034552e921f7cc99def1d8e0ef69d5047c760998fd6306d43e
3
+ metadata.gz: f039eeecf6afb7b5aa6dee75176b4d2634a655fb1fc549d95b2b6640657dab59
4
+ data.tar.gz: c3e0774084ec8748000bc52a44640d7965269f9016e5fd87bda19c2d81f382ab
5
5
  SHA512:
6
- metadata.gz: 25dc38f5ed524a36c9e73845c846ea78e9f5772c8ce2d6feb9b5d7bd8c9d5dcda30e93b503ebaed158b64104abd1f66e0502591cdb6b0da21b4ded543f3d63a6
7
- data.tar.gz: 344af45ef1f1baa0b2810a738f5aacb6c4d1cfe8610226d86b59ad6f34d8a63bc0bc104d3d619ec74ff1727202c35e6812f5db0e66426f13717ad37af989f899
6
+ metadata.gz: '0561288042360a9a39c94eb47fc8bfbc78b1a14246974f738f6b84c476ef73c98cf85a5b97af37f9007ae092c54c4be130b0581bfe174a08b78c6a036c4d4a4a'
7
+ data.tar.gz: 4a005b24f039670eac6cf77ef42438431e3fedb0a08f9c8fb445f98e5e94d3052fd58769935fe36ec85595d7c7d6ee75e3c4f6a755f2409881597f1cf60642a0
@@ -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?
@@ -1,3 +1,3 @@
1
1
  module Gb
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
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.5
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-09-26 00:00:00.000000000 Z
11
+ date: 2019-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitlab