gitlab-grit 2.7.1 → 2.7.2

Sign up to get free protection for your applications and to get access to all the features.
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: 50d2332e9f83f182b9fc5a1178ab6ef11db8dc22
4
- data.tar.gz: 8e2536c308e1b3b5ff7d1ccf98478f47f1983233
3
+ metadata.gz: 727486f55a14379860dea18408acb3617a2e2398
4
+ data.tar.gz: cd06b6d3eacba266cc8d7d7692d6d74d5457e256
5
5
  SHA512:
6
- metadata.gz: c3a1a06490065b3a52ff7151f1ea28231c8009bcd34c6e946f48561eb5a24bfad3563f6b1c49ec3a8dbfab41241803a509a52295acbc582adc49639dcc8b2a55
7
- data.tar.gz: 5f46d54c9781d90a2743aedd90da69ab4983f48cef58a402e8b27225774b3b2da6fbc7cdb4bf7e584159eb31ffd76e01daf8e61ce8b1b9f2aa679e30d1dfdb21
6
+ metadata.gz: ef7848f04f4d0aa8038d21cdf7182b9b5853270f276d842303f2ea7eef5ff0530ec04f08034595673e567fdef46c7e70d8b726ac9b79c3eb667595f4f2972279
7
+ data.tar.gz: a78b09a020528c6b8a6a706988db9cb58aba6ba985f4c0758bd6ca68cf48e4100a3ff7a748f9f1fd94604a1a3f2a72e6c46a9e448ba18d903f922fd92f5e6e9e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.7.1
1
+ 2.7.2
@@ -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.7.1
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-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: