aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-10-03 21:05:06 -0400
committerRalph Amissah <ralph@amissah.com>2011-10-03 21:05:09 -0400
commit366895d4214235a03d8627d4dd275d08a57dd48c (patch)
tree6ac5947ef50c14d4b12d7b83e2b503908c69f97f
parentv2 v3: 3.1.0 version & changelog "opened" (diff)
v2 v3: bin/sisu, default sisu version 3
* Version 3 is now the default (on running sisu)
-rw-r--r--bin/sisu12
-rw-r--r--bin/sisu212
-rw-r--r--bin/sisu312
-rw-r--r--bin/sisu_termsheet12
-rw-r--r--bin/sisu_webrick14
-rw-r--r--data/doc/sisu/CHANGELOG_v22
-rw-r--r--data/doc/sisu/CHANGELOG_v32
7 files changed, 45 insertions, 21 deletions
diff --git a/bin/sisu b/bin/sisu
index 9facda87..240cbc54 100644
--- a/bin/sisu
+++ b/bin/sisu
@@ -29,8 +29,12 @@ current version #{e['RUBY_PROGRAM_VERSION']}p#{e['PATCHLEVEL']}
WOK
end
end
+ def check_sisu_legacy_ruby_version?
+ rbv_sisu_legacy='1.9.2' #'1.8.7'
+ ruby_version_ok?(rbv_sisu_legacy)
+ end
def check_sisu_stable_ruby_version?
- rbv_sisu_stable='1.8.7'
+ rbv_sisu_stable='1.9.2'
ruby_version_ok?(rbv_sisu_stable)
end
def check_sisu_dev_ruby_version?
@@ -42,17 +46,17 @@ WOK
argv=$*
SiSU_version_dir=case argv.inspect
when /--v2/
- check_sisu_stable_ruby_version?
+ check_sisu_legacy_ruby_version?
'v2'
when /--v3/
- check_sisu_dev_ruby_version?
+ check_sisu_stable_ruby_version?
'v3'
when /--dev/
check_sisu_dev_ruby_version?
'v3'
else
check_sisu_stable_ruby_version?
- 'v2'
+ 'v3'
end
SiSU_lib="sisu/#{SiSU_version_dir}"
require "#{SiSU_lib}/hub"
diff --git a/bin/sisu2 b/bin/sisu2
index 9facda87..1b64d2a9 100644
--- a/bin/sisu2
+++ b/bin/sisu2
@@ -29,8 +29,12 @@ current version #{e['RUBY_PROGRAM_VERSION']}p#{e['PATCHLEVEL']}
WOK
end
end
+ def check_sisu_legacy_ruby_version?
+ rbv_sisu_legacy='1.9.2' #'1.8.7'
+ ruby_version_ok?(rbv_sisu_legacy)
+ end
def check_sisu_stable_ruby_version?
- rbv_sisu_stable='1.8.7'
+ rbv_sisu_stable='1.9.2'
ruby_version_ok?(rbv_sisu_stable)
end
def check_sisu_dev_ruby_version?
@@ -42,16 +46,16 @@ WOK
argv=$*
SiSU_version_dir=case argv.inspect
when /--v2/
- check_sisu_stable_ruby_version?
+ check_sisu_legacy_ruby_version?
'v2'
when /--v3/
- check_sisu_dev_ruby_version?
+ check_sisu_stable_ruby_version?
'v3'
when /--dev/
check_sisu_dev_ruby_version?
'v3'
else
- check_sisu_stable_ruby_version?
+ check_sisu_legacy_ruby_version?
'v2'
end
SiSU_lib="sisu/#{SiSU_version_dir}"
diff --git a/bin/sisu3 b/bin/sisu3
index b53c3e54..240cbc54 100644
--- a/bin/sisu3
+++ b/bin/sisu3
@@ -29,8 +29,12 @@ current version #{e['RUBY_PROGRAM_VERSION']}p#{e['PATCHLEVEL']}
WOK
end
end
+ def check_sisu_legacy_ruby_version?
+ rbv_sisu_legacy='1.9.2' #'1.8.7'
+ ruby_version_ok?(rbv_sisu_legacy)
+ end
def check_sisu_stable_ruby_version?
- rbv_sisu_stable='1.8.7'
+ rbv_sisu_stable='1.9.2'
ruby_version_ok?(rbv_sisu_stable)
end
def check_sisu_dev_ruby_version?
@@ -42,16 +46,16 @@ WOK
argv=$*
SiSU_version_dir=case argv.inspect
when /--v2/
- check_sisu_stable_ruby_version?
+ check_sisu_legacy_ruby_version?
'v2'
when /--v3/
- check_sisu_dev_ruby_version?
+ check_sisu_stable_ruby_version?
'v3'
when /--dev/
check_sisu_dev_ruby_version?
'v3'
else
- check_sisu_dev_ruby_version?
+ check_sisu_stable_ruby_version?
'v3'
end
SiSU_lib="sisu/#{SiSU_version_dir}"
diff --git a/bin/sisu_termsheet b/bin/sisu_termsheet
index 5566a962..a127d615 100644
--- a/bin/sisu_termsheet
+++ b/bin/sisu_termsheet
@@ -29,8 +29,12 @@ current version #{e['RUBY_PROGRAM_VERSION']}p#{e['PATCHLEVEL']}
WOK
end
end
+ def check_sisu_legacy_ruby_version?
+ rbv_sisu_legacy='1.9.2' #'1.8.7'
+ ruby_version_ok?(rbv_sisu_legacy)
+ end
def check_sisu_stable_ruby_version?
- rbv_sisu_stable='1.8.7'
+ rbv_sisu_stable='1.9.2'
ruby_version_ok?(rbv_sisu_stable)
end
def check_sisu_dev_ruby_version?
@@ -41,17 +45,17 @@ WOK
argv=$*
SiSU_version_dir=case argv.inspect
when /--v2/
- check_sisu_stable_ruby_version?
+ check_sisu_legacy_ruby_version?
'v2'
when /--v3/
- check_sisu_dev_ruby_version?
+ check_sisu_stable_ruby_version?
'v3'
when /--dev/
check_sisu_dev_ruby_version?
'v3'
else
check_sisu_stable_ruby_version?
- 'v2'
+ 'v3'
end
SiSU_lib="sisu/#{SiSU_version_dir}"
require "#{SiSU_lib}/termsheet"
diff --git a/bin/sisu_webrick b/bin/sisu_webrick
index b9ac031a..52d95e41 100644
--- a/bin/sisu_webrick
+++ b/bin/sisu_webrick
@@ -18,7 +18,7 @@ begin
def check_incompatible_ruby_build?
require 'rbconfig'
e=Config::CONFIG
- if RUBY_VERSION == '1.9.2' \
+ if RUBY_VERSION == '1.9.2' \
&& e['PATCHLEVEL'].to_i < 180
raise <<WOK
There are known issues with early versions of ruby1.9.2.
@@ -29,8 +29,12 @@ current version #{e['RUBY_PROGRAM_VERSION']}p#{e['PATCHLEVEL']}
WOK
end
end
+ def check_sisu_legacy_ruby_version?
+ rbv_sisu_legacy='1.9.2' #'1.8.7'
+ ruby_version_ok?(rbv_sisu_legacy)
+ end
def check_sisu_stable_ruby_version?
- rbv_sisu_stable='1.8.7'
+ rbv_sisu_stable='1.9.2'
ruby_version_ok?(rbv_sisu_stable)
end
def check_sisu_dev_ruby_version?
@@ -41,17 +45,17 @@ WOK
argv=$*
SiSU_version_dir=case argv.inspect
when /--v2/
- check_sisu_stable_ruby_version?
+ check_sisu_legacy_ruby_version?
'v2'
when /--v3/
- check_sisu_dev_ruby_version?
+ check_sisu_stable_ruby_version?
'v3'
when /--dev/
check_sisu_dev_ruby_version?
'v3'
else
check_sisu_stable_ruby_version?
- 'v2'
+ 'v3'
end
SiSU_lib="sisu/#{SiSU_version_dir}"
require "#{SiSU_lib}/webrick"
diff --git a/data/doc/sisu/CHANGELOG_v2 b/data/doc/sisu/CHANGELOG_v2
index 070c57e6..6eaa68c7 100644
--- a/data/doc/sisu/CHANGELOG_v2
+++ b/data/doc/sisu/CHANGELOG_v2
@@ -16,6 +16,8 @@ Reverse Chronological:
http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/sisu_3.1.0
http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_3.1.0-1
+ * bin/sisu, default sisu version 3
+
%% 2.9.8 (2011-09-24:38/6) [see 3.0.19.orig.tar.gz]
http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/sisu-3.0.19
http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_3.0.19-1
diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3
index c14b1ec1..bd03755b 100644
--- a/data/doc/sisu/CHANGELOG_v3
+++ b/data/doc/sisu/CHANGELOG_v3
@@ -21,6 +21,8 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.1.0.orig.tar.xz
sisu_3.1.0-1.dsc
sisu_3.1.0-1.debian.tar.gz
+ * bin/sisu, default sisu version 3
+
%% 3.0.19.orig.tar.xz (2011-09-24:38/6)
http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/sisu-3.0.19
http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_3.0.19-1