seesaw 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 (4) hide show
  1. data/History.txt +8 -0
  2. data/README.txt +3 -0
  3. data/lib/seesaw/init.rb +3 -3
  4. metadata +1 -1
data/History.txt CHANGED
@@ -1,3 +1,11 @@
1
+ == 0.2.2 / 2007-08-19
2
+
3
+ * fixed seesaw:configure bug
4
+
5
+ == 0.2.1 / 2007-08-19
6
+
7
+ * fixed seeswa:configure bug
8
+
1
9
  == 0.2.0 / 2007-08-19
2
10
 
3
11
  * added seesaw::switch command to switch to a guaranteed running cluster configuration
data/README.txt CHANGED
@@ -53,8 +53,11 @@ sudo gem install seesaw
53
53
 
54
54
  The seesaw configuration looks like this:
55
55
 
56
+ === Nginx
56
57
 
57
58
 
59
+ === Apache
60
+
58
61
  == LICENSE:
59
62
 
60
63
  (The MIT License)
data/lib/seesaw/init.rb CHANGED
@@ -6,7 +6,7 @@ require 'seesaw/mongrel_cluster_patch'
6
6
  require "erb"
7
7
 
8
8
  module Seesaw
9
- VERSION = '0.2.1'
9
+ VERSION = '0.2.2'
10
10
 
11
11
  module CommandBase
12
12
 
@@ -199,8 +199,8 @@ module Seesaw
199
199
  Dir.mkdir(@http_config_path) unless File.exist?(@http_config_path)
200
200
 
201
201
  # write cluster configuration files for appropriate server
202
- start_port = mongrel_conf["port"]
203
- end_port = mongrel_conf["port"]+mongrel_conf["servers"] - 1
202
+ start_port = mongrel_conf["port"].to_i
203
+ end_port = mongrel_conf["port"].to_i + mongrel_conf["servers"].to_i - 1
204
204
  mid_port = ((end_port+start_port)/2.0).ceil
205
205
 
206
206
  # full cluster
metadata CHANGED
@@ -3,7 +3,7 @@ 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.1
6
+ version: 0.2.2
7
7
  date: 2007-08-19 00:00:00 +10:00
8
8
  summary: Ripple-restart a mongrel cluster with no downtime
9
9
  require_paths: