esearch 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +6 -0
  3. data/.travis.yml +2 -5
  4. data/Changelog.md +5 -0
  5. data/Gemfile +1 -1
  6. data/Gemfile.devtools +22 -18
  7. data/config/flay.yml +2 -2
  8. data/config/reek.yml +5 -4
  9. data/config/rubocop.yml +81 -0
  10. data/esearch.gemspec +7 -7
  11. data/lib/esearch.rb +3 -1
  12. data/lib/esearch/cluster.rb +6 -5
  13. data/lib/esearch/command.rb +15 -7
  14. data/lib/esearch/command/cluster.rb +6 -4
  15. data/lib/esearch/command/document.rb +13 -13
  16. data/lib/esearch/command/exist.rb +6 -4
  17. data/lib/esearch/command/index.rb +7 -5
  18. data/lib/esearch/command/search.rb +5 -4
  19. data/lib/esearch/command/status.rb +5 -3
  20. data/lib/esearch/connection.rb +4 -3
  21. data/lib/esearch/document.rb +4 -2
  22. data/lib/esearch/index.rb +4 -2
  23. data/lib/esearch/indices.rb +8 -6
  24. data/lib/esearch/mixin.rb +8 -6
  25. data/lib/esearch/presenter.rb +5 -3
  26. data/lib/esearch/presenter/aspect.rb +5 -3
  27. data/lib/esearch/presenter/aspect/range.rb +11 -9
  28. data/lib/esearch/presenter/aspect/term.rb +6 -4
  29. data/lib/esearch/presenter/cluster.rb +6 -4
  30. data/lib/esearch/presenter/document.rb +12 -10
  31. data/lib/esearch/presenter/facet.rb +9 -9
  32. data/lib/esearch/presenter/hit.rb +9 -8
  33. data/lib/esearch/presenter/hits.rb +8 -7
  34. data/lib/esearch/presenter/index.rb +9 -7
  35. data/lib/esearch/presenter/search.rb +7 -5
  36. data/lib/esearch/presenter/status.rb +6 -4
  37. data/lib/esearch/request.rb +5 -3
  38. data/lib/esearch/type.rb +5 -2
  39. data/spec/integration/esearch/spike_spec.rb +15 -10
  40. data/spec/spec_helper.rb +6 -5
  41. data/spec/support/example_group_methods.rb +2 -0
  42. data/spec/support/ice_nine_config.rb +2 -0
  43. data/spec/unit/esearch/cluster_spec.rb +59 -0
  44. data/spec/unit/esearch/command/class_methods/run_spec.rb +3 -1
  45. data/spec/unit/esearch/command/cluster/health/run_spec.rb +2 -0
  46. data/spec/unit/esearch/command/document/delete/run_spec.rb +3 -1
  47. data/spec/unit/esearch/command/document/get/result_spec.rb +5 -3
  48. data/spec/unit/esearch/command/document/index/create/run_spec.rb +6 -2
  49. data/spec/unit/esearch/command/document/index/run_create_spec.rb +6 -2
  50. data/spec/unit/esearch/command/document/index/run_spec.rb +3 -1
  51. data/spec/unit/esearch/command/document/index/run_update_spec.rb +6 -2
  52. data/spec/unit/esearch/command/document/index/update/run_spec.rb +6 -2
  53. data/spec/unit/esearch/command/exist/result_spec.rb +5 -3
  54. data/spec/unit/esearch/command/index/create/run_spec.rb +2 -0
  55. data/spec/unit/esearch/command/index/delete/run_spec.rb +3 -1
  56. data/spec/unit/esearch/command/index/refresh/run_spec.rb +3 -1
  57. data/spec/unit/esearch/command/result_spec.rb +17 -7
  58. data/spec/unit/esearch/command/search/run_spec.rb +2 -0
  59. data/spec/unit/esearch/command/status/run_spec.rb +3 -1
  60. data/spec/unit/esearch/connection/class_methods/build_spec.rb +2 -0
  61. data/spec/unit/esearch/connection/run_spec.rb +6 -4
  62. data/spec/unit/esearch/document_spec.rb +44 -0
  63. data/spec/unit/esearch/index_spec.rb +42 -0
  64. data/spec/unit/esearch/indices/all_spec.rb +16 -0
  65. data/spec/unit/esearch/indices_spec.rb +18 -0
  66. data/spec/unit/esearch/mixin/document/index_create_spec.rb +2 -0
  67. data/spec/unit/esearch/mixin/document/index_spec.rb +2 -0
  68. data/spec/unit/esearch/mixin/document/index_update_spec.rb +2 -0
  69. data/spec/unit/esearch/mixin/exist/exist_predicate_spec.rb +2 -0
  70. data/spec/unit/esearch/mixin/index/refresh_spec.rb +2 -0
  71. data/spec/unit/esearch/mixin/index/status_spec.rb +2 -0
  72. data/spec/unit/esearch/mixin/search/search_spec.rb +2 -0
  73. data/spec/unit/esearch/presenter/aspect/range/from_spec.rb +2 -0
  74. data/spec/unit/esearch/presenter/aspect/range/to_spec.rb +2 -0
  75. data/spec/unit/esearch/presenter/class_methods/new_spec.rb +2 -0
  76. data/spec/unit/esearch/presenter/facet_spec.rb +60 -0
  77. data/spec/unit/esearch/presenter/hit/fields_spec.rb +2 -0
  78. data/spec/unit/esearch/presenter/hit/source_spec.rb +2 -0
  79. data/spec/unit/esearch/presenter/hits/each_spec.rb +7 -5
  80. data/spec/unit/esearch/presenter/hits/size_spec.rb +5 -3
  81. data/spec/unit/esearch/presenter/search_spec.rb +50 -0
  82. data/spec/unit/esearch/request_spec.rb +96 -0
  83. data/spec/unit/esearch/type_spec.rb +37 -0
  84. metadata +34 -50
  85. data/spec/unit/esearch/cluster/class_methods/connect_spec.rb +0 -16
  86. data/spec/unit/esearch/cluster/health_spec.rb +0 -10
  87. data/spec/unit/esearch/cluster/index_spec.rb +0 -11
  88. data/spec/unit/esearch/cluster/indices_spec.rb +0 -11
  89. data/spec/unit/esearch/cluster/path_spec.rb +0 -11
  90. data/spec/unit/esearch/document/connection_spec.rb +0 -12
  91. data/spec/unit/esearch/document/delete_spec.rb +0 -12
  92. data/spec/unit/esearch/document/get_spec.rb +0 -12
  93. data/spec/unit/esearch/index/create_spec.rb +0 -12
  94. data/spec/unit/esearch/index/delete_spec.rb +0 -11
  95. data/spec/unit/esearch/index/type_spec.rb +0 -12
  96. data/spec/unit/esearch/indices/all/path_spec.rb +0 -12
  97. data/spec/unit/esearch/presenter/facet/build_spec.rb +0 -26
  98. data/spec/unit/esearch/presenter/facet/class_methods/build_spec.rb +0 -26
  99. data/spec/unit/esearch/request/initialize_spec.rb +0 -39
  100. data/spec/unit/esearch/request/run_spec.rb +0 -39
  101. data/spec/unit/esearch/type/connection_spec.rb +0 -15
  102. data/spec/unit/esearch/type/document_spec.rb +0 -12
