gitlab-elasticsearch-git 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/Gemfile.lock +1 -1
- data/lib/elasticsearch/git/repository.rb +5 -9
- data/lib/elasticsearch/git/version.rb +1 -1
- 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: d953d42fd3e6260fa511dc44299272019a928dd4
|
4
|
+
data.tar.gz: 18fd0b44716271d7bfe730accd3b3ff57b89827e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26f1cf32a9dbdd177712d2aad5ce867027986be3a2f5a121036f9df06e4cad609ed590bd6a452e347cc97210db7f003e85dccb37924220c569359de66cb3e0b6
|
7
|
+
data.tar.gz: fa4fefcd1da0dfee0fe6a9e9993c10d51c0c4223ca187c47036e3eb6bf7c8af5a65291eabc01d760ae5649dd408895cea46b307a2b049d45e8749e8a269c5146
|
data/CHANGELOG
CHANGED
data/Gemfile.lock
CHANGED
@@ -205,7 +205,10 @@ module Elasticsearch
|
|
205
205
|
if to_rev == repository_for_indexing.last_commit.oid
|
206
206
|
nil
|
207
207
|
else
|
208
|
-
merge_base(
|
208
|
+
repository_for_indexing.merge_base(
|
209
|
+
to_rev,
|
210
|
+
repository_for_indexing.last_commit.oid
|
211
|
+
)
|
209
212
|
end
|
210
213
|
else
|
211
214
|
from_rev
|
@@ -337,7 +340,7 @@ module Elasticsearch
|
|
337
340
|
return @rugged_repo_indexer if defined? @rugged_repo_indexer
|
338
341
|
|
339
342
|
@path_to_repo ||= repo_path || path_to_repo
|
340
|
-
|
343
|
+
|
341
344
|
set_repository_id
|
342
345
|
|
343
346
|
@rugged_repo_indexer = Rugged::Repository.new(@path_to_repo)
|
@@ -362,13 +365,6 @@ module Elasticsearch
|
|
362
365
|
|
363
366
|
results
|
364
367
|
end
|
365
|
-
|
366
|
-
private
|
367
|
-
|
368
|
-
def merge_base(to_rev)
|
369
|
-
head_sha = repository_for_indexing.last_commit.oid
|
370
|
-
repository_for_indexing.merge_base(to_rev, head_sha)
|
371
|
-
end
|
372
368
|
end
|
373
369
|
|
374
370
|
module ClassMethods
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-elasticsearch-git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Kumanyaev
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-03-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: elasticsearch-model
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
160
|
rubyforge_project:
|
161
|
-
rubygems_version: 2.
|
161
|
+
rubygems_version: 2.2.5
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Elasticsearch integrations for git repositories.
|