public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/JackDanger/rails.git
Fixed documentation and prepared for 0.11.0 release

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@976 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Tue Mar 22 05:09:44 -0800 2005
commit  daaa5251c9634ec18d720adc0e5daee8bc4d9a13
tree    0ab31b3d47c33dde9e4af9a714194a166777f10d
parent  6ad1b895f4a7a113ad372ce485ac20c762cc3c2c
...
8
9
10
11
 
12
13
14
...
50
51
52
53
 
54
55
56
...
8
9
10
 
11
12
13
14
...
50
51
52
 
53
54
55
56
0
@@ -8,7 +8,7 @@ require 'rake/contrib/rubyforgepublisher'
0
 
0
 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
0
 PKG_NAME = 'actionmailer'
0
-PKG_VERSION = '0.7.1' + PKG_BUILD
0
+PKG_VERSION = '0.8.0' + PKG_BUILD
0
 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
0
 
0
 desc "Default Task"
0
@@ -50,7 +50,7 @@ spec = Gem::Specification.new do |s|
0
   s.rubyforge_project = "actionmailer"
0
   s.homepage = "http://www.rubyonrails.org"
0
 
0
- s.add_dependency('actionpack', '= 1.5.1' + PKG_BUILD)
0
+ s.add_dependency('actionpack', '= 1.6.0' + PKG_BUILD)
0
 
0
   s.has_rdoc = true
0
   s.requirements << 'none'
...
28
29
30
31
 
32
33
34
...
28
29
30
 
31
32
33
34
0
@@ -28,7 +28,7 @@ rescue LoadError
0
     require File.dirname(__FILE__) + '/../../actionpack/lib/action_controller'
0
   rescue LoadError
0
     require 'rubygems'
0
- require_gem 'actionpack', '>= 0.9.0'
0
+ require_gem 'actionpack', '>= 1.6.0'
0
   end
0
 end
0
 
...
177
178
179
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
181
182
...
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
0
@@ -177,6 +177,21 @@ A short rundown of the major features:
0
   {Learn more}[link:classes/ActionView/Helpers/JavascriptHelper.html]
0
 
0
 
0
+* Pagination for navigating lists of results.
0
+
0
+ # controller
0
+ def list
0
+ @pages, @people =
0
+ paginate :people, :order_by => 'last_name, first_name'
0
+ end
0
+
0
+ # view
0
+ <%= link_to "Previous page", { :page => @pages.current.previous } if @pages.current.previous %>
0
+ <%= link_to "Next page", { :page => @pages.current.next } of @pages.current.next =%>
0
+
0
+ {Learn more}[link:classes/ActionController/Pagination.html]
0
+
0
+
0
 * Easy testing of both controller and template result through TestRequest/Response
0
 
0
     class LoginControllerTest < Test::Unit::TestCase
...
8
9
10
11
 
12
13
14
...
57
58
59
60
 
61
62
63
...
8
9
10
 
11
12
13
14
...
57
58
59
 
60
61
62
63
0
@@ -8,7 +8,7 @@ require 'rake/contrib/rubyforgepublisher'
0
 
0
 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
0
 PKG_NAME = 'actionpack'
0
-PKG_VERSION = '1.5.1' + PKG_BUILD
0
+PKG_VERSION = '1.6.0' + PKG_BUILD
0
 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
0
 
0
 desc "Default Task"
0
@@ -57,7 +57,7 @@ spec = Gem::Specification.new do |s|
0
   s.has_rdoc = true
0
   s.requirements << 'none'
0
 
0
- s.add_dependency('activesupport', '= 1.0.1' + PKG_BUILD)
0
+ s.add_dependency('activesupport', '= 1.0.2' + PKG_BUILD)
0
 
0
   s.require_path = 'lib'
0
   s.autorequire = 'action_controller'
...
324
325
326
327
 
328
329
330
...
324
325
326
 
327
328
329
330
0
@@ -324,7 +324,7 @@ module ActionController
0
       end
0
     end
0
     
0
- def self.extract_parameter_value(parameter)
0
+ def self.extract_parameter_value(parameter) #:nodoc:
0
       value = (parameter.respond_to?(:to_param) ? parameter.to_param : parameter).to_s
0
       CGI.escape(value)
0
     end
...
7
8
9
10
 
11
12
 
13
14
15
...
7
8
9
 
10
11
 
12
13
14
15
0
@@ -7,9 +7,9 @@ module ActionView
0
     # actions in your controllers without reloading the page, but still update certain parts of it using injections into the
0
     # DOM. The common use case is having a form that adds a new element to a list without reloading the page.
0
     #