@@ -1,3 +1,5 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Esearch::Presenter::Hit, '#source' do
@@ -1,13 +1,15 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Esearch::Presenter::Hits, '#each' do
4
6
  subject { object.each { |hit| yields << hit } }
5
7
 
6
- let(:object) { described_class.new(raw) }
7
- let(:yields) { [] }
8
- let(:hit_a) { double('Hit A') }
9
- let(:hit_b) { double('Hit B') }
10
- let(:raw) { { 'hits' => [ hit_a, hit_b ] } }
8
+ let(:object) { described_class.new(raw) }
9
+ let(:yields) { [] }
10
+ let(:hit_a) { double('Hit A') }
11
+ let(:hit_b) { double('Hit B') }
12
+ let(:raw) { { 'hits' => [hit_a, hit_b] } }
11
13
 
12
14
  it_should_behave_like 'an #each method'
13
15
 
@@ -1,11 +1,13 @@
1
+ # encoding: UTF-8
2
+
1
3
  require 'spec_helper'
2
4
 
3
5
  describe Esearch::Presenter::Hits, '#size' do
4
6
  subject { object.size }
5
7
 
6
- let(:object) { described_class.new(raw) }
7
- let(:size) { double('Size') }
8
- let(:raw) { { 'hits' => double(:size => size)} }
8
+ let(:object) { described_class.new(raw) }
9
+ let(:size) { double('Size') }
10
+ let(:raw) { { 'hits' => double(size: size) } }
9
11
 
