pyramid_scheme 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -17,10 +17,7 @@ module PyramidScheme
17
17
 
18
18
  def bounce_pids
19
19
  searchd_pids.each do |pid|
20
- begin
21
- Process.kill("HUP", pid)
22
- rescue
23
- end
20
+ Process.kill("HUP", pid.to_i) if pid != ""
24
21
  end
25
22
  end
26
23
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pyramid_scheme}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dan Pickett"]
12
- s.date = %q{2010-02-15}
12
+ s.date = %q{2010-02-17}
13
13
  s.description = %q{Sphinx index propagtion (currently via the filesystem)}
14
14
  s.email = %q{dpickett@enlightsolutions.com}
15
15
  s.extra_rdoc_files = [
@@ -11,7 +11,7 @@ describe PyramidScheme::IndexClient do
11
11
 
12
12
  it 'should send SIGHUP to active searchd processes' do
13
13
  @client.expects(:searchd_pids).returns(["4345"])
14
- Process.expects(:kill).with("HUP", "4345")
14
+ Process.expects(:kill).with("HUP", 4345)
15
15
  @client.bounce_pids
16
16
  end
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pyramid_scheme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Pickett
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-15 00:00:00 -05:00
12
+ date: 2010-02-17 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency