gitlab-grit 2.7.1 → 2.7.2
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 +4 -4
- data/VERSION +1 -1
- data/lib/grit/git.rb +7 -3
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 727486f55a14379860dea18408acb3617a2e2398
|
|
4
|
+
data.tar.gz: cd06b6d3eacba266cc8d7d7692d6d74d5457e256
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef7848f04f4d0aa8038d21cdf7182b9b5853270f276d842303f2ea7eef5ff0530ec04f08034595673e567fdef46c7e70d8b726ac9b79c3eb667595f4f2972279
|
|
7
|
+
data.tar.gz: a78b09a020528c6b8a6a706988db9cb58aba6ba985f4c0758bd6ca68cf48e4100a3ff7a748f9f1fd94604a1a3f2a72e6c46a9e448ba18d903f922fd92f5e6e9e
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.7.
|
|
1
|
+
2.7.2
|
data/lib/grit/git.rb
CHANGED
|
@@ -90,9 +90,13 @@ module Grit
|
|
|
90
90
|
|
|
91
91
|
def self.with_timeout(timeout = 10)
|
|
92
92
|
old_timeout = Grit::Git.git_timeout
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
|
|
94
|
+
begin
|
|
95
|
+
Grit::Git.git_timeout = timeout
|
|
96
|
+
yield
|
|
97
|
+
ensure
|
|
98
|
+
Grit::Git.git_timeout = old_timeout
|
|
99
|
+
end
|
|
96
100
|
end
|
|
97
101
|
|
|
98
102
|
attr_accessor :git_dir, :bytes_read, :work_tree
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab-grit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.7.
|
|
4
|
+
version: 2.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom Preston-Werner
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2014-09
|
|
13
|
+
date: 2014-10-09 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: charlock_holmes
|
|
@@ -157,4 +157,3 @@ signing_key:
|
|
|
157
157
|
specification_version: 4
|
|
158
158
|
summary: Ruby Git bindings.
|
|
159
159
|
test_files: []
|
|
160
|
-
has_rdoc:
|