10
12
  it { should be(size) }
11
13
 
@@ -0,0 +1,50 @@
1
+ # encoding: UTF-8
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Esearch::Presenter::Search do
6
+ let(:object) { described_class.new(raw) }
7
+
8
+ describe '#hits' do
9
+ subject { object.hits }
10
+
11
+ let(:raw) { { 'hits' => hits_raw } }
12
+ let(:hits_raw) { double('Hits') }
13
+
14
+ it { should eql(Esearch::Presenter::Hits.new(hits_raw)) }
15
+
16
+ it_should_behave_like 'an idempotent method'
17
+ end
18
+
19
+ describe '#facets' do
20
+ subject { object.facets }
21
+
22
+ context 'with no facets' do
23
+ let(:raw) { {} }
24
+
25
+ it { should eql({}) }
26
+
27
+ it_should_behave_like 'an idempotent method'
28
+ end
29
+
30
+ context 'with facets' do
31
+ let(:raw) do
32
+ {
33
+ 'facets' => {
34
+ 'foo' => { '_type' => 'terms' },
35
+ 'bar' => { '_type' => 'range' }
36
+ }
37
+ }
38
+ end
39
+
40
+ it do
41
+ should eql(
42
+ 'foo' => Esearch::Presenter::Facet::Terms.build('_type' => 'terms'),
43
+ 'bar' => Esearch::Presenter::Facet::Range.build('_type' => 'range')
44
+ )
45
+ end
46
+
47
+ it_should_behave_like 'an idempotent method'
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,96 @@
1
+ # encoding: UTF-8
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Esearch::Request do
6
+
7
+ let(:object) { described_class.new(verb, path, body, params) }
8
+
9
+ describe '.new' do
10
+ let(:object) { described_class }
11
+
12
+ subject { object.new(*arguments) }
13
+
14
+ let(:verb) { double('Verb') }
15
+ let(:path) { '/some/path' }
16
+ let(:params) { double('Params') }
17
+ let(:body) { double('Body') }
18
+
19
+ context 'with two args' do
20
+ let(:arguments) { [verb, path] }
21
+
22
+ its(:verb) { should be(verb) }
23
+ its(:path) { should be(path) }
24
+ its(:body) { should be(described_class::EMPTY_HASH) }
25
+ its(:params) { should be(described_class::EMPTY_HASH) }
26
+ end
27
+
28
+ context 'with three args' do
29
+ let(:arguments) { [verb, path, body] }
30
+
31
+ its(:verb) { should be(verb) }
32
+ its(:path) { should be(path) }
33
+ its(:body) { should be(body) }
34
+ its(:params) { should be(described_class::EMPTY_HASH) }
35
+ end
36
+
37
+ context 'with four args' do
38
+ let(:arguments) { [verb, path, body, params] }
39
+
40
+ its(:verb) { should be(verb) }
41
+ its(:path) { should be(path) }
42
+ its(:body) { should be(body) }
43
+ its(:params) { should be(params) }
44
+ end
45
+ end
46
+
47
+ describe '#run' do
48
+
49
+ subject { object.run(connection) }
50
+
51
+ let(:verb) { :get }
52
+ let(:path) { '/some/random/path' }
53
+ let(:body) { { 'foo' => 'bar' } }
54
+ let(:params) { { 'baz' => 'buz' } }
55
+
56
+ let(:response_status) { double('Status') }
57
+ let(:response_headers) { {} }
58
+ let(:response_body) { double('Body') }
59
+
60
+ let(:connection) do
61
+ Faraday.new do |builder|
62
+ builder.adapter :test, stubs
63
+ end
64
+ end
65
+
66
+ let(:stubs) do
67
+ Faraday::Adapter::Test::Stubs.new do |stub|
68
+ stub.get('/some/random/path') do |env|
69
+ env.fetch(:request_headers).fetch('Content-Type').should eql('application/json; charset=UTF-8')
70
+ env.fetch(:method).should be(:get)
71
+ env.fetch(:params).should eql(params)
72
+ env.fetch(:url).should eql(URI.parse('http:/some/random/path?baz=buz'))
73
+ env.fetch(:body).should eql('{"foo":"bar"}')
74
+ [response_status, response_headers, response_body]
75
+ end
76
+ end
77
+ end
78
+
79
+ its(:status) { should be(response_status) }
80
+ its(:headers) { should eql(Faraday::Utils::Headers.new(response_headers)) }
81
+ its(:body) { should be(response_body) }
82
+ end
83
+
84
+ describe '#log_string' do
85
+
86
+ subject { object.log_string }
87
+
88
+ let(:verb) { :get }
89
+ let(:path) { '/some/random/path' }
90
+ let(:body) { { 'foo' => 'bar' } }
91
+ let(:params) { { 'baz' => 'buz' } }
92
+
93
+ it { should eql('GET /some/random/path : {"baz"=>"buz"} : {"foo"=>"bar"}') }
94
+ end
95
+
96
+ end
@@ -0,0 +1,37 @@
1
+ # encoding: UTF-8
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Esearch::Type do
6
+ let(:object) { described_class.new(index, type_name) }
7
+ let(:index) { double('Index', connection: connection) }
8
+ let(:connection) { double('Connection') }
9
+ let(:type_name) { double('Type Name') }
10
+
11
+ describe '#connection' do
12
+ subject { object.connection }
13
+
14
+ it { should be(connection) }
15
+
16
+ it_should_behave_like 'an idempotent method'
17
+ end
18
+
19
+ describe '#document' do
20
+ subject { object.document(id) }
21
+
22
+ let(:id) { double('ID') }
23
+
24
+ it { should eql(Esearch::Document.new(object, id)) }
25
+ end
26
+
27
+ describe '#path' do
28
+ let(:type_name) { 'type-foo' }
29
+ let(:index) { double('Index', path: Pathname.new('a-index')) }
30
+
31
+ subject { object.path }
32
+
33
+ it { should eql(Pathname.new('a-index/type-foo')) }
34
+
35
+ it_should_behave_like 'an idempotent method'
36
+ end
37
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-06 00:00:00.000000000 Z
11
+ date: 2014-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: descendants_tracker
@@ -30,84 +30,84 @@ dependencies:
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 0.1.0
33
+ version: 0.1.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 0.1.0
40
+ version: 0.1.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: faraday
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 0.8.4
47
+ version: 0.9.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 0.8.4
54
+ version: 0.9.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: adamantium
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.0
61
+ version: 0.2.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: 0.1.0
68
+ version: 0.2.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: equalizer
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: 0.0.5
75
+ version: 0.0.9
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 0.0.5
82
+ version: 0.0.9
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: abstract_type
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: 0.0.5
89
+ version: 0.0.7
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: 0.0.5
96
+ version: 0.0.7
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: multi_json
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ~>
102
102
  - !ruby/object:Gem::Version
