gitlab-elasticsearch-git 0.0.11 → 0.0.12
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 +1 -1
- data/Gemfile.lock +4 -4
- data/gitlab-elasticsearch-git.gemspec +1 -1
- data/lib/elasticsearch/git/repository.rb +5 -5
- data/lib/elasticsearch/git/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fa21669be5ef0225d9acb87a763e1c502d631e1
|
4
|
+
data.tar.gz: d1dfa19d99f8a751ddda030f88a2cd4d9c5ccee1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a19766be7c39226f16e0e32d6893f431247a8deebb11b30b6d565f28ee988ce9ac061e3ac56f7cb07c5b7bb2ddce0a47391a9683a3dc7acdda046c74cd71d7c
|
7
|
+
data.tar.gz: 56bde694da456c3581ec25aa3d546bcce9ec483b1fd9597b1c1bc53fb24f74bc0bd655f6e78822d2d74823bc0119e5e9759037e02b84ee34f71a780507113156
|
data/CHANGELOG
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -8,7 +8,7 @@ PATH
|
|
8
8
|
elasticsearch-api (~> 1.0)
|
9
9
|
elasticsearch-model (~> 0.1.8)
|
10
10
|
github-linguist (~> 4.7)
|
11
|
-
rugged (~> 0.
|
11
|
+
rugged (~> 0.24.0b13)
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
@@ -74,7 +74,7 @@ GEM
|
|
74
74
|
diff-lcs (>= 1.2.0, < 2.0)
|
75
75
|
rspec-support (~> 3.4.0)
|
76
76
|
rspec-support (3.4.1)
|
77
|
-
rugged (0.
|
77
|
+
rugged (0.24.0)
|
78
78
|
slop (3.6.0)
|
79
79
|
thread_safe (0.3.5)
|
80
80
|
tzinfo (1.2.2)
|
@@ -92,7 +92,7 @@ DEPENDENCIES
|
|
92
92
|
pry
|
93
93
|
rake
|
94
94
|
rspec
|
95
|
-
rugged
|
95
|
+
rugged (~> 0.24.0b13)
|
96
96
|
|
97
97
|
BUNDLED WITH
|
98
|
-
1.
|
98
|
+
1.11.2
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_runtime_dependency 'elasticsearch-model', '~> 0.1.8'
|
22
22
|
spec.add_runtime_dependency 'elasticsearch-api', '~> 1.0'
|
23
|
-
spec.add_runtime_dependency 'rugged', '~> 0.
|
23
|
+
spec.add_runtime_dependency 'rugged', '~> 0.24.0b13'
|
24
24
|
spec.add_runtime_dependency 'charlock_holmes', '~> 0.7'
|
25
25
|
spec.add_runtime_dependency 'github-linguist', '~> 4.7'
|
26
26
|
spec.add_runtime_dependency 'activemodel', '~> 4.2'
|
@@ -453,11 +453,10 @@ module Elasticsearch
|
|
453
453
|
query: {
|
454
454
|
filtered: {
|
455
455
|
query: {
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
}
|
456
|
+
multi_match: {
|
457
|
+
query: query,
|
458
|
+
operator: :and,
|
459
|
+
fields: [ 'blob.content', 'blob.path' ]
|
461
460
|
}
|
462
461
|
}
|
463
462
|
}
|
@@ -519,6 +518,7 @@ module Elasticsearch
|
|
519
518
|
post_tags: ["←gitlabelasticsearch"],
|
520
519
|
fields: {
|
521
520
|
"blob.content" => {},
|
521
|
+
"blob.path" => {},
|
522
522
|
"type" => "fvh",
|
523
523
|
"boundary_chars" => "\n"
|
524
524
|
}
|
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.12
|
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-04-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: elasticsearch-model
|
@@ -46,14 +46,14 @@ dependencies:
|
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.24.0b13
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.
|
56
|
+
version: 0.24.0b13
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: charlock_holmes
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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.4.8
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: Elasticsearch integrations for git repositories.
|