flying-sphinx 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  .bundle
2
2
  Gemfile.lock
3
3
  *.tmproj
4
+ *.sublime-*
4
5
  pkg
data/HISTORY CHANGED
@@ -1,3 +1,7 @@
1
+ 0.6.6 - 14th July 2012
2
+ * Don't complain about 201s for starting/stopping Sphinx.
3
+ * Relaxing the faraday_middleware dependency to allow 0.8 releases (Matthew Zikherman).
4
+
1
5
  0.6.5 - 3rd May 2012
2
6
  * Relaxing the multi_json dependency to allow for higher versions.
3
7
  * Support for staging.flying-sphinx.com.
@@ -32,7 +32,7 @@ In the meantime, please keep in mind the following:
32
32
  h2. Contributors
33
33
 
34
34
  * "Josh Kalderimis":http://blog.cookiestack.com/ for switching the API calls to Faraday, improving the specs, a ton of debugging, and encouraging a versioned API.
35
- * "Paolo Perrotta":http://ducktypo.blogspot.com/ for updating dependencies for faraday_middleware.
35
+ * "Paolo Perrotta":http://ducktypo.blogspot.com/ and "Matthew Zikherman":https://github.com/mzikherman for updating dependencies for faraday_middleware.
36
36
 
37
37
  h2. Licence
38
38
 
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.add_runtime_dependency 'riddle', ['>= 1.5.0']
23
23
  s.add_runtime_dependency 'net-ssh', ['>= 2.0.23']
24
24
  s.add_runtime_dependency 'multi_json', ['>= 1.0.1']
25
- s.add_runtime_dependency 'faraday_middleware', ['~> 0.7.0']
25
+ s.add_runtime_dependency 'faraday_middleware', ['~> 0.7']
26
26
  s.add_runtime_dependency 'rash', ['~> 0.3.0']
27
27
 
28
28
  s.add_development_dependency 'rake', ['0.8.7']
@@ -37,11 +37,11 @@ class FlyingSphinx::Configuration
37
37
  end
38
38
 
39
39
  def start_sphinx
40
- api.post('start').status == 200
40
+ api.post('start').success?
41
41
  end
42
42
 
43
43
  def stop_sphinx
44
- api.post('stop').status == 200
44
+ api.post('stop').success?
45
45
  end
46
46
 
47
47
  def client_key
@@ -1,3 +1,3 @@
1
1
  module FlyingSphinx
2
- Version = '0.6.5'
2
+ Version = '0.6.6'
3
3
  end
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: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 5
10
- version: 0.6.5
9
+ - 6
10
+ version: 0.6.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Allan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-03 00:00:00 Z
18
+ date: 2012-07-14 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: thinking-sphinx
@@ -87,12 +87,11 @@ dependencies:
87
87
  requirements:
88
88
  - - ~>
89
89
  - !ruby/object:Gem::Version
90
- hash: 3
90
+ hash: 5
91
91
  segments:
92
92
  - 0
93
93
  - 7
94
- - 0
95
- version: 0.7.0
94
+ version: "0.7"
96
95
  type: :runtime
97
96
  version_requirements: *id005
98
97
  - !ruby/object:Gem::Dependency