seesaw 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/History.txt +6 -0
  2. data/README.txt +2 -2
  3. data/Rakefile +1 -1
  4. data/lib/seesaw/init.rb +2 -2
  5. metadata +3 -3
@@ -1,3 +1,9 @@
1
+ == 0.2.5 / 2007-08-20
2
+ * renamed "ripple" command to "bounce"
3
+
4
+ == 0.2.4 / 2007-08-19
5
+ * documentation is complete
6
+
1
7
  == 0.2.3 / 2007-08-19
2
8
 
3
9
  * Now hands in the path to the mongrel config file into the mongrel_rails commands
data/README.txt CHANGED
@@ -12,7 +12,7 @@ Let's say you have a mongrel cluster setup with 7 individual mongrels on your se
12
12
 
13
13
  When you execute:
14
14
 
15
- mongrel_rails seesaw::ripple
15
+ mongrel_rails seesaw::bounce
16
16
 
17
17
  This will happen:
18
18
 
@@ -29,7 +29,7 @@ Halfway through the process, your site is only running on half of the mongrels,
29
29
 
30
30
  == SYNOPSIS:
31
31
 
32
- * mongrel_rails::ripple
32
+ * mongrel_rails::bounce
33
33
  perform a rippling restart of the mongrel cluster
34
34
 
35
35
  * mongrel_rails::switch --cluster CLUSTER
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ Hoe.new('seesaw', Seesaw::VERSION) do |p|
9
9
  p.author = 'Matt Allen, Max Muermann'
10
10
  p.email = 'max@muermann.org'
11
11
  p.summary = 'Ripple-restart a mongrel cluster with no downtime'
12
- p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
12
+ p.description = p.paragraphs_of('README.txt', 1..5).join("\n\n")
13
13
  p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
14
14
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
15
15
  p.extra_deps << ['gem_plugin', '>= 0.2.2'] << ['mongrel', '>= 1.0.1'] << ['mongrel_cluster', '>= 1.0.2']
@@ -6,7 +6,7 @@ require 'seesaw/mongrel_cluster_patch'
6
6
  require "erb"
7
7
 
8
8
  module Seesaw
9
- VERSION = '0.2.4'
9
+ VERSION = '0.2.5'
10
10
 
11
11
  module CommandBase
12
12
 
@@ -94,7 +94,7 @@ module Seesaw
94
94
 
95
95
  end
96
96
 
97
- class Ripple < GemPlugin::Plugin "/commands"
97
+ class Bounce < GemPlugin::Plugin "/commands"
98
98
  include Mongrel::Command::Base
99
99
  include CommandBase
100
100
 
metadata CHANGED
@@ -3,15 +3,15 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: seesaw
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.4
7
- date: 2007-08-19 00:00:00 +10:00
6
+ version: 0.2.5
7
+ date: 2007-08-20 00:00:00 +10:00
8
8
  summary: Ripple-restart a mongrel cluster with no downtime
9
9
  require_paths:
10
10
  - lib
11
11
  email: max@muermann.org
12
12
  homepage: " by Matt Allen and Max Muermann"
13
13
  rubyforge_project: seesaw
14
- description: "When you execute: mongrel_rails seesaw::ripple This will happen: 1. your webserver configuration is switched to only use the front half of your mongrel pack (mongrels 1-4) 2. the webserver (apache or nginx) is gracefully restarted 3. the back half of your mongrel pack (mongrels 5-7) is restarted 4. your webserver configuration is switched to only use the back half of the pack 5. the webserver is gracefully restarted 6. front half mongrels are restared 7. webserver configuration switched back to full cluster configuration 8. webserver restarted one last time"
14
+ description: "== DESCRIPTION: seesaw: [verb] to change rapidly from one state or condition to another and back again. Seesaw is a replacement/addition to the mongrel_cluster gem and allows you to perform a safe rippling restart of your mongrel cluster without dropping any requests. Let's say you have a mongrel cluster setup with 7 individual mongrels on your server. Let's also say that you have to deploy a code update and restart all of your mongrels but your site is really busy and you cannot afford any downtime whatsoever. When you execute: mongrel_rails seesaw::bounce This will happen: 1. your webserver configuration is switched to only use the front half of your mongrel pack (mongrels 1-4) 2. the webserver (apache or nginx) is gracefully restarted 3. the back half of your mongrel pack (mongrels 5-7) is restarted 4. your webserver configuration is switched to only use the back half of the pack 5. the webserver is gracefully restarted 6. front half mongrels are restared 7. webserver configuration switched back to full cluster configuration 8. webserver restarted one last time"
15
15
  autorequire: seesaw/init.rb
16
16
  default_executable:
17
17
  bindir: bin