summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-15 12:41:19 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-15 12:41:19 +0000
commit218caf6f642323fb78dd529a6960904b5397ace2 (patch)
treeae71250944a356b24719e69a902dca7616be9e8e /NEWS
parentd70762f5777cbb455904f3bca5c52a545355acb3 (diff)
* NEWS: Mention shellwords and tempfile enhancements.
* NEWS: Move the entry about Tk::X_Scrollable to a better section. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS39
1 files changed, 35 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index b87c1841c3..dd7b8ad36a 100644
--- a/NEWS
+++ b/NEWS
@@ -31,6 +31,18 @@ with all sufficient information, see the ChangeLog file.
* Remove redundant module namespace in Cipher, Digest, PKCS7, PKCS12.
Compatibility classes are provided which will be removed in Ruby 1.9.
+* shellwords
+
+ * Add methods for escaping shell-unsafe characters:
+ Shellwords.join
+ Shellwords.escape
+ Array#shelljoin
+ String#shellescape
+
+ * Add shorthand methods:
+ Shellwords.split (alias shellwords)
+ String#shellsplit
+
* tmpdir
* New method:
@@ -42,6 +54,23 @@ with all sufficient information, see the ChangeLog file.
* Regexp.union accepts an array of patterns.
+* tempfile
+
+ * Tempfile.open and Tempfile.new now accept a suffix for the
+ temporary file to be created. To specify a suffix, pass an array
+ of [basename, suffix] as the first argument.
+
+ Tempfile.open(['image', 'jpg']) { |tempfile| ... }
+
+=== Compatibility issues (excluding feature bug fixes)
+
+* tempfile
+
+ * The file name format has changed. No dots are included by default
+ in temporary file names any more. See above for how to specify a
+ suffix.
+
+
== Changes with Ruby 1.8.5
=== New platforms/build tools support
@@ -77,10 +106,6 @@ with all sufficient information, see the ChangeLog file.
* tk
- * Tk::X_Scrollable (Y_Scrollable) is renamed to Tk::XScrollable
- (YScrollable). Tk::X_Scrollable (Y_Scrollable) is still available,
- but it is an alias name.
-
* Updated Tile extension support based on Tile 0.7.8.
* Support --without-X11 configure option for non-X11 versions of
@@ -157,3 +182,9 @@ with all sufficient information, see the ChangeLog file.
* A minor implementation change breaks Rake <=0.7.1.
Updating Rake to 0.7.2 or higher fixes the problem.
+
+* tk
+
+ * Tk::X_Scrollable (Y_Scrollable) is renamed to Tk::XScrollable
+ (YScrollable). Tk::X_Scrollable (Y_Scrollable) is still available,
+ but it is an alias name.