riddle 2.2.1 → 2.2.2

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
  SHA1:
3
- metadata.gz: c8a66c7b7cd5135ff4cd51a4d22fb0221bf811cf
4
- data.tar.gz: b972aa2c33a99d6ac336e70ce8fd79977ee02953
3
+ metadata.gz: 16cce08cdd0afffbd0189f3ebdafce83928257d2
4
+ data.tar.gz: 145e3cb7642fde0dd66411ae800b4db94bc2765a
5
5
  SHA512:
6
- metadata.gz: e7fcc99152ccaaaa7f0b16428b818c18b6d2dfa74bc5bd588c4c348d2360b342768e45b7090b47b686f62c691800f62dd64afd993f6d563e3377fbbedb451644
7
- data.tar.gz: 63435a5f30519f6acdeed8b8ef5f1b3baa57a25fc49e76e63074cc69db2f05037e0bc211dda0e13b2e1570e81dab1dad9c07ba9fe1dce2f728998bf74598ac27
6
+ metadata.gz: 5a82eccd82b01e0161d5101f337e59ade78bb1c088f9dbe88c13f13f1fff60e05665c44ec576f2f2b795ba2c5ecde3d4470aea6c314fc1be77896b7cbb4205b1
7
+ data.tar.gz: 1d3266ef9b83e5f7e71b16fa15cf47910aa82b5d3b8b36c1de678a9a76ecae22070e4d0a6d1ce9479b5a61ea5ea6105f47bb136fd3f955b5b897b28b67b87ebb
data/HISTORY CHANGED
@@ -1,3 +1,6 @@
1
+ 2.2.2 - December 2nd 2017
2
+ - Fix frozen string concatenation for searchd/indexer commands.
3
+
1
4
  2.2.1 - December 2nd 2017
2
5
  - Check if Mysql2::Client is defined before using it (not just Mysql2).
3
6
 
@@ -14,7 +14,7 @@ Riddle is available as a gem, so you can install it directly:
14
14
 
15
15
  Or include it in a Gemfile:
16
16
 
17
- gem 'riddle', '~> 2.2.1'
17
+ gem 'riddle', '~> 2.2.2'
18
18
 
19
19
  ## Usage
20
20
 
@@ -26,7 +26,7 @@ module Riddle
26
26
  indices << '--all' if indices.empty?
27
27
 
28
28
  command = "#{indexer} --config \"#{@path}\" #{indices.join(' ')}"
29
- command << " --rotate" if running?
29
+ command = "#{command} --rotate" if running?
30
30
 
31
31
  Riddle::ExecuteCommand.call command, options[:verbose]
32
32
  end
@@ -36,7 +36,7 @@ module Riddle
36
36
  check_for_configuration_file
37
37
 
38
38
  command = "#{searchd} --pidfile --config \"#{@path}\""
39
- command << " --nodetach" if options[:nodetach]
39
+ command = "#{command} --nodetach" if options[:nodetach]
40
40
 
41
41
  exec(command) if options[:nodetach]
42
42
 
@@ -5,7 +5,7 @@ $:.push File.expand_path('../lib', __FILE__)
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'riddle'
8
- s.version = '2.2.1'
8
+ s.version = '2.2.2'
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ['Pat Allan']
11
11
  s.email = ['pat@freelancing-gods.com']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddle
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan