gitlab-grit 2.6.11 → 2.6.12

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/grit/git.rb +7 -3
  4. metadata +2 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b24725577aec4aea6d7ba1b0acaecfc1bd2c5d56
4
- data.tar.gz: 036469130b588bfd28e07dd7c9fcaaf3616da762
3
+ metadata.gz: dbcb38be75cc25e62f89d38afce7714a950e7e02
4
+ data.tar.gz: 6e49b5819c8e7fb557cf3f4af1e25d56fa3e0141
5
5
  SHA512:
6
- metadata.gz: caa6f3a1f7988ff5b5ab3fb1b856a3847231bfa3f9089199f6ea6b5edabd8152e8f92a9e8479856a264a809c39d59286b4f3d3c7763d1cef12fa34b28e98e7f7
7
- data.tar.gz: 2e8e2509bb0aa43cacc5337cce4f36b255d9b1061652d4e5c36b82c494abf3dba3af2d6b4f03198f531f6630bac66b42c3b2abeffe7909d3cfa70aee3c0e1873
6
+ metadata.gz: ac28bbeddc4450e9192068cb755f6b781e6ec8f86c61c8b034fdc97f2aa374d07369edd7d3ba426fc57685763bb4dc0a25cb8cd935addd92d7f629f5a8af514c
7
+ data.tar.gz: 90780934a6e8f6d019c4f4c6a386f45445da624841d9c4f62914fcc411894f307e096ebd0edca09ee77b2eecd02f9f82fb17f0c69ee7258b589ce4853ecb80f5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.6.11
1
+ 2.6.12
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
- Grit::Git.git_timeout = timeout
94
- yield
95
- Grit::Git.git_timeout = old_timeout
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.6.11
4
+ version: 2.6.12
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-10 00:00:00.000000000 Z
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: