rails 2.3.3 → 2.3.4

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,7 +1,13 @@
1
+ *2.3.4 (September 4, 2009)*
2
+
3
+ * I18n support for plugins. #2325 [Antonio Tapiador, Sven Fuchs]
4
+
5
+
1
6
  *2.3.3 (July 12 2009)
2
7
 
3
8
  * Version bump
4
9
 
10
+
5
11
  *2.3.2 [Final] (March 15, 2009)*
6
12
 
7
13
  * Allow metal to live in plugins #2045 [Matthew Rudy]
data/Rakefile CHANGED
@@ -199,11 +199,14 @@ task :copy_configs do
199
199
 
200
200
  cp "configs/locales/en.yml", "#{PKG_DESTINATION}/config/locales/en.yml"
201
201
 
202
+ cp "configs/seeds.rb", "#{PKG_DESTINATION}/db/seeds.rb"
203
+
202
204
  cp "environments/boot.rb", "#{PKG_DESTINATION}/config/boot.rb"
203
205
  cp "environments/environment.rb", "#{PKG_DESTINATION}/config/environment.rb"
204
206
  cp "environments/production.rb", "#{PKG_DESTINATION}/config/environments/production.rb"
205
207
  cp "environments/development.rb", "#{PKG_DESTINATION}/config/environments/development.rb"
206
208
  cp "environments/test.rb", "#{PKG_DESTINATION}/config/environments/test.rb"
209
+
207
210
  end
208
211
 
209
212
  task :copy_binfiles do
@@ -311,11 +314,11 @@ spec = Gem::Specification.new do |s|
311
314
  EOF
312
315
 
313
316
  s.add_dependency('rake', '>= 0.8.3')
314
- s.add_dependency('activesupport', '= 2.3.3' + PKG_BUILD)
315
- s.add_dependency('activerecord', '= 2.3.3' + PKG_BUILD)
316
- s.add_dependency('actionpack', '= 2.3.3' + PKG_BUILD)
317
- s.add_dependency('actionmailer', '= 2.3.3' + PKG_BUILD)
318
- s.add_dependency('activeresource', '= 2.3.3' + PKG_BUILD)
317
+ s.add_dependency('activesupport', '= 2.3.4' + PKG_BUILD)
318
+ s.add_dependency('activerecord', '= 2.3.4' + PKG_BUILD)
319
+ s.add_dependency('actionpack', '= 2.3.4' + PKG_BUILD)
320
+ s.add_dependency('actionmailer', '= 2.3.4' + PKG_BUILD)
321
+ s.add_dependency('activeresource', '= 2.3.4' + PKG_BUILD)
319
322
 
320
323
  s.rdoc_options << '--exclude' << '.'
321
324
  s.has_rdoc = false
@@ -340,7 +343,6 @@ end
340
343
  # Publishing -------------------------------------------------------
341
344
  desc "Publish the rails gem"
342
345
  task :pgem => [:gem] do
343
- require 'rake/contrib/sshpublisher'
344
346
  Rake::SshFilePublisher.new("gems.rubyonrails.org", "/u/sites/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
345
347
  `ssh gems.rubyonrails.org '/u/sites/gems/gemupdate.sh'`
346
348
  end
data/bin/about CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
2
+ require File.expand_path('../../config/boot', __FILE__)
3
3
  $LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
4
- require 'commands/about'
4
+ require 'commands/about'
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
2
+ require File.expand_path('../../config/boot', __FILE__)
3
3
  require 'commands/console'
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
2
+ require File.expand_path('../../config/boot', __FILE__)
3
3
  require 'commands/dbconsole'
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
2
+ require File.expand_path('../../config/boot', __FILE__)
3
3
  require 'commands/destroy'
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
2
+ require File.expand_path('../../config/boot', __FILE__)
3
3
  require 'commands/generate'
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
2
+ require File.expand_path('../../../config/boot', __FILE__)
3
3
  require 'commands/performance/benchmarker'
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../../config/boot'
2
+ require File.expand_path('../../../config/boot', __FILE__)
3
3
  require 'commands/performance/profiler'
data/bin/plugin CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
2
+ require File.expand_path('../../config/boot', __FILE__)
3
3
  require 'commands/plugin'
data/bin/runner CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
2
+ require File.expand_path('../../config/boot', __FILE__)
3
3
  require 'commands/runner'
data/bin/server CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
- require File.dirname(__FILE__) + '/../config/boot'
2
+ require File.expand_path('../../config/boot', __FILE__)
3
3
  require 'commands/server'
@@ -25,8 +25,10 @@ module Rails
25
25
  end
26
26
 
27
27
  def framework_version(framework)
28
- require "#{framework}/version"
29
- "#{framework.classify}::VERSION::STRING".constantize
28
+ if Object.const_defined?(framework.classify)
29
+ require "#{framework}/version"
30
+ "#{framework.classify}::VERSION::STRING".constantize
31
+ end
30
32
  end
31
33
 
32
34
  def edge_rails_revision(info = git_info)
@@ -11,6 +11,8 @@ if defined?(ActiveRecord)
11
11
  ActiveRecord::Base.store_full_sti_class = true
12
12
  end
13
13
 
14
+ ActionController::Routing.generate_best_match = false
15
+
14
16
  # Use ISO 8601 format for JSON serialized times and dates.
15
17
  ActiveSupport.use_standard_json_time_format = true
16
18
 
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
7
+ # Major.create(:name => 'Daley', :city => cities.first)
@@ -82,8 +82,8 @@ module Rails
82
82
  end
83
83
 
84
84
  def load_rubygems
85
+ min_version = '1.3.2'
85
86
  require 'rubygems'
86
- min_version = '1.3.1'
87
87
  unless rubygems_version >= min_version
88
88
  $stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.)
