flying-sphinx 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.7
1
+ 0.0.8
@@ -18,6 +18,10 @@ class FlyingSphinx::API
18
18
  self.class.post "#{APIServer}#{path}", :body => data.merge(api_options)
19
19
  end
20
20
 
21
+ def put(path, data => {})
22
+ self.class.put "#{APIServer}#{path}", :body => data.merge(api_options)
23
+ end
24
+
21
25
  private
22
26
 
23
27
  def api_options
@@ -16,7 +16,7 @@ class FlyingSphinx::IndexRequest
16
16
  private
17
17
 
18
18
  def update_sphinx_configuration
19
- api.put '/app/update', :configuration => sphinx_configuration
19
+ api.put '/app', :configuration => sphinx_configuration
20
20
  end
21
21
 
22
22
  def sphinx_configuration
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flying-sphinx
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Allan