103
- version: 1.8.2
103
+ version: 1.9.2
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ~>
109
109
  - !ruby/object:Gem::Version
110
- version: 1.8.2
110
+ version: 1.9.2
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: null_logger
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -132,6 +132,7 @@ extra_rdoc_files:
132
132
  files:
133
133
  - .gitignore
134
134
  - .rspec
135
+ - .rubocop.yml
135
136
  - .travis.yml
136
137
  - Changelog.md
137
138
  - Gemfile
@@ -147,6 +148,7 @@ files:
147
148
  - config/flog.yml
148
149
  - config/mutant.yml
149
150
  - config/reek.yml
151
+ - config/rubocop.yml
150
152
  - config/yardstick.yml
151
153
  - esearch.gemspec
152
154
  - lib/esearch.rb
@@ -181,11 +183,7 @@ files:
181
183
  - spec/spec_helper.rb
182
184
  - spec/support/example_group_methods.rb
183
185
  - spec/support/ice_nine_config.rb
184
- - spec/unit/esearch/cluster/class_methods/connect_spec.rb
185
- - spec/unit/esearch/cluster/health_spec.rb
186
- - spec/unit/esearch/cluster/index_spec.rb
187
- - spec/unit/esearch/cluster/indices_spec.rb
188
- - spec/unit/esearch/cluster/path_spec.rb
186
+ - spec/unit/esearch/cluster_spec.rb
189
187
  - spec/unit/esearch/command/class_methods/run_spec.rb