89
89
  exit 1
@@ -33,11 +33,15 @@ end
33
33
  def find_cmd(*commands)
34
34
  dirs_on_path = ENV['PATH'].to_s.split(File::PATH_SEPARATOR)
35
35
  commands += commands.map{|cmd| "#{cmd}.exe"} if RUBY_PLATFORM =~ /win32/
36
- commands.detect do |cmd|
37
- dirs_on_path.detect do |path|
38
- File.executable? File.join(path, cmd)
36
+
37
+ full_path_command = nil
38
+ found = commands.detect do |cmd|
39
+ dir = dirs_on_path.detect do |path|
40
+ full_path_command = File.join(path, cmd)
41
+ File.executable? full_path_command
39
42
  end
40
- end || abort("Couldn't find database client: #{commands.join(', ')}. Check your $PATH and try again.")
43
+ end
44
+ found ? full_path_command : abort("Couldn't find database client: #{commands.join(', ')}. Check your $PATH and try again.")
41
45
  end
42
46
 
43
47
  case config["adapter"]
@@ -442,7 +442,7 @@ Run `rake gems:install` to install the missing gems.
442
442
  def initialize_database_middleware
443
443
  if configuration.frameworks.include?(:active_record)
444
444
  if configuration.frameworks.include?(:action_controller) &&
445
- ActionController::Base.session_store == ActiveRecord::SessionStore
445
+ ActionController::Base.session_store.name == 'ActiveRecord::SessionStore'
446
446
  configuration.middleware.insert_before :"ActiveRecord::SessionStore", ActiveRecord::ConnectionAdapters::ConnectionManagement
447
447
  configuration.middleware.insert_before :"ActiveRecord::SessionStore", ActiveRecord::QueryCache
448
448
  else
@@ -71,6 +71,10 @@ module Rails
71
71
  File.exist?(routing_file)
72
72
  end
73
73
 
74
+ # Returns true if there is any localization file in locale_path
75
+ def localized?
76
+ locale_files.any?
77
+ end
74
78
 
75
79
  def view_path
76
80
  File.join(directory, 'app', 'views')
@@ -87,6 +91,14 @@ module Rails
87
91
  def routing_file
88
92
  File.join(directory, 'config', 'routes.rb')
89
93
  end
94
+
95
+ def locale_path
96
+ File.join(directory, 'config', 'locales')
97
+ end
98
+
99
+ def locale_files
100
+ Dir[ File.join(locale_path, '*.{rb,yml}') ]
101
+ end
90
102
 
91
103
 
92
104
  private
@@ -73,6 +73,7 @@ module Rails
73
73
  def configure_engines
74
74
  if engines.any?
75
75
  add_engine_routing_configurations
76
+ add_engine_locales
76
77
  add_engine_controller_paths
77
78
  add_engine_view_paths
78
79
  end
@@ -84,6 +85,12 @@ module Rails
84
85
  end
85
86
  end
86
87
 