0
- # To be able to use the Javascript helpers, you must either call <%= define_javascript_functions %> (which returns all
0
+ # To be able to use the Javascript helpers, you must either call <tt><%= define_javascript_functions %></tt> (which returns all
0
     # the Javascript support functions in a <script> block) or reference the Javascript library using
0
- # <%= javascript_include_tag "prototype" %> (which looks for the library in /javascripts/prototype.js). The latter is
0
+ # <tt><%= javascript_include_tag "prototype" %></tt> (which looks for the library in /javascripts/prototype.js). The latter is
0
     # recommended as the browser can then cache the library instead of fetching all the functions anew on every request.
0
     #
0
     # If you're the visual type, there's an Ajax movie[http://www.rubyonrails.com/media/video/rails-ajax.mov] demonstrating
...
7
8
9
10
11
12
13
14
...
7
8
9
 
 
10
11
12
0
@@ -7,8 +7,6 @@ module ActionView
0
     # <%= link_to "Previous page", { :page => paginator.current.previous } if paginator.current.previous %>
0
     #
0
     # <%= link_to "Next page", { :page => paginator.current.next } of paginator.current.next =%>
0
- #
0
- #
0
     module PaginationHelper
0
       unless const_defined?(:DEFAULT_OPTIONS)
0
         DEFAULT_OPTIONS = {
...
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
 
57
58
59
...
33
34
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
37
38
39
0
@@ -33,27 +33,7 @@ module ActionView
0
         end
0
       end
0
 
0
- # Creates a link tag on the image residing at the +src+ using an URL created by the set of +options+. This takes the same options
0
- # as url_for. For a list, see the url_for documentation in link:classes/ActionController/Base.html#M000079.
0
- # It's also possible to pass a string instead of an options hash to get a link tag that just points without consideration.
0
- # The <tt>html_options</tt> works jointly for the image and ahref tag by letting the following special values enter the options on
0
- # the image and the rest goes to the ahref:
0
- #
0
- # * <tt>:alt</tt> - If no alt text is given, the file name part of the +src+ is used (capitalized and without the extension)
0
- # * <tt>:size</tt> - Supplied as "XxY", so "30x45" becomes width="30" and height="45"
0
- # * <tt>:border</tt> - Draws a border around the link
0
- # * <tt>:align</tt> - Sets the alignment, no special features
0
- #
0
- # The +src+ can be supplied as a...
0
- # * full path, like "/my_images/image.gif"
0
- # * file name, like "rss.gif", that gets expanded to "/images/rss.gif"
0
- # * file name without extension, like "logo", that gets expanded to "/images/logo.png"
0
- #
0
- # Examples:
0
- # link_image_to "logo", { :controller => "home" }, :alt => "Homepage", :size => "45x80"
0
- # link_image_to "delete", { :action => "destroy" }, :size => "10x10", :confirm => "Are you sure?", "class" => "admin"
0
- #
0
- # NOTE: This tag is deprecated. Combine the link_to and image_tag yourself instead, like:
0
+ # This tag is deprecated. Combine the link_to and AssetTagHelper::image_tag yourself instead, like:
0
       # link_to(image_tag("rss", :size => "30x45", :border => 0), "http://www.example.com")
0
       def link_image_to(src, options = {}, html_options = {}, *parameters_for_method_reference)
0
         image_options = { "src" => src.include?("/") ? src : "/images/#{src}" }
...
9
10
11
12
 
13
14
15
...
56
57
58
59
60
61
 
 
 
62
63
64
...
9
10
11
 
12
13
14
15
...
56
57
58
 
 
 
59
60
61
62
63
64
0
@@ -9,7 +9,7 @@ require 'fileutils'
0
 
0
 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
0
 PKG_NAME = 'actionwebservice'
0
-PKG_VERSION = '0.6.0' + PKG_BUILD
0
+PKG_VERSION = '0.6.1' + PKG_BUILD
0
 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
0
 PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}"
0
 
0
@@ -56,9 +56,9 @@ spec = Gem::Specification.new do |s|
0
   s.rubyforge_project = "aws"
0
   s.homepage = "http://www.rubyonrails.org"
0
 
0
- s.add_dependency('actionpack', '>= 1.5.1' + PKG_BUILD)
0
- s.add_dependency('activerecord', '>= 1.8.0' + PKG_BUILD)
0
- s.add_dependency('activesupport', '>= 1.0.1' + PKG_BUILD)
0
+ s.add_dependency('actionpack', '= 1.6.0' + PKG_BUILD)
0
+ s.add_dependency('activerecord', '= 1.9.0' + PKG_BUILD)
0
+ s.add_dependency('activesupport', '= 1.0.2' + PKG_BUILD)
0
 
