jruby-elasticsearch 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,12 @@ class ElasticSearch::SearchRequest < ElasticSearch::Request
13
13
  public
14
14
  def initialize(client)
15
15
  @client = client
16
- @prep = org.elasticsearch.client.action.search.SearchRequestBuilder.new(@client)
16
+ begin
17
+ @prep = org.elasticsearch.client.action.search.SearchRequestBuilder.new(@client)
18
+ rescue NameError
19
+ # The 'client' namespace was removed in elasticsearch 0.19.0
20
+ @prep = org.elasticsearch.action.search.SearchRequestBuilder.new(@client)
21
+ end
17
22
  @indeces = []
18
23
  super()
19
24
  end # def initialize
metadata CHANGED
@@ -1,67 +1,58 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: jruby-elasticsearch
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.13
4
5
  prerelease:
5
- version: 0.0.12
6
6
  platform: ruby
7
- authors:
8
- - Jordan Sissel
7
+ authors:
8
+ - Jordan Sissel
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-10-14 00:00:00 -07:00
14
- default_executable:
12
+ date: 2012-05-29 00:00:00.000000000 Z
15
13
  dependencies: []
16
-
17
- description: ...
18
- email:
19
- - jls@semicomplete.com
14
+ description: ! '...'
15
+ email:
16
+ - jls@semicomplete.com
20
17
  executables: []
21
-
22
18
  extensions: []
23
-
24
19
  extra_rdoc_files: []
25
-
26
- files:
27
- - lib/jruby-elasticsearch.rb
28
- - lib/jruby-elasticsearch/indexrequest.rb
29
- - lib/jruby-elasticsearch/bulkstream.rb
30
- - lib/jruby-elasticsearch/actionlistener.rb
31
- - lib/jruby-elasticsearch/searchrequest.rb
32
- - lib/jruby-elasticsearch/namespace.rb
33
- - lib/jruby-elasticsearch/bulkrequest.rb
34
- - lib/jruby-elasticsearch/request.rb
35
- - lib/jruby-elasticsearch/client.rb
36
- - test/test_integration.rb
37
- has_rdoc: true
20
+ files:
21
+ - lib/jruby-elasticsearch/client.rb
22
+ - lib/jruby-elasticsearch/searchrequest.rb
23
+ - lib/jruby-elasticsearch/actionlistener.rb
24
+ - lib/jruby-elasticsearch/bulkstream.rb
25
+ - lib/jruby-elasticsearch/indexrequest.rb
26
+ - lib/jruby-elasticsearch/bulkrequest.rb
27
+ - lib/jruby-elasticsearch/request.rb
28
+ - lib/jruby-elasticsearch/namespace.rb
29
+ - lib/jruby-elasticsearch.rb
30
+ - test/test_integration.rb
38
31
  homepage: https://github.com/jordansissel/jruby-elasticsearch
39
- licenses:
40
- - Apache License (2.0)
32
+ licenses:
33
+ - Apache License (2.0)
41
34
  post_install_message:
42
35
  rdoc_options: []
43
-
44
- require_paths:
45
- - lib
46
- - lib
47
- required_ruby_version: !ruby/object:Gem::Requirement
36
+ require_paths:
37
+ - lib
38
+ - lib
39
+ required_ruby_version: !ruby/object:Gem::Requirement
48
40
  none: false
49
- requirements:
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: "0"
53
- required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
46
  none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- version: "0"
47
+ requirements:
48
+ - - ! '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
59
51
  requirements: []
60
-
61
52
  rubyforge_project:
62
- rubygems_version: 1.5.1
53
+ rubygems_version: 1.8.24
63
54
  signing_key:
64
55
  specification_version: 3
65
56
  summary: JRuby API for ElasticSearch using the native ES Java API
66
57
  test_files: []
67
-
58
+ has_rdoc: