Changeset 976
- Timestamp:
- 03/22/05 13:09:44 (3 years ago)
- Files:
-
- trunk/actionmailer/lib/action_mailer.rb (modified) (1 diff)
- trunk/actionmailer/Rakefile (modified) (2 diffs)
- trunk/actionpack/lib/action_controller/routing.rb (modified) (1 diff)
- trunk/actionpack/lib/action_view/helpers/javascript_helper.rb (modified) (1 diff)
- trunk/actionpack/lib/action_view/helpers/pagination_helper.rb (modified) (1 diff)
- trunk/actionpack/lib/action_view/helpers/url_helper.rb (modified) (1 diff)
- trunk/actionpack/Rakefile (modified) (2 diffs)
- trunk/actionpack/README (modified) (1 diff)
- trunk/actionwebservice/lib/action_web_service/test_invoke.rb (modified) (1 diff)
- trunk/actionwebservice/Rakefile (modified) (2 diffs)
- trunk/activerecord/lib/active_record/migration.rb (modified) (2 diffs)
- trunk/activerecord/Rakefile (modified) (2 diffs)
- trunk/activesupport/Rakefile (modified) (1 diff)
- trunk/railties/Rakefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionmailer/lib/action_mailer.rb
r648 r976 29 29 rescue LoadError 30 30 require 'rubygems' 31 require_gem 'actionpack', '>= 0.9.0'31 require_gem 'actionpack', '>= 1.6.0' 32 32 end 33 33 end trunk/actionmailer/Rakefile
r874 r976 9 9 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 10 10 PKG_NAME = 'actionmailer' 11 PKG_VERSION = '0. 7.1' + PKG_BUILD11 PKG_VERSION = '0.8.0' + PKG_BUILD 12 12 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 13 13 … … 51 51 s.homepage = "http://www.rubyonrails.org" 52 52 53 s.add_dependency('actionpack', '= 1. 5.1' + PKG_BUILD)53 s.add_dependency('actionpack', '= 1.6.0' + PKG_BUILD) 54 54 55 55 s.has_rdoc = true trunk/actionpack/lib/action_controller/routing.rb
r954 r976 325 325 end 326 326 327 def self.extract_parameter_value(parameter) 327 def self.extract_parameter_value(parameter) #:nodoc: 328 328 value = (parameter.respond_to?(:to_param) ? parameter.to_param : parameter).to_s 329 329 CGI.escape(value) trunk/actionpack/lib/action_view/helpers/javascript_helper.rb
r975 r976 8 8 # DOM. The common use case is having a form that adds a new element to a list without reloading the page. 9 9 # 10 # To be able to use the Javascript helpers, you must either call < %= define_javascript_functions %> (which returns all10 # To be able to use the Javascript helpers, you must either call <tt><%= define_javascript_functions %></tt> (which returns all 11 11 # the Javascript support functions in a <script> block) or reference the Javascript library using 12 # < %= javascript_include_tag "prototype" %> (which looks for the library in /javascripts/prototype.js). The latter is12 # <tt><%= javascript_include_tag "prototype" %></tt> (which looks for the library in /javascripts/prototype.js). The latter is 13 13 # recommended as the browser can then cache the library instead of fetching all the functions anew on every request. 14 14 # trunk/actionpack/lib/action_view/helpers/pagination_helper.rb
r967 r976 8 8 # 9 9 # <%= link_to "Next page", { :page => paginator.current.next } of paginator.current.next =%> 10 #11 #12 10 module PaginationHelper 13 11 unless const_defined?(:DEFAULT_OPTIONS) trunk/actionpack/lib/action_view/helpers/url_helper.rb
r906 r976 34 34 end 35 35 36 # 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 37 # as url_for. For a list, see the url_for documentation in link:classes/ActionController/Base.html#M000079. 38 # It's also possible to pass a string instead of an options hash to get a link tag that just points without consideration. 39 # The <tt>html_options</tt> works jointly for the image and ahref tag by letting the following special values enter the options on 40 # the image and the rest goes to the ahref: 41 # 42 # * <tt>:alt</tt> - If no alt text is given, the file name part of the +src+ is used (capitalized and without the extension) 43 # * <tt>:size</tt> - Supplied as "XxY", so "30x45" becomes width="30" and height="45" 44 # * <tt>:border</tt> - Draws a border around the link 45 # * <tt>:align</tt> - Sets the alignment, no special features 46 # 47 # The +src+ can be supplied as a... 48 # * full path, like "/my_images/image.gif" 49 # * file name, like "rss.gif", that gets expanded to "/images/rss.gif" 50 # * file name without extension, like "logo", that gets expanded to "/images/logo.png" 51 # 52 # Examples: 53 # link_image_to "logo", { :controller => "home" }, :alt => "Homepage", :size => "45x80" 54 # link_image_to "delete", { :action => "destroy" }, :size => "10x10", :confirm => "Are you sure?", "class" => "admin" 55 # 56 # NOTE: This tag is deprecated. Combine the link_to and image_tag yourself instead, like: 36 # This tag is deprecated. Combine the link_to and AssetTagHelper::image_tag yourself instead, like: 57 37 # link_to(image_tag("rss", :size => "30x45", :border => 0), "http://www.example.com") 58 38 def link_image_to(src, options = {}, html_options = {}, *parameters_for_method_reference) trunk/actionpack/Rakefile
r874 r976 9 9 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 10 10 PKG_NAME = 'actionpack' 11 PKG_VERSION = '1. 5.1' + PKG_BUILD11 PKG_VERSION = '1.6.0' + PKG_BUILD 12 12 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 13 13 … … 58 58 s.requirements << 'none' 59 59 60 s.add_dependency('activesupport', '= 1.0. 1' + PKG_BUILD)60 s.add_dependency('activesupport', '= 1.0.2' + PKG_BUILD) 61 61 62 62 s.require_path = 'lib' trunk/actionpack/README
r975 r976 176 176 177 177 {Learn more}[link:classes/ActionView/Helpers/JavascriptHelper.html] 178 179 180 * Pagination for navigating lists of results. 181 182 # controller 183 def list 184 @pages, @people = 185 paginate :people, :order_by => 'last_name, first_name' 186 end 187 188 # view 189 <%= link_to "Previous page", { :page => @pages.current.previous } if @pages.current.previous %> 190 <%= link_to "Next page", { :page => @pages.current.next } of @pages.current.next =%> 191 192 {Learn more}[link:classes/ActionController/Pagination.html] 178 193 179 194 trunk/actionwebservice/lib/action_web_service/test_invoke.rb
r830 r976 1 1 require 'test/unit' 2 2 3 module Test 4 module Unit 3 module Test # :nodoc: 4 module Unit # :nodoc: 5 5 class TestCase # :nodoc: 6 6 private trunk/actionwebservice/Rakefile
r874 r976 10 10 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 11 11 PKG_NAME = 'actionwebservice' 12 PKG_VERSION = '0.6. 0' + PKG_BUILD12 PKG_VERSION = '0.6.1' + PKG_BUILD 13 13 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 14 14 PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}" … … 57 57 s.homepage = "http://www.rubyonrails.org" 58 58 59 s.add_dependency('actionpack', ' >= 1.5.1' + PKG_BUILD)60 s.add_dependency('activerecord', ' >= 1.8.0' + PKG_BUILD)61 s.add_dependency('activesupport', ' >= 1.0.1' + PKG_BUILD)59 s.add_dependency('actionpack', '= 1.6.0' + PKG_BUILD) 60 s.add_dependency('activerecord', '= 1.9.0' + PKG_BUILD) 61 s.add_dependency('activesupport', '= 1.0.2' + PKG_BUILD) 62 62 63 63 s.has_rdoc = true trunk/activerecord/lib/active_record/migration.rb
r819 r976 1 1 module ActiveRecord 2 class IrreversibleMigration < ActiveRecordError 2 class IrreversibleMigration < ActiveRecordError#:nodoc: 3 3 end 4 4 5 class Migration 5 class Migration #:nodoc: 6 6 class << self 7 7 def up() end … … 15 15 end 16 16 17 class Migrator 17 class Migrator#:nodoc: 18 18 class << self 19 19 def up(migrations_path, target_version = nil) trunk/activerecord/Rakefile
r875 r976 9 9 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 10 10 PKG_NAME = 'activerecord' 11 PKG_VERSION = '1. 8.0' + PKG_BUILD11 PKG_VERSION = '1.9.0' + PKG_BUILD 12 12 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 13 13 … … 118 118 end 119 119 120 s.add_dependency('activesupport', '= 1.0. 1' + PKG_BUILD)120 s.add_dependency('activesupport', '= 1.0.2' + PKG_BUILD) 121 121 122 122 s.files.delete "test/fixtures/fixture_database.sqlite" trunk/activesupport/Rakefile
r874 r976 6 6 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 7 7 PKG_NAME = 'activesupport' 8 PKG_VERSION = '1.0. 1' + PKG_BUILD8 PKG_VERSION = '1.0.2' + PKG_BUILD 9 9 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 10 10 trunk/railties/Rakefile
r956 r976 10 10 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 11 11 PKG_NAME = 'rails' 12 PKG_VERSION = '0.1 0.1' + PKG_BUILD12 PKG_VERSION = '0.11.0' + PKG_BUILD 13 13 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 14 14 PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}" … … 236 236 237 237 s.add_dependency('rake', '>= 0.4.15') 238 s.add_dependency('activesupport', '= 1.0. 1' + PKG_BUILD)239 s.add_dependency('activerecord', '= 1. 8.0' + PKG_BUILD)240 s.add_dependency('actionpack', '= 1. 5.1' + PKG_BUILD)241 s.add_dependency('actionmailer', '= 0. 7.1' + PKG_BUILD)242 s.add_dependency('actionwebservice', '= 0.6. 0' + PKG_BUILD)238 s.add_dependency('activesupport', '= 1.0.2' + PKG_BUILD) 239 s.add_dependency('activerecord', '= 1.9.0' + PKG_BUILD) 240 s.add_dependency('actionpack', '= 1.7.0' + PKG_BUILD) 241 s.add_dependency('actionmailer', '= 0.8.0' + PKG_BUILD) 242 s.add_dependency('actionwebservice', '= 0.6.1' + PKG_BUILD) 243 243 244 244 s.rdoc_options << '--exclude' << '.'