0
   s.has_rdoc = true
0
   s.requirements << 'none'
...
1
2
3
4
 
 
5
6
7
...
1
2
 
 
3
4
5
6
7
0
@@ -1,7 +1,7 @@
0
 require 'test/unit'
0
 
0
-module Test
0
- module Unit
0
+module Test # :nodoc:
0
+ module Unit # :nodoc:
0
     class TestCase # :nodoc:
0
       private
0
         # invoke the specified API method
...
8
9
10
11
 
12
13
14
...
117
118
119
120
 
121
122
123
...
8
9
10
 
11
12
13
14
...
117
118
119
 
120
121
122
123
0
@@ -8,7 +8,7 @@ require 'rake/contrib/rubyforgepublisher'
0
 
0
 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
0
 PKG_NAME = 'activerecord'
0
-PKG_VERSION = '1.8.0' + PKG_BUILD
0
+PKG_VERSION = '1.9.0' + PKG_BUILD
0
 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
0
 
0
 PKG_FILES = FileList[
0
@@ -117,7 +117,7 @@ spec = Gem::Specification.new do |s|
0
     s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
0
   end
0
   
0
- s.add_dependency('activesupport', '= 1.0.1' + PKG_BUILD)
0
+ s.add_dependency('activesupport', '= 1.0.2' + PKG_BUILD)
0
 
0
   s.files.delete "test/fixtures/fixture_database.sqlite"
0
   s.files.delete "test/fixtures/fixture_database_2.sqlite"
...
1
2
 
3
4
5
 
6
7
8
...
14
15
16
17
 
18
19
20
...
1
 
2
3
4
 
5
6
7
8
...
14
15
16
 
17
18
19
20
0
@@ -1,8 +1,8 @@
0
 module ActiveRecord
0
- class IrreversibleMigration < ActiveRecordError
0
+ class IrreversibleMigration < ActiveRecordError#:nodoc:
0
   end
0
   
0
- class Migration
0
+ class Migration #:nodoc:
0
     class << self
0
       def up() end
0
       def down() end
0
@@ -14,7 +14,7 @@ module ActiveRecord
0
     end
0
   end
0
 
0
- class Migrator
0
+ class Migrator#:nodoc:
0
     class << self
0
       def up(migrations_path, target_version = nil)
0
         new(:up, migrations_path, target_version).migrate
...
5
6
7
8
 
9
10
11
...
5
6
7
 
8
9
10
11
0
@@ -5,7 +5,7 @@ require 'rake/contrib/rubyforgepublisher'
0
 
0
 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
0
 PKG_NAME = 'activesupport'
0
-PKG_VERSION = '1.0.1' + PKG_BUILD
0
+PKG_VERSION = '1.0.2' + PKG_BUILD
0
 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
0
 
0
 task :default => :test
...
9
10
11
12
 
13
14
15
...
235
236
237
238
239
240
241
242
 
 
 
 
 
243
244
245
...
9
10
11
 
12
13
14
15
...
235
236
237
 
 
 
 
 
238
239
240
241
242
243
244
245
0
@@ -9,7 +9,7 @@ require 'rbconfig'
0
 
0
 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
0
 PKG_NAME = 'rails'
0
-PKG_VERSION = '0.10.1' + PKG_BUILD
0
+PKG_VERSION = '0.11.0' + PKG_BUILD
0
 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
0
 PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}"
0
 
0
@@ -235,11 +235,11 @@ spec = Gem::Specification.new do |s|
0
   EOF
0
 
0
   s.add_dependency('rake', '>= 0.4.15')
0
- s.add_dependency('activesupport', '= 1.0.1' + PKG_BUILD)
0
- s.add_dependency('activerecord', '= 1.8.0' + PKG_BUILD)
0
- s.add_dependency('actionpack', '= 1.5.1' + PKG_BUILD)
0
- s.add_dependency('actionmailer', '= 0.7.1' + PKG_BUILD)
0
- s.add_dependency('actionwebservice', '= 0.6.0' + PKG_BUILD)
0
+ s.add_dependency('activesupport', '= 1.0.2' + PKG_BUILD)
0
+ s.add_dependency('activerecord', '= 1.9.0' + PKG_BUILD)
0
+ s.add_dependency('actionpack', '= 1.7.0' + PKG_BUILD)
0
+ s.add_dependency('actionmailer', '= 0.8.0' + PKG_BUILD)
0
+ s.add_dependency('actionwebservice', '= 0.6.1' + PKG_BUILD)
0
 
0
   s.rdoc_options << '--exclude' << '.'
0
   s.has_rdoc = false

Comments

    No one has commented yet.