gitlab_git 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gitlab_git/git_stats.rb +1 -1
- data/lib/gitlab_git/repository.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 578e8ce6a54bae10b79517041886fcfcc1622f67
|
4
|
+
data.tar.gz: 66e3a086dcec03901f4876a4ddffeabccfb4a809
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d102ad4f0be27605573c48ea29d4cda93fdefabffde9990d0fb499a3aa05497309b48542b9dfda4b618beff2dec6cfc682590be68966ce90a69f6bc4da147ca8
|
7
|
+
data.tar.gz: 374602d1c4d9f3324a8a14e9843fc6f6bd8c12a229c726c53cfc3e03030a4a3dc13d6ba42e28662c0a9e3282e100d26b79777f2f96ccb921ee57aaa84d600b12
|
data/lib/gitlab_git/git_stats.rb
CHANGED
@@ -13,7 +13,7 @@ module Gitlab
|
|
13
13
|
log = nil
|
14
14
|
Grit::Git.with_timeout(30) do
|
15
15
|
# Limit log to 6k commits to avoid timeout for huge projects
|
16
|
-
args = ['-6000', '--format=%aN%x0a%aE%x0a%cd', '--date=short', '--shortstat', '--no-merges', '--diff-filter=ACDM']
|
16
|
+
args = [ref, '-6000', '--format=%aN%x0a%aE%x0a%cd', '--date=short', '--shortstat', '--no-merges', '--diff-filter=ACDM']
|
17
17
|
log = repo.git.run(nil, 'log', nil, {}, args)
|
18
18
|
end
|
19
19
|
|
@@ -29,8 +29,8 @@ module Gitlab
|
|
29
29
|
alias_method :repo, :raw
|
30
30
|
|
31
31
|
def initialize(path_with_namespace, root_ref)
|
32
|
-
@root_ref = root_ref || raw.head.name
|
33
32
|
@path_with_namespace = path_with_namespace
|
33
|
+
@root_ref = root_ref || raw.head.name
|
34
34
|
|
35
35
|
# Init grit repo object
|
36
36
|
raw
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab_git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitriy Zaporozhets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-linguist
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.9.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.9.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: gitlab-grit
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|