190
188
  - spec/unit/esearch/command/cluster/health/run_spec.rb
191
189
  - spec/unit/esearch/command/document/delete/run_spec.rb
@@ -204,13 +202,10 @@ files:
204
202
  - spec/unit/esearch/command/status/run_spec.rb
205
203
  - spec/unit/esearch/connection/class_methods/build_spec.rb
206
204
  - spec/unit/esearch/connection/run_spec.rb
207
- - spec/unit/esearch/document/connection_spec.rb
208
- - spec/unit/esearch/document/delete_spec.rb
209
- - spec/unit/esearch/document/get_spec.rb
210
- - spec/unit/esearch/index/create_spec.rb
211
- - spec/unit/esearch/index/delete_spec.rb
212
- - spec/unit/esearch/index/type_spec.rb
213
- - spec/unit/esearch/indices/all/path_spec.rb
205
+ - spec/unit/esearch/document_spec.rb
206
+ - spec/unit/esearch/index_spec.rb
207
+ - spec/unit/esearch/indices/all_spec.rb
208
+ - spec/unit/esearch/indices_spec.rb
214
209
  - spec/unit/esearch/mixin/document/index_create_spec.rb
215
210
  - spec/unit/esearch/mixin/document/index_spec.rb
216
211
  - spec/unit/esearch/mixin/document/index_update_spec.rb
@@ -221,16 +216,14 @@ files:
221
216
  - spec/unit/esearch/presenter/aspect/range/from_spec.rb
222
217
  - spec/unit/esearch/presenter/aspect/range/to_spec.rb
223
218
  - spec/unit/esearch/presenter/class_methods/new_spec.rb
224
- - spec/unit/esearch/presenter/facet/build_spec.rb
225
- - spec/unit/esearch/presenter/facet/class_methods/build_spec.rb
219
+ - spec/unit/esearch/presenter/facet_spec.rb
226
220
  - spec/unit/esearch/presenter/hit/fields_spec.rb
227
221
  - spec/unit/esearch/presenter/hit/source_spec.rb
228
222
  - spec/unit/esearch/presenter/hits/each_spec.rb
229
223
  - spec/unit/esearch/presenter/hits/size_spec.rb
