rails 1.2.1 → 1.2.2

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,10 @@
1
+ *1.2.2* (February 5th, 2007)
2
+
3
+ * Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
4
+
5
+ * Require the dispatcher for Rails::Configuration#to_prepare. [Rick]
6
+
7
+
1
8
  *1.2.1* (January 16th, 2007)
2
9
 
3
10
  * Updated to Active Record 1.15.1, Action Pack 1.13.1, Action Mailer 1.3.1, Action Web Service 1.2.1
data/Rakefile CHANGED
@@ -288,11 +288,11 @@ spec = Gem::Specification.new do |s|
288
288
  EOF
289
289
 
290
290
  s.add_dependency('rake', '>= 0.7.1')
291
- s.add_dependency('activesupport', '= 1.4.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)
291
+ s.add_dependency('activesupport', '= 1.4.1' + PKG_BUILD)
292
+ s.add_dependency('activerecord', '= 1.15.2' + PKG_BUILD)
293
+ s.add_dependency('actionpack', '= 1.13.2' + PKG_BUILD)
294
+ s.add_dependency('actionmailer', '= 1.3.2' + PKG_BUILD)
295
+ s.add_dependency('actionwebservice', '= 1.2.2' + PKG_BUILD)
296
296
 
297
297
  s.rdoc_options << '--exclude' << '.'
298
298
  s.has_rdoc = false
@@ -26,7 +26,7 @@ unless defined?(Rails::Initializer)
26
26
  rails_gem = Gem.cache.search('rails', "~>#{version}.0").sort_by { |g| g.version.version }.last
27
27
 
28
28
  if rails_gem
29
- require_gem "rails", "=#{rails_gem.version.version}"
29
+ gem "rails", "=#{rails_gem.version.version}"
30
30
  require rails_gem.full_gem_path + '/lib/initializer'
31
31
  else
32
32
  STDERR.puts %(Cannot find gem for Rails ~>#{version}.0:
@@ -36,7 +36,7 @@ unless defined?(Rails::Initializer)
36
36
  exit 1
37
37
  end
38
38
  else
39
- require_gem "rails"
39
+ gem "rails"
40
40
  require 'initializer'
41
41
  end
42
42
  end
@@ -552,6 +552,7 @@ module Rails
552
552
  #
553
553
  # See Dispatcher#to_prepare.
554
554
  def to_prepare(&callback)
555
+ require 'dispatcher' unless defined?(::Dispatcher)
555
556
  Dispatcher.to_prepare(&callback)
556
557
  end
557
558
 
@@ -2,7 +2,7 @@ module Rails
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 2
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -28,7 +28,7 @@ begin
28
28
  require 'active_support'
29
29
  rescue LoadError
30
30
  require 'rubygems'
31
- require_gem 'activesupport'
31
+ gem 'activesupport'
32
32
  end
33
33
 
34
34
  require 'rails_generator/base'
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
2
+ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: rails
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.2.1
7
- date: 2007-01-18 00:00:00 -06:00
6
+ version: 1.2.2
7
+ date: 2007-02-06 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
@@ -41,6 +41,7 @@ files:
41
41
  - html
42
42
  - lib
43
43
  - MIT-LICENSE
44
+ - pkg
44
45
  - Rakefile
45
46
  - README
46
47
  - bin/about
@@ -316,7 +317,7 @@ dependencies:
316
317
  requirements:
317
318
  - - "="
318
319
  - !ruby/object:Gem::Version
319
- version: 1.4.0
320
+ version: 1.4.1
320
321
  version:
321
322
  - !ruby/object:Gem::Dependency
322
323
  name: activerecord
@@ -325,7 +326,7 @@ dependencies:
325
326
  requirements:
326
327
  - - "="
327
328
  - !ruby/object:Gem::Version
328
- version: 1.15.1
329
+ version: 1.15.2
329
330
  version:
330
331
  - !ruby/object:Gem::Dependency
331
332
  name: actionpack
@@ -334,7 +335,7 @@ dependencies:
334
335
  requirements:
335
336
  - - "="
336
337
  - !ruby/object:Gem::Version
337
- version: 1.13.1
338
+ version: 1.13.2
338
339
  version:
339
340
  - !ruby/object:Gem::Dependency
340
341
  name: actionmailer
@@ -343,7 +344,7 @@ dependencies:
343
344
  requirements:
344
345
  - - "="
345
346
  - !ruby/object:Gem::Version
346
- version: 1.3.1
347
+ version: 1.3.2
347
348
  version:
348
349
  - !ruby/object:Gem::Dependency
349
350
  name: actionwebservice
@@ -352,5 +353,5 @@ dependencies:
352
353
  requirements:
353
354
  - - "="
354
355
  - !ruby/object:Gem::Version
355
- version: 1.2.1
356
+ version: 1.2.2
356
357
  version: