rails 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rails might be problematic. Click here for more details.

data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ *1.2.1* (January 16th, 2007)
2
+
3
+ * Updated to Active Record 1.15.1, Action Pack 1.13.1, Action Mailer 1.3.1, Action Web Service 1.2.1
4
+
5
+
1
6
  *1.2.0* (January 16th, 2007)
2
7
 
3
8
  * Update to Prototype 1.5.0. [Sam Stephenson]
data/Rakefile CHANGED
@@ -289,10 +289,10 @@ spec = Gem::Specification.new do |s|
289
289
 
290
290
  s.add_dependency('rake', '>= 0.7.1')
291
291
  s.add_dependency('activesupport', '= 1.4.0' + PKG_BUILD)
292
- s.add_dependency('activerecord', '= 1.15.0' + PKG_BUILD)
293
- s.add_dependency('actionpack', '= 1.13.0' + PKG_BUILD)
294
- s.add_dependency('actionmailer', '= 1.3.0' + PKG_BUILD)
295
- s.add_dependency('actionwebservice', '= 1.2.0' + PKG_BUILD)
292
+ s.add_dependency('activerecord', '= 1.15.1' + PKG_BUILD)
293
+ s.add_dependency('actionpack', '= 1.13.1' + PKG_BUILD)
294
+ s.add_dependency('actionmailer', '= 1.3.1' + PKG_BUILD)
295
+ s.add_dependency('actionwebservice', '= 1.2.1' + PKG_BUILD)
296
296
 
297
297
  s.rdoc_options << '--exclude' << '.'
298
298
  s.has_rdoc = false
@@ -833,25 +833,26 @@ Ajax.Request.prototype = Object.extend(new Ajax.Base(), {
833
833
 
834
834
  request: function(url) {
835
835
  this.url = url;
836
- var params = this.options.parameters, method = this.options.method;
836
+ this.method = this.options.method;
837
+ var params = this.options.parameters;
837
838
 
838
- if (!['get', 'post'].include(method)) {
839
+ if (!['get', 'post'].include(this.method)) {
839
840
  // simulate other verbs over post
840
- params['_method'] = method;
841
- method = 'post';
841
+ params['_method'] = this.method;
842
+ this.method = 'post';
842
843
  }
843
844
 
844
845
  params = Hash.toQueryString(params);
845
846
  if (params && /Konqueror|Safari|KHTML/.test(navigator.userAgent)) params += '&_='
846
847
 
847
848
  // when GET, append parameters to URL
848
- if (method == 'get' && params)
849
+ if (this.method == 'get' && params)
849
850
  this.url += (this.url.indexOf('?') > -1 ? '&' : '?') + params;
850
851
 
851
852
  try {
852
853
  Ajax.Responders.dispatch('onCreate', this, this.transport);
853
854
 
854
- this.transport.open(method.toUpperCase(), this.url,
855
+ this.transport.open(this.method.toUpperCase(), this.url,
855
856
  this.options.asynchronous);
856
857
 
857
858
  if (this.options.asynchronous)
@@ -860,7 +861,7 @@ Ajax.Request.prototype = Object.extend(new Ajax.Base(), {
860
861
  this.transport.onreadystatechange = this.onStateChange.bind(this);
861
862
  this.setRequestHeaders();
862
863
 
863
- var body = method == 'post' ? (this.options.postBody || params) : null;
864
+ var body = this.method == 'post' ? (this.options.postBody || params) : null;
864
865
 
865
866
  this.transport.send(body);
866
867
 
@@ -887,7 +888,7 @@ Ajax.Request.prototype = Object.extend(new Ajax.Base(), {
887
888
  'Accept': 'text/javascript, text/html, application/xml, text/xml, */*'
888
889
  };
889
890
 
890
- if (this.options.method == 'post') {
891
+ if (this.method == 'post') {
891
892
  headers['Content-type'] = this.options.contentType +
892
893
  (this.options.encoding ? '; charset=' + this.options.encoding : '');
893
894
 
@@ -2,7 +2,7 @@ module Rails
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 2
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: rails
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.2.0
7
- date: 2007-01-17 00:00:00 -06:00
6
+ version: 1.2.1
7
+ date: 2007-01-18 00:00:00 -06:00
8
8
  summary: Web-application framework with template engine, control-flow layer, and ORM.
9
9
  require_paths:
10
10
  - lib
@@ -325,7 +325,7 @@ dependencies:
325
325
  requirements:
326
326
  - - "="
327
327
  - !ruby/object:Gem::Version
328
- version: 1.15.0
328
+ version: 1.15.1
329
329
  version:
330
330
  - !ruby/object:Gem::Dependency
331
331
  name: actionpack
@@ -334,7 +334,7 @@ dependencies:
334
334
  requirements:
335
335
  - - "="
336
336
  - !ruby/object:Gem::Version
337
- version: 1.13.0
337
+ version: 1.13.1
338
338
  version:
339
339
  - !ruby/object:Gem::Dependency
340
340
  name: actionmailer
@@ -343,7 +343,7 @@ dependencies:
343
343
  requirements:
344
344
  - - "="
345
345
  - !ruby/object:Gem::Version
346
- version: 1.3.0
346
+ version: 1.3.1
347
347
  version:
348
348
  - !ruby/object:Gem::Dependency
349
349
  name: actionwebservice
@@ -352,5 +352,5 @@ dependencies:
352
352
  requirements:
353
353
  - - "="
354
354
  - !ruby/object:Gem::Version
355
- version: 1.2.0
355
+ version: 1.2.1
356
356
  version: