Changeset 1216
- Timestamp:
- 04/18/05 20:10:11 (3 years ago)
- Files:
-
- trunk/actionmailer/CHANGELOG (modified) (1 diff)
- trunk/actionmailer/Rakefile (modified) (2 diffs)
- trunk/actionpack/CHANGELOG (modified) (2 diffs)
- trunk/actionpack/lib/action_controller/assertions.rb (modified) (1 diff)
- trunk/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb (modified) (1 diff)
- trunk/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb (modified) (4 diffs)
- trunk/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb (modified) (2 diffs)
- trunk/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb (modified) (1 diff)
- trunk/actionpack/Rakefile (modified) (2 diffs)
- trunk/actionwebservice/CHANGELOG (modified) (1 diff)
- trunk/actionwebservice/Rakefile (modified) (2 diffs)
- trunk/activerecord/CHANGELOG (modified) (3 diffs)
- trunk/activerecord/lib/active_record/base.rb (modified) (3 diffs)
- trunk/activerecord/lib/active_record/validations.rb (modified) (2 diffs)
- trunk/activerecord/Rakefile (modified) (2 diffs)
- trunk/activerecord/README (modified) (1 diff)
- trunk/activerecord/test/validations_test.rb (modified) (1 diff)
- trunk/activesupport/CHANGELOG (modified) (1 diff)
- trunk/railties/CHANGELOG (modified) (3 diffs)
- trunk/railties/Rakefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionmailer/CHANGELOG
r1203 r1216 1 * SVN*1 *0.9.0* (19th April, 2005) 2 2 3 3 * Added that deliver_* will now return the email that was sent 4 4 5 * Added that quoting to UTF-8 only happens if the characters used are in that range #955 [Jamis Buck] 6 5 7 * Fixed quoting for all address headers, not just to #955 [Jamis Buck] 6 7 * Added that quoting to UTF-8 only happens if the characters used are in that range #955 [Jamis Buck]8 8 9 9 * Fixed unquoting of emails that doesn't have an explicit charset #1036 [wolfgang@stufenlos.net] trunk/actionmailer/Rakefile
r1102 r1216 9 9 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 10 10 PKG_NAME = 'actionmailer' 11 PKG_VERSION = '0. 8.1' + PKG_BUILD11 PKG_VERSION = '0.9.0' + PKG_BUILD 12 12 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 13 13 … … 53 53 s.homepage = "http://www.rubyonrails.org" 54 54 55 s.add_dependency('actionpack', '= 1. 7.0' + PKG_BUILD)55 s.add_dependency('actionpack', '= 1.8.0' + PKG_BUILD) 56 56 57 57 s.has_rdoc = true trunk/actionpack/CHANGELOG
r1211 r1216 1 *SVN* 2 3 * Added support for web servers that use PATH_INFO instead of REQUEST_URI like IIS #1014 [BradG/Nicholas Seckar] 4 5 * Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete coverage of REST functionality #1136 [joshknowles@gmail.com] 6 7 * 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] 8 9 * 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] 1 *1.8.0* (19th April, 2005) 10 2 11 3 * Added assert_tag and assert_no_tag as a much improved alternative to the deprecated assert_template_xpath_match #1126 [Jamis Buck] 12 4 13 5 * 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. 14 15 * 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]16 17 * Fixed FormTagHelper#check_box to respect checked #1049 [DelynnB]18 19 * Added that render_partial called from a controller will use the action name as default #828 [Dan Peterson]20 21 * Added Element.toggle, Element.show, and Element.hide to the prototype javascript library. Toggle.display has been deprecated, but will still work #992 [Lucas Carlson]22 23 * Added that deleting a cookie should not just set it to an empty string but also instantly expire it #1118 [todd@robotcoop.com]24 25 * Added AssetTagHelper#image_path, AssetTagHelper#javascript_path, and AssetTagHelper#stylesheet_path #1110 [Larry Halff]26 27 * Fixed url_for(nil) in functional tests #1116 [Alisdair McDiarmid]28 29 * Fixed error handling of broken layouts #1115 [Michael Schubert]30 31 * 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:32 33 <%= render_partial "account", person, "rules" => regulations.rules %>34 35 ...to:36 37 <%= render_partial "account", :account => person, :rules => regulations.rules %>38 39 The old API will still work, though, and render_partial "account" will still assume :account => @account.40 41 * 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]42 43 * Fixed pagination to work with joins #1034 [scott@sigkill.org]44 45 * Fixed that *rest parameter in map.connect couldn't accept an empty list #1037 [Dee.Zsombor@gmail.com]46 47 * Added :confirm option to link_to_remote just like link_to has #1082 [yrashk@fp.org.ua]48 49 * Added minute_step as an option to select_minute (and the helpers that use it) to jump in larger increments than just 1 minute. At 15, it would return 0, 15, 30, 45 options #1085 [ordwaye@evergreen.edu]50 51 * Fixed that an exception would be thrown when an empty form was submitted #1090 [jan@ulbrich-boerwang.de]52 53 * Moved TextHelper#human_size to NumberHelper#number_to_human_size, but kept an deprecated alias to the old method name54 55 * Fixed that the content-type for some browsers could include an additional \r which made wonky things happen #1067 [Thomas Fuchs]56 57 * Fixed that radio buttons shouldn't have a default size attribute #1074 [hendrik@mans.de]58 59 * Added ActionView::Helpers::InstanceTag::DEFAULT_RADIO_OPTIONS that contains a hash of default options for radio buttons #1074 [hendrik@mans.de]60 61 * Fixed that in some circumstances controllers outside of modules may have hidden ones inside modules. For example, admin/content might have been hidden by /content. #1075 [Nicholas Seckar]62 63 * Added JavascriptHelper#periodically_call_remote in order to create areas of a page that update automatically at a set interval #945 [Jon Tirsen]64 65 * Fixed Cache#expire_matched_fragments that couldn't recognize the difference between string and url_for options #1030 [skaes@web.de]66 67 * Added simulation of @request.request_uri in functional tests #1038 [Jamis Buck]68 69 * Fixed autolinking to work better in more cases #1013 [Jamis Buck]70 71 * Added the possible of using symbols in form helpers that relate to instance variables like text_field :account, :name in addition to text_field "account", "name"'72 73 * Fixed javascript_include_tag to output type instead of language and conform to XHTML #1018 [Rick Olson]74 75 * Added NumberHelper for common string representations like phone number, currency, and percentage #1015 [DeLynn]76 77 * Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net]78 79 * Added assert_no_cookie and fixed assert_cookie_equal to deal with non-existing cookies #979 [bitsweat]80 81 * Fixed :overwrite_param so it doesn't delete but reject elements from @request.parameters #982 [raphinou@yahoo.com]82 83 * Added :method option to verify for ensuring that either GET, POST, etc is allowed #984 [Jamis Buck]84 85 * Added options to set cc, bcc, subject, and body for UrlHelper#mail_to #966 [DeLynn]86 87 * Fixed include_blank for select_hour/minute/second #527 [edward@debian.org]88 89 * Improved the message display on the exception handler pages #963 [Johan Sorensen]90 91 * Fixed that on very rare occasions, webrick would raise a NoMethodError: private method 'split' called for nil #1001 [Flurin Egger]92 6 93 7 * Added a wide range of new Javascript effects: … … 104 18 105 19 * Effect.Fade which smoothly turns opacity from 100 to 0 and then hides the element #960 [thomas@fesch.at] 20 21 * 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] 22 23 * 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: 24 25 <%= render_partial "account", person, "rules" => regulations.rules %> 26 27 ...to: 28 29 <%= render_partial "account", :account => person, :rules => regulations.rules %> 30 31 The old API will still work, though, and render_partial "account" will still assume :account => @account. 32 33 * Added support for web servers that use PATH_INFO instead of REQUEST_URI like IIS #1014 [BradG/Nicholas Seckar] 34 35 * Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete coverage of REST functionality #1136 [joshknowles@gmail.com] 36 37 * 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] 38 39 * 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] 40 41 * Fixed FormTagHelper#check_box to respect checked #1049 [DelynnB] 42 43 * Added that render_partial called from a controller will use the action name as default #828 [Dan Peterson] 44 45 * Added Element.toggle, Element.show, and Element.hide to the prototype javascript library. Toggle.display has been deprecated, but will still work #992 [Lucas Carlson] 46 47 * Added that deleting a cookie should not just set it to an empty string but also instantly expire it #1118 [todd@robotcoop.com] 48 49 * Added AssetTagHelper#image_path, AssetTagHelper#javascript_path, and AssetTagHelper#stylesheet_path #1110 [Larry Halff] 50 51 * Fixed url_for(nil) in functional tests #1116 [Alisdair McDiarmid] 52 53 * Fixed error handling of broken layouts #1115 [Michael Schubert] 54 55 * 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] 56 57 * Fixed pagination to work with joins #1034 [scott@sigkill.org] 58 59 * Fixed that *rest parameter in map.connect couldn't accept an empty list #1037 [Dee.Zsombor@gmail.com] 60 61 * Added :confirm option to link_to_remote just like link_to has #1082 [yrashk@fp.org.ua] 62 63 * Added minute_step as an option to select_minute (and the helpers that use it) to jump in larger increments than just 1 minute. At 15, it would return 0, 15, 30, 45 options #1085 [ordwaye@evergreen.edu] 64 65 * Fixed that an exception would be thrown when an empty form was submitted #1090 [jan@ulbrich-boerwang.de] 66 67 * Moved TextHelper#human_size to NumberHelper#number_to_human_size, but kept an deprecated alias to the old method name 68 69 * Fixed that the content-type for some browsers could include an additional \r which made wonky things happen #1067 [Thomas Fuchs] 70 71 * Fixed that radio buttons shouldn't have a default size attribute #1074 [hendrik@mans.de] 72 73 * Added ActionView::Helpers::InstanceTag::DEFAULT_RADIO_OPTIONS that contains a hash of default options for radio buttons #1074 [hendrik@mans.de] 74 75 * Fixed that in some circumstances controllers outside of modules may have hidden ones inside modules. For example, admin/content might have been hidden by /content. #1075 [Nicholas Seckar] 76 77 * Added JavascriptHelper#periodically_call_remote in order to create areas of a page that update automatically at a set interval #945 [Jon Tirsen] 78 79 * Fixed Cache#expire_matched_fragments that couldn't recognize the difference between string and url_for options #1030 [skaes@web.de] 80 81 * Added simulation of @request.request_uri in functional tests #1038 [Jamis Buck] 82 83 * Fixed autolinking to work better in more cases #1013 [Jamis Buck] 84 85 * Added the possible of using symbols in form helpers that relate to instance variables like text_field :account, :name in addition to text_field "account", "name"' 86 87 * Fixed javascript_include_tag to output type instead of language and conform to XHTML #1018 [Rick Olson] 88 89 * Added NumberHelper for common string representations like phone number, currency, and percentage #1015 [DeLynn] 90 91 * Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net] 92 93 * Added assert_no_cookie and fixed assert_cookie_equal to deal with non-existing cookies #979 [bitsweat] 94 95 * Fixed :overwrite_param so it doesn't delete but reject elements from @request.parameters #982 [raphinou@yahoo.com] 96 97 * Added :method option to verify for ensuring that either GET, POST, etc is allowed #984 [Jamis Buck] 98 99 * Added options to set cc, bcc, subject, and body for UrlHelper#mail_to #966 [DeLynn] 100 101 * Fixed include_blank for select_hour/minute/second #527 [edward@debian.org] 102 103 * Improved the message display on the exception handler pages #963 [Johan Sorensen] 104 105 * Fixed that on very rare occasions, webrick would raise a NoMethodError: private method 'split' called for nil #1001 [Flurin Egger] 106 106 107 107 * Fixed problem with page caching #958 [Rick Olson] trunk/actionpack/lib/action_controller/assertions.rb
r1195 r1216 135 135 # * <tt>:children</tt>: a hash, for counting children of a node. Accepts 136 136 # the keys: 137 # ** <tt>:count</tt>: either a number or a range which must equal (or138 # include) the number of children that match.139 # ** <tt>:less_than</tt>: the number of matching children must be less140 # than this number.141 # ** <tt>:greater_than</tt>: the number of matching children must be142 # greater than this number.143 # ** <tt>:only</tt>: another hash consisting of the keys to use144 # to match on the children, and only matching children will be145 # counted.137 # * <tt>:count</tt>: either a number or a range which must equal (or 138 # include) the number of children that match. 139 # * <tt>:less_than</tt>: the number of matching children must be less 140 # than this number. 141 # * <tt>:greater_than</tt>: the number of matching children must be 142 # greater than this number. 143 # * <tt>:only</tt>: another hash consisting of the keys to use 144 # to match on the children, and only matching children will be 145 # counted. 146 146 # * <tt>:content</tt>: (text nodes only). The content of the node must 147 147 # match the given value. trunk/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb
r1195 r1216 2 2 require 'html/node' 3 3 4 module HTML 4 module HTML#:nodoc: 5 5 6 6 # A top-level HTMl document. You give it a body of text, and it will parse that 7 7 # text into a tree of nodes. 8 class Document 8 class Document #:nodoc: 9 9 10 10 # The root of the parsed document. trunk/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
r1195 r1216 1 1 require 'strscan' 2 2 3 module HTML 3 module HTML#:nodoc: 4 4 5 class Conditions < Hash 5 class Conditions < Hash#:nodoc: 6 6 def initialize(hash) 7 7 super() … … 54 54 55 55 # The base class of all nodes, textual and otherwise, in an HTML document. 56 class Node 56 class Node#:nodoc: 57 57 # The array of children of this node. Not all nodes have children. 58 58 attr_reader :children … … 168 168 169 169 # A node that represents text, rather than markup. 170 class Text < Node 170 class Text < Node#:nodoc: 171 171 172 172 attr_reader :content … … 224 224 # closing tag, or a self-closing tag. It has a name, and may have a hash of 225 225 # attributes. 226 class Tag < Node 226 class Tag < Node#:nodoc: 227 227 228 228 # Either +nil+, <tt>:close</tt>, or <tt>:self</tt> trunk/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb
r1195 r1216 1 1 require 'strscan' 2 2 3 module HTML 3 module HTML#:nodoc: 4 4 5 5 # A simple HTML tokenizer. It simply breaks a stream of text into tokens, where each … … 14 14 # p token 15 15 # end 16 class Tokenizer 16 class Tokenizer#:nodoc: 17 17 18 18 # The current (byte) position in the text trunk/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb
r1195 r1216 1 module HTML 2 module Version 1 module HTML#:nodoc: 2 module Version#:nodoc: 3 3 4 4 MAJOR = 0 trunk/actionpack/Rakefile
r1153 r1216 9 9 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 10 10 PKG_NAME = 'actionpack' 11 PKG_VERSION = '1. 7.0' + PKG_BUILD11 PKG_VERSION = '1.8.0' + PKG_BUILD 12 12 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 13 13 … … 62 62 s.requirements << 'none' 63 63 64 s.add_dependency('activesupport', '= 1.0. 3' + PKG_BUILD)64 s.add_dependency('activesupport', '= 1.0.4' + PKG_BUILD) 65 65 66 66 s.require_path = 'lib' trunk/actionwebservice/CHANGELOG
r1197 r1216 1 *0.7.0* ( Unreleased)1 *0.7.0* (19th April, 2005) 2 2 3 3 * When casting structured types, don't try to send obj.name= unless obj responds to it, causes casting to be less likely to fail for XML-RPC trunk/actionwebservice/Rakefile
r1102 r1216 10 10 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 11 11 PKG_NAME = 'actionwebservice' 12 PKG_VERSION = '0. 6.2' + PKG_BUILD12 PKG_VERSION = '0.7.0' + PKG_BUILD 13 13 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 14 14 PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}" … … 63 63 s.homepage = "http://www.rubyonrails.org" 64 64 65 s.add_dependency('actionpack', '= 1. 7.0' + PKG_BUILD)66 s.add_dependency('activerecord', '= 1. 9.1' + PKG_BUILD)67 s.add_dependency('activesupport', '= 1.0. 3' + PKG_BUILD)65 s.add_dependency('actionpack', '= 1.8.0' + PKG_BUILD) 66 s.add_dependency('activerecord', '= 1.10.0' + PKG_BUILD) 67 s.add_dependency('activesupport', '= 1.0.4' + PKG_BUILD) 68 68 69 69 s.has_rdoc = true trunk/activerecord/CHANGELOG
r1215 r1216 1 *SVN* 2 3 * Added Base.save! that attempts to save the record just like Base.save but will raise a InvalidRecord exception instead of returning false if the record is not valid [After much pestering from Dave Thomas] 1 *1.10.0* (19th April, 2005) 4 2 5 3 * Added eager loading of associations as a way to solve the N+1 problem more gracefully without piggy-back queries. Example: … … 25 23 Person.find(:all, :offset => 10, :limit => 10) 26 24 27 * Fixed PostgreSQL usage of fixtures with regards to public schemas and table names with dots #962 [gnuman1@gmail.com]28 29 * Fixed that fixtures were being deleted in the same order as inserts causing FK errors #890 [andrew.john.peters@gmail.com]30 31 * Fixed loading of fixtures in to be in the right order (or PostgreSQL would bark) #1047 [stephenh@chase3000.com]32 33 * Fixed page caching for non-vhost applications living underneath the root #1004 [Ben Schumacher]34 35 * Fixes a problem with the SQL Adapter which was resulting in IDENTITY_INSERT not being set to ON when it should be #1104 [adelle]36 37 * Added the option to specify the acceptance string in validates_acceptance_of #1106 [caleb@aei-tech.com]38 39 25 * Added acts_as_nested_set #1000 [wschenk]. Introduction: 40 26 … … 43 29 a single query. A good use case for this is a threaded post system, where you want 44 30 to display every reply to a comment without multiple selects. 31 32 * Added Base.save! that attempts to save the record just like Base.save but will raise a RecordInvalid exception instead of returning false if the record is not valid [After much pestering from Dave Thomas] 33 34 * Fixed PostgreSQL usage of fixtures with regards to public schemas and table names with dots #962 [gnuman1@gmail.com] 35 36 * Fixed that fixtures were being deleted in the same order as inserts causing FK errors #890 [andrew.john.peters@gmail.com] 37 38 * Fixed loading of fixtures in to be in the right order (or PostgreSQL would bark) #1047 [stephenh@chase3000.com] 39 40 * Fixed page caching for non-vhost applications living underneath the root #1004 [Ben Schumacher] 41 42 * Fixes a problem with the SQL Adapter which was resulting in IDENTITY_INSERT not being set to ON when it should be #1104 [adelle] 43 44 * Added the option to specify the acceptance string in validates_acceptance_of #1106 [caleb@aei-tech.com] 45 45 46 46 * Added insert_at(position) to acts_as_list #1083 [DeLynnB] trunk/activerecord/lib/active_record/base.rb
r1212 r1216 97 97 # the question marks with symbols and supplying a hash with values for the matching symbol keys: 98 98 # 99 # Company.find _first([99 # Company.find(:first, [ 100 100 # "id = :id AND name = :name AND division = :division AND created_at > :accounting_date", 101 101 # { :id => 3, :name => "37signals", :division => "First", :accounting_date => '2005-01-01' } … … 296 296 # * Find first: This will return the first record matched by the options used. These options can either be specific 297 297 # conditions or merely an order. If no record can matched, nil is returned. 298 # #Find all: This will return all the records matched by the options used. If no records are found, an empty array is returned.298 # * Find all: This will return all the records matched by the options used. If no records are found, an empty array is returned. 299 299 # 300 300 # All approaches accepts an option hash as their last parameter. The options are: … … 316 316 # 317 317 # Examples for find first: 318 # Person.find(:first) # returns the first object fetched by SELECT * FROM people318 # Person.find(:first) # returns the first object fetched by SELECT * FROM people 319 319 # Person.find(:first, :conditions => [ "user_name = ?", user_name]) 320 320 # Person.find(:first, :order => "created_on DESC", :offset => 5) 321 321 # 322 322 # Examples for find all: 323 # Person.find(:all) # returns an array of objects for all the rows fetched by SELECT * FROM people323 # Person.find(:all) # returns an array of objects for all the rows fetched by SELECT * FROM people 324 324 # Person.find(:all, :conditions => [ "category IN (?)", categories], :limit => 50) 325 325 # Person.find(:all, :offset => 10, :limit => 10) trunk/activerecord/lib/active_record/validations.rb
r1215 r1216 1 1 module ActiveRecord 2 class InvalidRecord < ActiveRecordError #:nodoc:2 class RecordInvalid < ActiveRecordError #:nodoc: 3 3 end 4 4 … … 556 556 end 557 557 558 # Attempts to save the record just like Base.save but will raise a InvalidRecord exception instead of returning false558 # Attempts to save the record just like Base.save but will raise a RecordInvalid exception instead of returning false 559 559 # if the record is not valid. 560 560 def save! 561 valid? ? save_without_validation : raise( InvalidRecord)561 valid? ? save_without_validation : raise(RecordInvalid) 562 562 end 563 563 trunk/activerecord/Rakefile
r1153 r1216 9 9 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 10 10 PKG_NAME = 'activerecord' 11 PKG_VERSION = '1. 9.1' + PKG_BUILD11 PKG_VERSION = '1.10.0' + PKG_BUILD 12 12 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 13 13 … … 77 77 end 78 78 79 s.add_dependency('activesupport', '= 1.0. 3' + PKG_BUILD)79 s.add_dependency('activesupport', '= 1.0.4' + PKG_BUILD) 80 80 81 81 s.files.delete "test/fixtures/fixture_database.sqlite" trunk/activerecord/README
r785 r1216 334 334 then use: 335 335 336 % [sudo] gem install activerecord-1. 7.0.gem336 % [sudo] gem install activerecord-1.10.0.gem 337 337 338 338 You can also install Active Record the old-fashion way with the following command: trunk/activerecord/test/validations_test.rb
r1215 r1216 67 67 def test_invalid_record_exception 68 68 r = Reply.new 69 assert_raises(ActiveRecord:: InvalidRecord) { r.save! }69 assert_raises(ActiveRecord::RecordInvalid) { r.save! } 70 70 end 71 71 trunk/activesupport/CHANGELOG
r1125 r1216 1 * SVN*1 *1.0.4* (19th April, 2005) 2 2 3 3 * Fixed that in some circumstances controllers outside of modules may have hidden ones inside modules. For example, admin/content might have been hidden by /content. #1075 [Nicholas Seckar] trunk/railties/CHANGELOG
r1187 r1216 1 * SVN*1 *0.12.0* (19th April, 2005) 2 2 3 3 * Fixed that purge_test_database would use database settings from the development environment when recreating the test database #1122 [rails@cogentdude.com] … … 11 11 script/benchmarker 50 'Person.expensive_method(10)' 'Person.cheap_method(10)' 12 12 13 14 13 * Added script/profiler to easily profile a single statement from within the environment. Examples: 15 14 … … 22 21 23 22 * Fixed that ownership is brought over in pg_dump during tests for PostgreSQL #1060 [pburleson@gmail.com] 23 24 * Upgraded to Active Record 1.10.0, Action Pack 1.8.0, Action Mailer 0.9.0, Action Web Service 0.7.0, Active Support 1.0.4 24 25 25 26 trunk/railties/Rakefile
r1166 r1216 10 10 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 11 11 PKG_NAME = 'rails' 12 PKG_VERSION = '0.1 1.1' + PKG_BUILD12 PKG_VERSION = '0.12.0' + PKG_BUILD 13 13 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 14 14 PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}" … … 239 239 EOF 240 240 241 s.add_dependency('rake', '>= 0.5. 0')242 s.add_dependency('activesupport', '= 1.0. 3' + PKG_BUILD)243 s.add_dependency('activerecord', '= 1. 9.1' + PKG_BUILD)244 s.add_dependency('actionpack', '= 1. 7.0' + PKG_BUILD)245 s.add_dependency('actionmailer', '= 0. 8.1' + PKG_BUILD)246 s.add_dependency('actionwebservice', '= 0. 6.2' + PKG_BUILD)241 s.add_dependency('rake', '>= 0.5.3') 242 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) 247 247 248 248 s.rdoc_options << '--exclude' << '.'