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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d953d42fd3e6260fa511dc44299272019a928dd4
4
- data.tar.gz: 18fd0b44716271d7bfe730accd3b3ff57b89827e
3
+ metadata.gz: 1fa21669be5ef0225d9acb87a763e1c502d631e1
4
+ data.tar.gz: d1dfa19d99f8a751ddda030f88a2cd4d9c5ccee1
5
5
  SHA512:
6
- metadata.gz: 26f1cf32a9dbdd177712d2aad5ce867027986be3a2f5a121036f9df06e4cad609ed590bd6a452e347cc97210db7f003e85dccb37924220c569359de66cb3e0b6
7
- data.tar.gz: fa4fefcd1da0dfee0fe6a9e9993c10d51c0c4223ca187c47036e3eb6bf7c8af5a65291eabc01d760ae5649dd408895cea46b307a2b049d45e8749e8a269c5146
6
+ metadata.gz: 9a19766be7c39226f16e0e32d6893f431247a8deebb11b30b6d565f28ee988ce9ac061e3ac56f7cb07c5b7bb2ddce0a47391a9683a3dc7acdda046c74cd71d7c
7
+ data.tar.gz: 56bde694da456c3581ec25aa3d546bcce9ec483b1fd9597b1c1bc53fb24f74bc0bd655f6e78822d2d74823bc0119e5e9759037e02b84ee34f71a780507113156
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ 0.0.12
2
+ - Update rugged
3
+
1
4
  0.0.11
2
5
  - Fix an ArgumentError when calling `merge_base`
3
6
 
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ gemspec
5
5
 
6
6
  gem 'elasticsearch-model'
7
7
  gem 'elasticsearch-api'
8
- gem 'rugged'
8
+ gem 'rugged', '~> 0.24.0b13'
9
9
  gem 'rake'
10
10
  gem 'pry'
11
11
  gem 'charlock_holmes', '~> 0.7.3'
@@ -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.23.3)
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.23.3)
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.10.6
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.3'
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
- match: {
457
- 'blob.content' => {
458
- query: "#{query}",
459
- operator: :and
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
  }
@@ -1,5 +1,5 @@
1
1
  module Elasticsearch
2
2
  module Git
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.12"
4
4
  end
5
5
  end
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.11
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-03-03 00:00:00.000000000 Z
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.23.3
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.23.3
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.2.5
161
+ rubygems_version: 2.4.8
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Elasticsearch integrations for git repositories.