88
+ def add_engine_locales
89
+ # reverse it such that the last engine can overwrite translations from the first, like with routes
90
+ locale_files = engines.select(&:localized?).collect(&:locale_files).reverse.flatten
91
+ I18n.load_path += locale_files - I18n.load_path
92
+ end
93
+
87
94
  def add_engine_controller_paths
88
95
  ActionController::Routing.controller_paths += engines.collect(&:controller_path)
89
96
  end
@@ -2,7 +2,7 @@ module Rails
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 3
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -233,13 +233,13 @@ module Rails
233
233
  base_name, @class_path, @file_path, @class_nesting, @class_nesting_depth = extract_modules(@name)
234
234
  @class_name_without_nesting, @singular_name, @plural_name = inflect_names(base_name)
235
235
  @table_name = (!defined?(ActiveRecord::Base) || ActiveRecord::Base.pluralize_table_names) ? plural_name : singular_name
236
- @table_name.gsub! '/', '_'
237
236
  if @class_nesting.empty?
238
237
  @class_name = @class_name_without_nesting
239
238
  else
240
239
  @table_name = @class_nesting.underscore << "_" << @table_name
241
240
  @class_name = "#{@class_nesting}::#{@class_name_without_nesting}"
242
241
  end
242
+ @table_name.gsub! '/', '_'
243
243
  end
244
244
 
245
245
  # Extract modules from filesystem-style or ruby-style path:
@@ -125,6 +125,7 @@ class AppGenerator < Rails::Generator::Base
125
125
  create_database_configuration_file(m)
126
126
  create_routes_file(m)
127
127
  create_locale_file(m)
128
+ create_seeds_file(m)
128
129
  create_initializer_files(m)
129
130
  create_environment_files(m)
130
131
  end
@@ -176,6 +177,10 @@ class AppGenerator < Rails::Generator::Base
176
177
  m.file "configs/routes.rb", "config/routes.rb"
177
178
  end
178
179
 
180
+ def create_seeds_file(m)
181
+ m.file "configs/seeds.rb", "db/seeds.rb"
182
+ end
183
+
179
184
  def create_initializer_files(m)
