flying-sphinx 2.1.2 → 2.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ede5850df89be920156e46226c4c1f3c9111f08f2f41c0eb140ede9c5ed55f9
4
- data.tar.gz: 071a398ef29ba09d5fcedd14a24eb722ea7332c113f02d762c57d521bae2c9d5
3
+ metadata.gz: 727f92b2356f83883fab5b51f106d39c43b8e89c57811a33fb5ea8541f21c09b
4
+ data.tar.gz: 81451cc912cf38baad334a63f5e996bcb561da3bc94a6422da19c3b074f02ca0
5
5
  SHA512:
6
- metadata.gz: dc841aa0121d1e48d1d40dc7e8eb42248754145011be8e41e15832fa694e7d2cb3078f4004f63a9011c33421ffa3e2869bf414dba49eaffe2301f894ea914cc0
7
- data.tar.gz: 205df50f8e2df62f38a719c70bb17034b6b4c3af589e73b28feef69f5294d9bf67fdf3b9466b75f45676b697ce09616fd4b1be9d39f7a733596d0b194fb48600
6
+ metadata.gz: 2add3250b48d68914f9bdaddbcb0f502f3b1f6a503a7ada15989df33788fde8e8eeecdef9d16bc9acdb4ae501cb8b5df4118ed45121d913bc4733d60678fff4b
7
+ data.tar.gz: 315fec177d81494362eecfcb4bb368fc9ab6ae096b9027fdb1f26b75528b8300bfe6b1c74bfeb844f6cc8184310fa69a62aa17ca56dbf515f6cbc007728c6daf
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project (at least, from v0.4.0 onwards) are documented in this file.
4
4
 
5
+ ## 2.1.3 - 2018-12-12
6
+
7
+ ### Fixed
8
+
9
+ * Sinatra loader now works correctly (it had been missed in the other v2 updates).
10
+
5
11
  ## 2.1.2 - 2018-06-09
6
12
 
7
13
  ### Fixed
@@ -7,9 +7,8 @@ h2. Installation and Usage
7
7
  This is all covered pretty well on "the Flying Sphinx site":http://flying-sphinx.com/docs, but if you're reading this on Github, you're probably keen on using this repository as the source instead of the gem. Here's the code snippet for your @Gemfile@:
8
8
 
9
9
  <pre><code>gem 'flying-sphinx',
10
- :git => 'git://github.com/flying-sphinx/flying-sphinx.git',
11
- :branch => 'master',
12
- :ref => 'e8a4aa6b1d'</code></pre>
10
+ :git => 'https://github.com/flying-sphinx/flying-sphinx.git',
11
+ :branch => 'master'</code></pre>
13
12
 
14
13
  h2. Compatibility and Limitations
15
14
 
@@ -1,9 +1,15 @@
1
1
  require 'flying_sphinx'
2
2
 
3
3
  if ENV['FLYING_SPHINX_IDENTIFIER'] || ENV['STAGED_SPHINX_IDENTIFIER']
4
- if ThinkingSphinx::Configuration.instance.respond_to?(:settings)
5
- FlyingSphinx::SphinxQL.load
6
- else
7
- FlyingSphinx::Binary.load
8
- end
4
+ require 'flying_sphinx/commands'
5
+
6
+ ThinkingSphinx.rake_interface = FlyingSphinx::RakeInterface
7
+ load File.expand_path('../tasks.rb', __FILE__)
8
+
9
+ configuration = FlyingSphinx::Configuration.new
10
+ ThinkingSphinx::Configuration.instance.settings['connection_options'] = {
11
+ :host => configuration.host,
12
+ :port => 9306,
13
+ :username => configuration.username
14
+ }
9
15
  end
@@ -1,3 +1,3 @@
1
1
  module FlyingSphinx
2
- Version = '2.1.2'
2
+ Version = '2.1.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flying-sphinx
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-09 00:00:00.000000000 Z
11
+ date: 2018-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ey-hmac