gitlab-grit 2.6.2 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/grit/submodule.rb +8 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b19f3553df3eba3f189d679f92cf518131004424
|
4
|
+
data.tar.gz: cec807dd7a7d01ffe0311b7780f60e31ca01df95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c4ed9ebbe990a3a6769015c2b7501e1cbc4f63265bc82f2102a67d33d195668f0c1ba8c52d7ad05a9fe384b193bcf02007e0a545883b6f701d14312f445728c
|
7
|
+
data.tar.gz: f28cf318cba6381d283552551974f89b49c42e3ebad7a17a399dc311e0481af06d7a4da2fd9d844922e3f79bbad6ccf202147e58647aab908ad8431b5150ae5b
|
data/lib/grit/submodule.rb
CHANGED
@@ -63,10 +63,15 @@ module Grit
|
|
63
63
|
if line =~ /^\[submodule "(.+)"\]$/
|
64
64
|
current = $1
|
65
65
|
config[current] = {}
|
66
|
-
|
66
|
+
submodule = (commit.tree/current.strip)
|
67
|
+
config[current]['id'] = submodule.id if submodule
|
67
68
|
elsif line =~ /^\t(\w+) = (.+)$/
|
68
69
|
config[current][$1] = $2
|
69
|
-
|
70
|
+
|
71
|
+
if $1 == 'path'
|
72
|
+
submodule = (commit.tree/$2.strip)
|
73
|
+
config[current]['id'] = submodule.id if submodule
|
74
|
+
end
|
70
75
|
else
|
71
76
|
# ignore
|
72
77
|
end
|
@@ -85,4 +90,4 @@ module Grit
|
|
85
90
|
end
|
86
91
|
end # Submodule
|
87
92
|
|
88
|
-
end # Grit
|
93
|
+
end # Grit
|
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.
|
4
|
+
version: 2.6.3
|
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: 2013-11-
|
13
|
+
date: 2013-11-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: charlock_holmes
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
153
|
rubyforge_project:
|
154
|
-
rubygems_version: 2.
|
154
|
+
rubygems_version: 2.1.11
|
155
155
|
signing_key:
|
156
156
|
specification_version: 4
|
157
157
|
summary: Ruby Git bindings.
|