180
185
  %w(
181
186
  backtrace_silencers
@@ -1,16 +1,18 @@
1
+ STDOUT.sync = true
2
+
1
3
  module Rails
2
4
  class Git < Scm
3
5
  def self.clone(repos, branch=nil)
4
- `git clone #{repos}`
6
+ system "git clone #{repos}"
5
7
 
6
8
  if branch
7
- `cd #{repos.split('/').last}/`
8
- `git checkout #{branch}`
9
+ system "cd #{repos.split('/').last}/"
10
+ system "git checkout #{branch}"
9
11
  end
10
12
  end
11
13
 
12
14
  def self.run(command)
13
- `git #{command}`
15
+ system "git #{command}"
14
16
  end
15
17
  end
16
18
  end
@@ -237,7 +237,7 @@ module Rails
237
237
  # ==== Example
238
238
  #
239
239
  # inside('vendor') do
240
- # run('ln -s ~/edge rails)
240
+ # run('ln -s ~/edge rails')
241
241
  # end
242
242
  #
243
243
  def run(command, log_action = true)
@@ -19,10 +19,17 @@ class ModelGenerator < Rails::Generator::NamedBase
19
19
  m.template 'fixtures.yml', File.join('test/fixtures', "#{table_name}.yml")
20
20
  end
21
21
 
22
+ migration_file_path = file_path.gsub(/\//, '_')
23
+ migration_name = class_name
24
+ if ActiveRecord::Base.pluralize_table_names
25
+ migration_name = migration_name.pluralize
26
+ migration_file_path = migration_file_path.pluralize
27
+ end
28
+
22
29
  unless options[:skip_migration]
23
30
  m.migration_template 'migration.rb', 'db/migrate', :assigns => {
24
- :migration_name => "Create#{class_name.pluralize.gsub(/::/, '')}"
25
- }, :migration_file_name => "create_#{file_path.gsub(/\//, '_').pluralize}"
31
+ :migration_name => "Create#{migration_name.gsub(/::/, '')}"
32
+ }, :migration_file_name => "create_#{migration_file_path}"
26
33
  end
27
34
  end
28
35
  end
@@ -19,6 +19,7 @@ class ScaffoldGenerator < Rails::Generator::NamedBase
19
19
  if @name == @name.pluralize && !options[:force_plural]
20
20
  logger.warning "Plural version of the model detected, using singularized version. Override with --force-plural."
21
21
  @name = @name.singularize
22
+ assign_names!(@name)
22
23
  end
23
24
 
24
25
  @controller_name = @name.pluralize
@@ -55,7 +55,7 @@ namespace :db do
55
55
  case config['adapter']
56
56
  when 'mysql'
57
57
  @charset = ENV['CHARSET'] || 'utf8'
58
- @collation = ENV['COLLATION'] || 'utf8_general_ci'
58
+ @collation = ENV['COLLATION'] || 'utf8_unicode_ci'
59
59
  begin
60
60
  ActiveRecord::Base.establish_connection(config.merge('database' => nil))
61
61
  ActiveRecord::Base.connection.create_database(config['database'], :charset => (config['charset'] || @charset), :collation => (config['collation'] || @collation))
@@ -156,8 +156,8 @@ namespace :db do
156
156
  Rake::Task["db:schema:dump"].invoke if ActiveRecord::Base.schema_format == :ruby
157
157
  end
158
158
 
159
- desc 'Drops and recreates the database from db/schema.rb for the current environment.'
160
- task :reset => ['db:drop', 'db:create', 'db:schema:load']
159
+ desc 'Drops and recreates the database from db/schema.rb for the current environment and loads the seeds.'
160
+ task :reset => [ 'db:drop', 'db:setup' ]
161
161
 
162
162
  desc "Retrieves the charset for the current environment's database"
163
163
  task :charset => :environment do
@@ -206,6 +206,15 @@ namespace :db do
206
206
  end
207
207
  end
208
208
 
209
+ desc 'Create the database, load the schema, and initialize with the seed data'
210
+ task :setup => [ 'db:create', 'db:schema:load', 'db:seed' ]
211
+
212
+ desc 'Load the seed data from db/seeds.rb'
213
+ task :seed => :environment do
214
+ seed_file = File.join(Rails.root, 'db', 'seeds.rb')
215
+ load(seed_file) if File.exist?(seed_file)
216
+ end
217
+
209
218
  namespace :fixtures do
210
219
  desc "Load fixtures into the current environment's database. Load specific fixtures using FIXTURES=x,y. Load from subdirectory in test/fixtures using FIXTURES_DIR=z. Specify an alternative path (eg. spec/fixtures) using FIXTURES_PATH=spec/fixtures."
211
220
  task :load => :environment do
@@ -256,7 +265,11 @@ namespace :db do
256
265
  desc "Load a schema.rb file into the database"
257
266
  task :load => :environment do
258
267
  file = ENV['SCHEMA'] || "#{RAILS_ROOT}/db/schema.rb"
259
- load(file)
268
+ if File.exists?(file)
269
+ load(file)
270
+ else
271
+ abort %{#{file} doesn't exist yet. Run "rake db:migrate" to create it then try again. If you do not intend to use a database, you should instead alter #{RAILS_ROOT}/config/environment.rb to prevent active_record from loading: config.frameworks -= [ :active_record ]}
272
+ end
260
273
  end
261
274
  end
262
275
 
@@ -1,6 +1,7 @@
1
- desc 'Print out all defined routes in match order, with names.'
1
+ desc 'Print out all defined routes in match order, with names. Target specific controller with CONTROLLER=x.'
2
2
  task :routes => :environment do
3
- routes = ActionController::Routing::Routes.routes.collect do |route|
3
+ all_routes = ENV['CONTROLLER'] ? ActionController::Routing::Routes.routes.select { |route| route.defaults[:controller] == ENV['CONTROLLER'] } : ActionController::Routing::Routes.routes
4
+ routes = all_routes.collect do |route|
4
5
  name = ActionController::Routing::Routes.named_routes.routes.index(route).to_s
5
6
  verb = route.conditions[:method].to_s.upcase
6
7
  segs = route.segments.inject("") { |str,s| str << s.to_s }
@@ -14,4 +15,4 @@ task :routes => :environment do
14
15
  routes.each do |r|
15
16
  puts "#{r[:name].rjust(name_width)} #{r[:verb].ljust(verb_width)} #{r[:segs].ljust(segs_width)} #{r[:reqs]}"
16
17
  end
17
- end
18
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-20 00:00:00 -05:00
12
+ date: 2009-09-04 00:00:00 +12:00
13
13
  default_executable: rails
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - "="
32
32
  - !ruby/object:Gem::Version
33
- version: 2.3.3
33
+ version: 2.3.4
34
34
  version:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: activerecord
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - "="
42
42
  - !ruby/object:Gem::Version
43
- version: 2.3.3
43
+ version: 2.3.4
44
44
  version:
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: actionpack
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - "="
52
52
  - !ruby/object:Gem::Version
53
- version: 2.3.3
53
+ version: 2.3.4
54
54
  version:
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: actionmailer
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - "="
62
62
  - !ruby/object:Gem::Version
63
- version: 2.3.3
63
+ version: 2.3.4
64
64
  version:
65
65
  - !ruby/object:Gem::Dependency
66
66
  name: activeresource
@@ -70,9 +70,9 @@ dependencies:
70
70
  requirements:
71
71
  - - "="
72
72
  - !ruby/object:Gem::Version
73
- version: 2.3.3
73
+ version: 2.3.4
74
74
  version:
75
- description: Rails is a framework for building web-application using CGI, FCGI, mod_ruby, or WEBrick on top of either MySQL, PostgreSQL, SQLite, DB2, SQL Server, or Oracle with eRuby- or Builder-based templates.
75
+ description: " Rails is a framework for building web-application using CGI, FCGI, mod_ruby, or WEBrick\n on top of either MySQL, PostgreSQL, SQLite, DB2, SQL Server, or Oracle with eRuby- or Builder-based templates.\n"
76
76
  email: david@loudthinking.com
77
77
  executables:
78
78
  - rails
@@ -81,20 +81,10 @@ extensions: []
81
81
  extra_rdoc_files: []
82
82
 
83
83
  files:
84
- - bin
85
- - builtin
86
84
  - CHANGELOG
87
- - configs
88
- - dispatches
89
- - doc
90
- - environments
91
85
  - fresh_rakefile
92
- - guides
93
- - helpers
94
- - html
95
- - lib
96
86
  - MIT-LICENSE
97
- - pkg
87
+ - rails-2.3.4.gem
98
88
  - Rakefile
99
89
  - README
100
90
  - bin/about
@@ -102,20 +92,16 @@ files:
102
92
  - bin/dbconsole
103
93
  - bin/destroy
104
94
  - bin/generate
105
- - bin/performance
106
95
  - bin/performance/benchmarker
107
96
  - bin/performance/profiler
108
97
  - bin/plugin
109
98
  - bin/rails
110
99
  - bin/runner
111
100
  - bin/server
112
- - builtin/rails_info
113
- - builtin/rails_info/rails
114
101
  - builtin/rails_info/rails/info.rb
115
102
  - builtin/rails_info/rails/info_controller.rb
116
103
  - builtin/rails_info/rails/info_helper.rb
117
104
  - builtin/rails_info/rails_info_controller.rb
118
- - configs/databases
119
105
  - configs/databases/frontbase.yml
120
106
  - configs/databases/ibm_db.yml
121
107
  - configs/databases/mysql.yml
@@ -124,15 +110,14 @@ files:
124
110
  - configs/databases/sqlite2.yml
125
111
  - configs/databases/sqlite3.yml
126
112
  - configs/empty.log
127
- - configs/initializers
128
113
  - configs/initializers/backtrace_silencers.rb
129
114
  - configs/initializers/inflections.rb
130
115
  - configs/initializers/mime_types.rb
131
116
  - configs/initializers/new_rails_defaults.rb
132
117
  - configs/initializers/session_store.rb
133
- - configs/locales
134
118
  - configs/locales/en.yml
135
119
  - configs/routes.rb
120
+ - configs/seeds.rb
136
121
  - doc/README_FOR_APP
137
122
  - dispatches/config.ru
138
123
  - dispatches/dispatch.fcgi
@@ -143,18 +128,14 @@ files:
143
128
  - environments/environment.rb
144
129
  - environments/production.rb
145
130
  - environments/test.rb
146
- - guides/files
147
- - guides/files/javascripts
148
131
  - guides/files/javascripts/code_highlighter.js
149
132
  - guides/files/javascripts/guides.js
150
133
  - guides/files/javascripts/highlighters.js
151
- - guides/files/stylesheets
152
134
  - guides/files/stylesheets/main.css
153
135
  - guides/files/stylesheets/print.css
154
136
  - guides/files/stylesheets/reset.css
155
137
  - guides/files/stylesheets/style.css
156
138
  - guides/files/stylesheets/syntax.css
157
- - guides/images
158
139
  - guides/images/belongs_to.png
159
140
  - guides/images/book_icon.gif
160
141
  - guides/images/bullet.gif
@@ -175,14 +156,11 @@ files:
175
156
  - guides/images/has_one_through.png
176
157
  - guides/images/header_backdrop.png
177
158
  - guides/images/header_tile.gif
178
- - guides/images/i18n
179
159
  - guides/images/i18n/demo_localized_pirate.png
180
160
  - guides/images/i18n/demo_translated_en.png
181
161
  - guides/images/i18n/demo_translated_pirate.png
182
162
  - guides/images/i18n/demo_translation_missing.png
183
163
  - guides/images/i18n/demo_untranslated.png
184
- - guides/images/icons
185
- - guides/images/icons/callouts
186
164
  - guides/images/icons/callouts/1.png
187
165
  - guides/images/icons/callouts/10.png
188
166
  - guides/images/icons/callouts/11.png
@@ -223,13 +201,11 @@ files:
223
201
  - guides/images/tab_yellow.gif
224
202
  - guides/images/tab_yellow.png
225
203
  - guides/images/validation_error_messages.png
226
- - guides/rails_guides
227
204
  - guides/rails_guides/generator.rb
228
205
  - guides/rails_guides/helpers.rb
229
206
  - guides/rails_guides/indexer.rb
230
207
  - guides/rails_guides/textile_extensions.rb
231
208
  - guides/rails_guides.rb
232
- - guides/source
233
209
  - guides/source/2_2_release_notes.textile
234
210
  - guides/source/2_3_release_notes.textile
235
211
  - guides/source/action_controller_overview.textile
@@ -267,10 +243,8 @@ files:
267
243
  - html/422.html
268
244
  - html/500.html
269
245
  - html/favicon.ico
270
- - html/images
271
246
  - html/images/rails.png
272
247
  - html/index.html
273
- - html/javascripts
274
248
  - html/javascripts/application.js
275
249
  - html/javascripts/controls.js
276
250
  - html/javascripts/dragdrop.js
@@ -278,16 +252,13 @@ files:
278
252
  - html/javascripts/prototype.js
279
253
  - html/robots.txt
280
254
  - lib/code_statistics.rb
281
- - lib/commands
282
255
  - lib/commands/about.rb
283
256
  - lib/commands/console.rb
284
257
  - lib/commands/dbconsole.rb
285
258
  - lib/commands/destroy.rb
286
259
  - lib/commands/generate.rb
287
- - lib/commands/ncgi
288
260
  - lib/commands/ncgi/listener
289
261
  - lib/commands/ncgi/tracker
290
- - lib/commands/performance
291
262
  - lib/commands/performance/benchmarker.rb
292
263
  - lib/commands/performance/profiler.rb
293
264
  - lib/commands/plugin.rb
@@ -302,15 +273,12 @@ files:
302
273
  - lib/fcgi_handler.rb
303
274
  - lib/initializer.rb
304
275
  - lib/performance_test_help.rb
305
- - lib/rails
306
276
  - lib/rails/backtrace_cleaner.rb
307
277
  - lib/rails/gem_builder.rb
308
278
  - lib/rails/gem_dependency.rb
309
- - lib/rails/plugin
310
279
  - lib/rails/plugin/loader.rb
311
280
  - lib/rails/plugin/locator.rb
312
281
  - lib/rails/plugin.rb
313
- - lib/rails/rack
314
282
  - lib/rails/rack/debugger.rb
315
283
  - lib/rails/rack/log_tailer.rb
316
284
  - lib/rails/rack/metal.rb
@@ -318,44 +286,30 @@ files:
318
286
  - lib/rails/rack.rb
319
287
  - lib/rails/vendor_gem_source_index.rb
320
288
  - lib/rails/version.rb
321
- - lib/rails_generator
322
289
  - lib/rails_generator/base.rb
323
290
  - lib/rails_generator/commands.rb
324
291
  - lib/rails_generator/generated_attribute.rb
325
- - lib/rails_generator/generators
326
- - lib/rails_generator/generators/applications
327
- - lib/rails_generator/generators/applications/app
328
292
  - lib/rails_generator/generators/applications/app/app_generator.rb
329
- - lib/rails_generator/generators/applications/app/scm
330
293
  - lib/rails_generator/generators/applications/app/scm/git.rb
331
294
  - lib/rails_generator/generators/applications/app/scm/scm.rb
332
295
  - lib/rails_generator/generators/applications/app/scm/svn.rb
333
296
  - lib/rails_generator/generators/applications/app/template_runner.rb
334
297
  - lib/rails_generator/generators/applications/app/USAGE
335
- - lib/rails_generator/generators/components
336
- - lib/rails_generator/generators/components/controller
337
298
  - lib/rails_generator/generators/components/controller/controller_generator.rb
338
- - lib/rails_generator/generators/components/controller/templates
339
299
  - lib/rails_generator/generators/components/controller/templates/controller.rb
340
300
  - lib/rails_generator/generators/components/controller/templates/functional_test.rb
341
301
  - lib/rails_generator/generators/components/controller/templates/helper.rb
342
302
  - lib/rails_generator/generators/components/controller/templates/helper_test.rb
343
303
  - lib/rails_generator/generators/components/controller/templates/view.html.erb
344
304
  - lib/rails_generator/generators/components/controller/USAGE
345
- - lib/rails_generator/generators/components/helper
346
305
  - lib/rails_generator/generators/components/helper/helper_generator.rb
347
- - lib/rails_generator/generators/components/helper/templates
348
306
  - lib/rails_generator/generators/components/helper/templates/helper.rb
349
307
  - lib/rails_generator/generators/components/helper/templates/helper_test.rb
350
308
  - lib/rails_generator/generators/components/helper/USAGE
351
- - lib/rails_generator/generators/components/integration_test
352
309
  - lib/rails_generator/generators/components/integration_test/integration_test_generator.rb
353
- - lib/rails_generator/generators/components/integration_test/templates
354
310
  - lib/rails_generator/generators/components/integration_test/templates/integration_test.rb
355
311
  - lib/rails_generator/generators/components/integration_test/USAGE
356
- - lib/rails_generator/generators/components/mailer
357
312
  - lib/rails_generator/generators/components/mailer/mailer_generator.rb
358
- - lib/rails_generator/generators/components/mailer/templates
359
313
  - lib/rails_generator/generators/components/mailer/templates/fixture.erb
360
314
  - lib/rails_generator/generators/components/mailer/templates/fixture.rhtml
361
315
  - lib/rails_generator/generators/components/mailer/templates/mailer.rb
@@ -363,38 +317,26 @@ files:
363
317
  - lib/rails_generator/generators/components/mailer/templates/view.erb
364
318
  - lib/rails_generator/generators/components/mailer/templates/view.rhtml
365
319
  - lib/rails_generator/generators/components/mailer/USAGE
366
- - lib/rails_generator/generators/components/metal
367
320
  - lib/rails_generator/generators/components/metal/metal_generator.rb
368
- - lib/rails_generator/generators/components/metal/templates
369
321
  - lib/rails_generator/generators/components/metal/templates/metal.rb
370
322
  - lib/rails_generator/generators/components/metal/USAGE
371
- - lib/rails_generator/generators/components/migration
372
323
  - lib/rails_generator/generators/components/migration/migration_generator.rb
373
- - lib/rails_generator/generators/components/migration/templates
374
324
  - lib/rails_generator/generators/components/migration/templates/migration.rb
375
325
  - lib/rails_generator/generators/components/migration/USAGE
376
- - lib/rails_generator/generators/components/model
377
326
  - lib/rails_generator/generators/components/model/model_generator.rb
378
- - lib/rails_generator/generators/components/model/templates
379
327
  - lib/rails_generator/generators/components/model/templates/fixtures.yml
380
328
  - lib/rails_generator/generators/components/model/templates/migration.rb
381
329
  - lib/rails_generator/generators/components/model/templates/model.rb
382
330
  - lib/rails_generator/generators/components/model/templates/unit_test.rb
383
331
  - lib/rails_generator/generators/components/model/USAGE
384
- - lib/rails_generator/generators/components/observer
385
332
  - lib/rails_generator/generators/components/observer/observer_generator.rb
386
- - lib/rails_generator/generators/components/observer/templates
387
333
  - lib/rails_generator/generators/components/observer/templates/observer.rb
388
334
  - lib/rails_generator/generators/components/observer/templates/unit_test.rb
389
335
  - lib/rails_generator/generators/components/observer/USAGE
390
- - lib/rails_generator/generators/components/performance_test
391
336
  - lib/rails_generator/generators/components/performance_test/performance_test_generator.rb
392
- - lib/rails_generator/generators/components/performance_test/templates
393
337
  - lib/rails_generator/generators/components/performance_test/templates/performance_test.rb
394
338
  - lib/rails_generator/generators/components/performance_test/USAGE
395
- - lib/rails_generator/generators/components/plugin
396
339
  - lib/rails_generator/generators/components/plugin/plugin_generator.rb
397
- - lib/rails_generator/generators/components/plugin/templates
398
340
  - lib/rails_generator/generators/components/plugin/templates/generator.rb
399
341
  - lib/rails_generator/generators/components/plugin/templates/init.rb
400
342
  - lib/rails_generator/generators/components/plugin/templates/install.rb
@@ -408,17 +350,13 @@ files:
408
350
  - lib/rails_generator/generators/components/plugin/templates/unit_test.rb
409
351
  - lib/rails_generator/generators/components/plugin/templates/USAGE
410
352
  - lib/rails_generator/generators/components/plugin/USAGE
411
- - lib/rails_generator/generators/components/resource
412
353
  - lib/rails_generator/generators/components/resource/resource_generator.rb
413
- - lib/rails_generator/generators/components/resource/templates
414
354
  - lib/rails_generator/generators/components/resource/templates/controller.rb
415
355
  - lib/rails_generator/generators/components/resource/templates/functional_test.rb
416
356
  - lib/rails_generator/generators/components/resource/templates/helper.rb
417
357
  - lib/rails_generator/generators/components/resource/templates/helper_test.rb
418
358
  - lib/rails_generator/generators/components/resource/USAGE
419
- - lib/rails_generator/generators/components/scaffold
420
359
  - lib/rails_generator/generators/components/scaffold/scaffold_generator.rb
421
- - lib/rails_generator/generators/components/scaffold/templates
422
360
  - lib/rails_generator/generators/components/scaffold/templates/controller.rb
423
361
  - lib/rails_generator/generators/components/scaffold/templates/functional_test.rb
424
362
  - lib/rails_generator/generators/components/scaffold/templates/helper.rb
@@ -430,15 +368,12 @@ files:
430
368
  - lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb
431
369
  - lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb
432
370
  - lib/rails_generator/generators/components/scaffold/USAGE
433
- - lib/rails_generator/generators/components/session_migration
434
371
  - lib/rails_generator/generators/components/session_migration/session_migration_generator.rb
435
- - lib/rails_generator/generators/components/session_migration/templates
436
372
  - lib/rails_generator/generators/components/session_migration/templates/migration.rb
437
373
  - lib/rails_generator/generators/components/session_migration/USAGE
438
374
  - lib/rails_generator/lookup.rb
439
375
  - lib/rails_generator/manifest.rb
440
376
  - lib/rails_generator/options.rb
441
- - lib/rails_generator/scripts
442
377
  - lib/rails_generator/scripts/destroy.rb
443
378
  - lib/rails_generator/scripts/generate.rb
444
379
  - lib/rails_generator/scripts/update.rb
@@ -451,7 +386,6 @@ files:
451
386
  - lib/ruby_version_check.rb
452
387
  - lib/rubyprof_ext.rb
453
388
  - lib/source_annotation_extractor.rb
454
- - lib/tasks
455
389
  - lib/tasks/annotations.rake
456
390
  - lib/tasks/databases.rake
457
391
  - lib/tasks/documentation.rake
@@ -469,6 +403,8 @@ files:
469
403
  - lib/webrick_server.rb
470
404
  has_rdoc: false
471
405
  homepage: http://www.rubyonrails.org
406
+ licenses: []
407
+
472
408
  post_install_message:
473
409
  rdoc_options:
474
410
  - --exclude
@@ -490,9 +426,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
490
426
  requirements: []
491
427
 
492
428
  rubyforge_project: rails
493
- rubygems_version: 1.3.1
429
+ rubygems_version: 1.3.2
494
430
  signing_key:
495
- specification_version: 2
431
+ specification_version: 3
496
432
  summary: Web-application framework with template engine, control-flow layer, and ORM.
497
433
  test_files: []
498
434