230
- - spec/unit/esearch/request/initialize_spec.rb
231
- - spec/unit/esearch/request/run_spec.rb
232
- - spec/unit/esearch/type/connection_spec.rb
233
- - spec/unit/esearch/type/document_spec.rb
224
+ - spec/unit/esearch/presenter/search_spec.rb
225
+ - spec/unit/esearch/request_spec.rb
226
+ - spec/unit/esearch/type_spec.rb
234
227
  homepage: https://github.com/mbj/elasticsearch
235
228
  licenses:
236
229
  - MIT
@@ -260,11 +253,7 @@ test_files:
260
253
  - spec/spec_helper.rb
261
254
  - spec/support/example_group_methods.rb
262
255
  - spec/support/ice_nine_config.rb
263
- - spec/unit/esearch/cluster/class_methods/connect_spec.rb
264
- - spec/unit/esearch/cluster/health_spec.rb
265
- - spec/unit/esearch/cluster/index_spec.rb
266
- - spec/unit/esearch/cluster/indices_spec.rb
267
- - spec/unit/esearch/cluster/path_spec.rb
256
+ - spec/unit/esearch/cluster_spec.rb
268
257
  - spec/unit/esearch/command/class_methods/run_spec.rb
269
258
  - spec/unit/esearch/command/cluster/health/run_spec.rb
270
259
  - spec/unit/esearch/command/document/delete/run_spec.rb
@@ -283,13 +272,10 @@ test_files:
283
272
  - spec/unit/esearch/command/status/run_spec.rb
284
273
  - spec/unit/esearch/connection/class_methods/build_spec.rb
285
274
  - spec/unit/esearch/connection/run_spec.rb
286
- - spec/unit/esearch/document/connection_spec.rb
287
- - spec/unit/esearch/document/delete_spec.rb
288
- - spec/unit/esearch/document/get_spec.rb
289
- - spec/unit/esearch/index/create_spec.rb
290
- - spec/unit/esearch/index/delete_spec.rb
291
- - spec/unit/esearch/index/type_spec.rb
292
- - spec/unit/esearch/indices/all/path_spec.rb
275
+ - spec/unit/esearch/document_spec.rb
276
+ - spec/unit/esearch/index_spec.rb
277
+ - spec/unit/esearch/indices/all_spec.rb
278
+ - spec/unit/esearch/indices_spec.rb
293
279
  - spec/unit/esearch/mixin/document/index_create_spec.rb
294
280
  - spec/unit/esearch/mixin/document/index_spec.rb
295
281
  - spec/unit/esearch/mixin/document/index_update_spec.rb
@@ -300,14 +286,12 @@ test_files:
300
286
  - spec/unit/esearch/presenter/aspect/range/from_spec.rb
301
287
  - spec/unit/esearch/presenter/aspect/range/to_spec.rb
302
288
  - spec/unit/esearch/presenter/class_methods/new_spec.rb
303
- - spec/unit/esearch/presenter/facet/build_spec.rb
304
- - spec/unit/esearch/presenter/facet/class_methods/build_spec.rb
289
+ - spec/unit/esearch/presenter/facet_spec.rb
305
290
  - spec/unit/esearch/presenter/hit/fields_spec.rb
306
291
  - spec/unit/esearch/presenter/hit/source_spec.rb
307
292
  - spec/unit/esearch/presenter/hits/each_spec.rb
308
293
  - spec/unit/esearch/presenter/hits/size_spec.rb
309
- - spec/unit/esearch/request/initialize_spec.rb
310
- - spec/unit/esearch/request/run_spec.rb
311
- - spec/unit/esearch/type/connection_spec.rb
312
- - spec/unit/esearch/type/document_spec.rb
294
+ - spec/unit/esearch/presenter/search_spec.rb
295
+ - spec/unit/esearch/request_spec.rb
296
+ - spec/unit/esearch/type_spec.rb
313
297
  has_rdoc: