aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-18 20:10:11 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-18 20:10:11 +0000
commit7d010055142c14aa5ee56ac5aae600dfdc03dcae (patch)
tree4fb48093012daf856db94f75d507d7d8bff9957f /actionpack
parentf46486d37ebe1d2d7354cf46dd024690a6d25c9a (diff)
downloadrails-7d010055142c14aa5ee56ac5aae600dfdc03dcae.tar.gz
rails-7d010055142c14aa5ee56ac5aae600dfdc03dcae.tar.bz2
rails-7d010055142c14aa5ee56ac5aae600dfdc03dcae.zip
Fixed documentation and prepared for release of 0.12
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG60
-rwxr-xr-xactionpack/Rakefile4
-rw-r--r--actionpack/lib/action_controller/assertions.rb18
-rw-r--r--actionpack/lib/action_controller/vendor/html-scanner/html/document.rb4
-rw-r--r--actionpack/lib/action_controller/vendor/html-scanner/html/node.rb10
-rw-r--r--actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb4
-rw-r--r--actionpack/lib/action_controller/vendor/html-scanner/html/version.rb4
7 files changed, 52 insertions, 52 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 511e6a2a89..5682a021bf 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,16 +1,40 @@
-*SVN*
+*1.8.0* (19th April, 2005)
-* Added support for web servers that use PATH_INFO instead of REQUEST_URI like IIS #1014 [BradG/Nicholas Seckar]
+* Added assert_tag and assert_no_tag as a much improved alternative to the deprecated assert_template_xpath_match #1126 [Jamis Buck]
-* Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete coverage of REST functionality #1136 [joshknowles@gmail.com]
+* Deprecated the majority of all the testing assertions and replaced them with a much smaller core and access to all the collections the old assertions relied on. That way the regular test/unit assertions can be used against these. Added documentation about how to use it all.
-* Fixed that you can now pass an alternative :href option to link_to_function/remote in order to point to somewhere other than # if the javascript fails or is turned off. You can do the same with form_remote_tag by passing in :action. #1113 [Sam Stephenson]
+* Added a wide range of new Javascript effects:
+ * Effect.Puff zooms the element out and makes it smoothly transparent at the same time, giving a "puff" illusion #996 [thomas@fesch.at]
+ After the animation is completed, the display property will be set to none.
+ This effect will work on relative and absolute positioned elements.
+
+ * Effect.Appear as the opposite of Effect.Fade #990 [thomas@fesch.at]
+ You should return elements with style="display:none;" or a like class for this to work best and have no chance of flicker.
+
+ * Effect.Squish for scaling down an element and making it disappear at the end #972 [thomas@fesch.at]
+
+ * Effect.Scale for smoothly scaling images or text up and down #972 [thomas@fesch.at]
+
+ * Effect.Fade which smoothly turns opacity from 100 to 0 and then hides the element #960 [thomas@fesch.at]
* Added Request#xml_http_request? (and an alias xhr?) to that'll return true when the request came from one of the Javascript helper methods (Ajax). This can be used to give one behavior for modern browsers supporting Ajax, another to old browsers #1127 [Sam Stephenson]
-* Added assert_tag and assert_no_tag as a much improved alternative to the deprecated assert_template_xpath_match #1126 [Jamis Buck]
+* Changed render_partial to take local assigns as the second parameter instead of an explicit object and then the assigns. So the API changes from:
-* Deprecated the majority of all the testing assertions and replaced them with a much smaller core and access to all the collections the old assertions relied on. That way the regular test/unit assertions can be used against these. Added documentation about how to use it all.
+ <%= render_partial "account", person, "rules" => regulations.rules %>
+
+ ...to:
+
+ <%= render_partial "account", :account => person, :rules => regulations.rules %>
+
+ The old API will still work, though, and render_partial "account" will still assume :account => @account.
+
+* Added support for web servers that use PATH_INFO instead of REQUEST_URI like IIS #1014 [BradG/Nicholas Seckar]
+
+* Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete coverage of REST functionality #1136 [joshknowles@gmail.com]
+
+* Fixed that you can now pass an alternative :href option to link_to_function/remote in order to point to somewhere other than # if the javascript fails or is turned off. You can do the same with form_remote_tag by passing in :action. #1113 [Sam Stephenson]
* Fixed DateHelper to return values on the option tags such that they'll work properly in IE with form_remote_tag #1024 [rscottmace@gmail.com]
@@ -28,16 +52,6 @@
* Fixed error handling of broken layouts #1115 [Michael Schubert]
-* Changed render_partial to take local assigns as the second parameter instead of an explicit object and then the assigns. So the API changes from:
-
- <%= render_partial "account", person, "rules" => regulations.rules %>
-
- ...to:
-
- <%= render_partial "account", :account => person, :rules => regulations.rules %>
-
- The old API will still work, though, and render_partial "account" will still assume :account => @account.
-
* Added submit_to_remote that allows you to trigger an Ajax form submition at the click of the submission button, which allows for multiple targets in a single form through the use of multiple submit buttons #930 [yrashk@gmail.com]
* Fixed pagination to work with joins #1034 [scott@sigkill.org]
@@ -90,20 +104,6 @@
* Fixed that on very rare occasions, webrick would raise a NoMethodError: private method 'split' called for nil #1001 [Flurin Egger]
-* Added a wide range of new Javascript effects:
- * Effect.Puff zooms the element out and makes it smoothly transparent at the same time, giving a "puff" illusion #996 [thomas@fesch.at]
- After the animation is completed, the display property will be set to none.
- This effect will work on relative and absolute positioned elements.
-
- * Effect.Appear as the opposite of Effect.Fade #990 [thomas@fesch.at]
- You should return elements with style="display:none;" or a like class for this to work best and have no chance of flicker.
-
- * Effect.Squish for scaling down an element and making it disappear at the end #972 [thomas@fesch.at]
-
- * Effect.Scale for smoothly scaling images or text up and down #972 [thomas@fesch.at]
-
- * Effect.Fade which smoothly turns opacity from 100 to 0 and then hides the element #960 [thomas@fesch.at]
-
* Fixed problem with page caching #958 [Rick Olson]
diff --git a/actionpack/Rakefile b/actionpack/Rakefile
index aadcbe5eb2..9a6623527d 100755
--- a/actionpack/Rakefile
+++ b/actionpack/Rakefile
@@ -8,7 +8,7 @@ require 'rake/contrib/rubyforgepublisher'
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
PKG_NAME = 'actionpack'
-PKG_VERSION = '1.7.0' + PKG_BUILD
+PKG_VERSION = '1.8.0' + PKG_BUILD
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
RELEASE_NAME = "REL #{PKG_VERSION}"
@@ -61,7 +61,7 @@ spec = Gem::Specification.new do |s|
s.has_rdoc = true
s.requirements << 'none'
- s.add_dependency('activesupport', '= 1.0.3' + PKG_BUILD)
+ s.add_dependency('activesupport', '= 1.0.4' + PKG_BUILD)
s.require_path = 'lib'
s.autorequire = 'action_controller'
diff --git a/actionpack/lib/action_controller/assertions.rb b/actionpack/lib/action_controller/assertions.rb
index 0c1ca76e19..53d53af400 100644
--- a/actionpack/lib/action_controller/assertions.rb
+++ b/actionpack/lib/action_controller/assertions.rb
@@ -134,15 +134,15 @@ module Test #:nodoc:
# must meet the criteria described by the hash.
# * <tt>:children</tt>: a hash, for counting children of a node. Accepts
# the keys:
- # ** <tt>:count</tt>: either a number or a range which must equal (or
- # include) the number of children that match.
- # ** <tt>:less_than</tt>: the number of matching children must be less
- # than this number.
- # ** <tt>:greater_than</tt>: the number of matching children must be
- # greater than this number.
- # ** <tt>:only</tt>: another hash consisting of the keys to use
- # to match on the children, and only matching children will be
- # counted.
+ # * <tt>:count</tt>: either a number or a range which must equal (or
+ # include) the number of children that match.
+ # * <tt>:less_than</tt>: the number of matching children must be less
+ # than this number.
+ # * <tt>:greater_than</tt>: the number of matching children must be
+ # greater than this number.
+ # * <tt>:only</tt>: another hash consisting of the keys to use
+ # to match on the children, and only matching children will be
+ # counted.
# * <tt>:content</tt>: (text nodes only). The content of the node must
# match the given value.
#
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb
index a196bdea44..e14d9de166 100644
--- a/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb
+++ b/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb
@@ -1,11 +1,11 @@
require 'html/tokenizer'
require 'html/node'
-module HTML
+module HTML#:nodoc:
# A top-level HTMl document. You give it a body of text, and it will parse that
# text into a tree of nodes.
- class Document
+ class Document #:nodoc:
# The root of the parsed document.
attr_reader :root
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
index 018309a9f9..b3979fa3cb 100644
--- a/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
+++ b/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
@@ -1,8 +1,8 @@
require 'strscan'
-module HTML
+module HTML#:nodoc:
- class Conditions < Hash
+ class Conditions < Hash#:nodoc:
def initialize(hash)
super()
hash = { :content => hash } unless Hash === hash
@@ -53,7 +53,7 @@ module HTML
end
# The base class of all nodes, textual and otherwise, in an HTML document.
- class Node
+ class Node#:nodoc:
# The array of children of this node. Not all nodes have children.
attr_reader :children
@@ -167,7 +167,7 @@ module HTML
end
# A node that represents text, rather than markup.
- class Text < Node
+ class Text < Node#:nodoc:
attr_reader :content
@@ -223,7 +223,7 @@ module HTML
# A Tag is any node that represents markup. It may be an opening tag, a
# closing tag, or a self-closing tag. It has a name, and may have a hash of
# attributes.
- class Tag < Node
+ class Tag < Node#:nodoc:
# Either +nil+, <tt>:close</tt>, or <tt>:self</tt>
attr_reader :closing
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb
index 11bd48708e..2c3ee922d9 100644
--- a/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb
+++ b/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb
@@ -1,6 +1,6 @@
require 'strscan'
-module HTML
+module HTML#:nodoc:
# A simple HTML tokenizer. It simply breaks a stream of text into tokens, where each
# token is a string. Each string represents either "text", or an HTML element.
@@ -13,7 +13,7 @@ module HTML
# while token = tokenizer.next
# p token
# end
- class Tokenizer
+ class Tokenizer#:nodoc:
# The current (byte) position in the text
attr_reader :position
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb
index 90025fa57f..761ea40294 100644
--- a/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb
+++ b/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb
@@ -1,5 +1,5 @@
-module HTML
- module Version
+module HTML#:nodoc:
+ module Version#:nodoc:
MAJOR = 0
MINOR = 5