flying-sphinx 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/flying_sphinx/railtie.rb +1 -3
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -4,11 +4,9 @@ class FlyingSphinx::Railtie < Rails::Railtie
4
4
  end
5
5
 
6
6
  initializer "flying_sphinx.set_sphinx_host_and_port" do |app|
7
- return if Rails.env.development? || Rails.env.test?
8
-
9
7
  config = FlyingSphinx::Configuration.new
10
8
 
11
9
  ThinkingSphinx::Configuration.instance.address = config.host
12
10
  ThinkingSphinx::Configuration.instance.port = config.port
13
- end
11
+ end unless Rails.env.development? || Rails.env.test?
14
12
  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: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pat Allan