Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 1230

Show
Ignore:
Timestamp:
04/19/05 16:34:44 (3 years ago)
Author:
david
Message:

Added xml_http_request/xhr method for simulating XMLHttpRequest in functional tests #1151 [Sam Stephenson]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionmailer/CHANGELOG

    r1216 r1230  
     1*0.9.1* (20th April, 2005) 
     2 
     3* Depend on Action Pack 1.8.1 
     4 
     5 
    16*0.9.0* (19th April, 2005) 
    27 
  • trunk/actionmailer/Rakefile

    r1216 r1230  
    99PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1010PKG_NAME      = 'actionmailer' 
    11 PKG_VERSION   = '0.9.0' + PKG_BUILD 
     11PKG_VERSION   = '0.9.1' + PKG_BUILD 
    1212PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 
    1313 
     
    5353  s.homepage = "http://www.rubyonrails.org" 
    5454 
    55   s.add_dependency('actionpack', '= 1.8.0' + PKG_BUILD) 
     55  s.add_dependency('actionpack', '= 1.8.1' + PKG_BUILD) 
    5656 
    5757  s.has_rdoc = true 
  • trunk/actionpack/CHANGELOG

    r1227 r1230  
    1 *SVN* 
     1*1.8.1* (20th April, 2005) 
     2 
     3* Added xml_http_request/xhr method for simulating XMLHttpRequest in functional tests #1151 [Sam Stephenson]. Example: 
     4 
     5    xhr :post, :index 
     6 
     7* Fixed that Ajax.Base.options.asynchronous wasn't being respected in Ajax.Request (thanks Jon Casey) 
    28 
    39* Fixed that :get, :post, and the others should take a flash array as the third argument just like process #1144 [rails@cogentdude.com] 
     
    4854* 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] 
    4955 
    50 * 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
     56* Fixed DateHelper to return values on the option tags such that they'll work properly in IE with form_remote_tag #1024 [Scott Raymond
    5157 
    5258* Fixed FormTagHelper#check_box to respect checked #1049 [DelynnB] 
  • trunk/actionpack/lib/action_controller/test_process.rb

    r1227 r1230  
    266266        end 
    267267 
     268        def xml_http_request(request_method, action, parameters = nil, session = nil, flash = nil) 
     269          @request.env['HTTP_X_REQUESTED_WITH'] = 'XMLHttpRequest' 
     270          self.send(request_method, action, parameters, session, flash) 
     271        end 
     272        alias xhr :xml_http_request 
     273 
    268274        def follow_redirect 
    269275          if @response.redirected_to[:controller] 
  • trunk/actionpack/Rakefile

    r1216 r1230  
    99PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1010PKG_NAME      = 'actionpack' 
    11 PKG_VERSION   = '1.8.0' + PKG_BUILD 
     11PKG_VERSION   = '1.8.1' + PKG_BUILD 
    1212PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 
    1313 
  • trunk/actionwebservice/CHANGELOG

    r1216 r1230  
     1*0.7.1* (20th April, 2005) 
     2 
     3* Depend on Active Record 1.10.1 and Action Pack 1.8.1 
     4 
     5 
    16*0.7.0* (19th April, 2005) 
    27 
  • trunk/actionwebservice/Rakefile

    r1216 r1230  
    1010PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1111PKG_NAME      = 'actionwebservice' 
    12 PKG_VERSION   = '0.7.0' + PKG_BUILD 
     12PKG_VERSION   = '0.7.1' + PKG_BUILD 
    1313PKG_FILE_NAME   = "#{PKG_NAME}-#{PKG_VERSION}" 
    1414PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}" 
     
    6363  s.homepage = "http://www.rubyonrails.org" 
    6464 
    65   s.add_dependency('actionpack', '= 1.8.0' + PKG_BUILD) 
    66   s.add_dependency('activerecord', '= 1.10.0' + PKG_BUILD) 
     65  s.add_dependency('actionpack', '= 1.8.1' + PKG_BUILD) 
     66  s.add_dependency('activerecord', '= 1.10.1' + PKG_BUILD) 
    6767  s.add_dependency('activesupport', '= 1.0.4' + PKG_BUILD) 
    6868 
  • trunk/railties/CHANGELOG

    r1216 r1230  
     1*0.12.1* (20th April, 2005) 
     2 
     3* Upgraded to Active Record 1.10.1, Action Pack 1.8.1, Action Mailer 0.9.1, Action Web Service 0.7.1 
     4 
     5 
    16*0.12.0* (19th April, 2005) 
    27 
  • trunk/railties/Rakefile

    r1216 r1230  
    241241  s.add_dependency('rake', '>= 0.5.3') 
    242242  s.add_dependency('activesupport',    '= 1.0.4' + PKG_BUILD) 
    243   s.add_dependency('activerecord',     '= 1.10.0' + PKG_BUILD) 
    244   s.add_dependency('actionpack',       '= 1.8.0' + PKG_BUILD) 
    245   s.add_dependency('actionmailer',     '= 0.9.0' + PKG_BUILD) 
    246   s.add_dependency('actionwebservice', '= 0.7.0' + PKG_BUILD) 
     243  s.add_dependency('activerecord',     '= 1.10.1' + PKG_BUILD) 
     244  s.add_dependency('actionpack',       '= 1.8.1' + PKG_BUILD) 
     245  s.add_dependency('actionmailer',     '= 0.9.1' + PKG_BUILD) 
     246  s.add_dependency('actionwebservice', '= 0.7.1' + PKG_BUILD) 
    247247 
    248248  s.rdoc_options << '--exclude' << '.'