rails 2.1.2 → 2.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 +27 -3
- data/Rakefile +70 -10
- data/bin/about +0 -0
- data/bin/console +0 -0
- data/bin/destroy +0 -0
- data/bin/generate +0 -0
- data/bin/performance/benchmarker +0 -0
- data/bin/performance/profiler +0 -0
- data/bin/performance/request +0 -0
- data/bin/plugin +0 -0
- data/bin/process/inspector +0 -0
- data/bin/process/reaper +0 -0
- data/bin/process/spawner +0 -0
- data/bin/runner +0 -0
- data/bin/server +0 -0
- data/config.ru +17 -0
- data/configs/apache.conf +0 -0
- data/configs/databases/ibm_db.yml +62 -0
- data/configs/databases/mysql.yml +3 -0
- data/configs/databases/postgresql.yml +3 -0
- data/configs/databases/sqlite2.yml +3 -0
- data/configs/databases/sqlite3.yml +3 -0
- data/configs/locales/en.yml +5 -0
- data/dispatches/dispatch.fcgi +1 -1
- data/dispatches/dispatch.rb +2 -2
- data/dispatches/gateway.cgi +2 -2
- data/doc/README_FOR_APP +5 -2
- data/doc/guides/html/2_2_release_notes.html +1185 -0
- data/doc/guides/html/actioncontroller_basics.html +1270 -0
- data/doc/guides/html/activerecord_validations_callbacks.html +749 -0
- data/doc/guides/html/association_basics.html +2585 -0
- data/doc/guides/html/authors.html +240 -0
- data/doc/guides/html/benchmarking_and_profiling.html +1018 -0
- data/doc/guides/html/caching_with_rails.html +583 -0
- data/doc/guides/html/command_line.html +434 -0
- data/doc/guides/html/configuring.html +438 -0
- data/doc/guides/html/creating_plugins.html +1594 -0
- data/doc/guides/html/debugging_rails_applications.html +1175 -0
- data/doc/guides/html/finders.html +1090 -0
- data/doc/guides/html/form_helpers.html +638 -0
- data/doc/guides/html/getting_started_with_rails.html +2066 -0
- data/doc/guides/html/index.html +349 -0
- data/doc/guides/html/layouts_and_rendering.html +1406 -0
- data/doc/guides/html/migrations.html +921 -0
- data/doc/guides/html/routing_outside_in.html +2213 -0
- data/doc/guides/html/security.html +1346 -0
- data/doc/guides/html/testing_rails_applications.html +1859 -0
- data/doc/guides/source/2_2_release_notes.txt +435 -0
- data/doc/guides/source/actioncontroller_basics/changelog.txt +5 -0
- data/doc/guides/source/actioncontroller_basics/cookies.txt +34 -0
- data/doc/guides/source/actioncontroller_basics/csrf.txt +32 -0
- data/doc/guides/source/actioncontroller_basics/filters.txt +119 -0
- data/doc/guides/source/actioncontroller_basics/http_auth.txt +24 -0
- data/doc/guides/source/actioncontroller_basics/index.txt +40 -0
- data/doc/guides/source/actioncontroller_basics/introduction.txt +9 -0
- data/doc/guides/source/actioncontroller_basics/methods.txt +39 -0
- data/doc/guides/source/actioncontroller_basics/parameter_filtering.txt +14 -0
- data/doc/guides/source/actioncontroller_basics/params.txt +93 -0
- data/doc/guides/source/actioncontroller_basics/request_response_objects.txt +43 -0
- data/doc/guides/source/actioncontroller_basics/rescue.txt +67 -0
- data/doc/guides/source/actioncontroller_basics/session.txt +187 -0
- data/doc/guides/source/actioncontroller_basics/streaming.txt +91 -0
- data/doc/guides/source/actioncontroller_basics/verification.txt +40 -0
- data/doc/guides/source/active_record_basics.txt +181 -0
- data/doc/guides/source/activerecord_validations_callbacks.txt +404 -0
- data/doc/guides/source/association_basics.txt +1840 -0
- data/doc/guides/source/authors.txt +39 -0
- data/doc/guides/source/benchmarking_and_profiling/appendix.txt +95 -0
- data/doc/guides/source/benchmarking_and_profiling/digging_deeper.txt +105 -0
- data/doc/guides/source/benchmarking_and_profiling/edge_rails_features.txt +185 -0
- data/doc/guides/source/benchmarking_and_profiling/gameplan.txt +27 -0
- data/doc/guides/source/benchmarking_and_profiling/index.txt +242 -0
- data/doc/guides/source/benchmarking_and_profiling/rubyprof.txt +179 -0
- data/doc/guides/source/benchmarking_and_profiling/statistics.txt +57 -0
- data/doc/guides/source/caching_with_rails.txt +367 -0
- data/doc/guides/source/command_line.txt +147 -0
- data/doc/guides/source/configuring.txt +225 -0
- data/doc/guides/source/creating_plugins/acts_as_yaffle.txt +191 -0
- data/doc/guides/source/creating_plugins/appendix.txt +46 -0
- data/doc/guides/source/creating_plugins/controllers.txt +59 -0
- data/doc/guides/source/creating_plugins/core_ext.txt +123 -0
- data/doc/guides/source/creating_plugins/custom_route.txt +69 -0
- data/doc/guides/source/creating_plugins/gem.txt +1 -0
- data/doc/guides/source/creating_plugins/generator_method.txt +89 -0
- data/doc/guides/source/creating_plugins/helpers.txt +51 -0
- data/doc/guides/source/creating_plugins/index.txt +52 -0
- data/doc/guides/source/creating_plugins/migration_generator.txt +156 -0
- data/doc/guides/source/creating_plugins/models.txt +76 -0
- data/doc/guides/source/creating_plugins/odds_and_ends.txt +69 -0
- data/doc/guides/source/creating_plugins/test_setup.txt +230 -0
- data/doc/guides/source/debugging_rails_applications.txt +733 -0
- data/doc/guides/source/finders.txt +668 -0
- data/doc/guides/source/form_helpers.txt +345 -0
- data/doc/guides/source/getting_started_with_rails.txt +1256 -0
- data/doc/guides/source/images/belongs_to.png +0 -0
- data/doc/guides/source/images/bullet.gif +0 -0
- data/doc/guides/source/images/csrf.png +0 -0
- data/doc/guides/source/images/habtm.png +0 -0
- data/doc/guides/source/images/has_many.png +0 -0
- data/doc/guides/source/images/has_many_through.png +0 -0
- data/doc/guides/source/images/has_one.png +0 -0
- data/doc/guides/source/images/has_one_through.png +0 -0
- data/doc/guides/source/images/header_backdrop.png +0 -0
- data/doc/guides/source/images/icons/README +5 -0
- data/doc/guides/source/images/icons/callouts/1.png +0 -0
- data/doc/guides/source/images/icons/callouts/10.png +0 -0
- data/doc/guides/source/images/icons/callouts/11.png +0 -0
- data/doc/guides/source/images/icons/callouts/12.png +0 -0
- data/doc/guides/source/images/icons/callouts/13.png +0 -0
- data/doc/guides/source/images/icons/callouts/14.png +0 -0
- data/doc/guides/source/images/icons/callouts/15.png +0 -0
- data/doc/guides/source/images/icons/callouts/2.png +0 -0
- data/doc/guides/source/images/icons/callouts/3.png +0 -0
- data/doc/guides/source/images/icons/callouts/4.png +0 -0
- data/doc/guides/source/images/icons/callouts/5.png +0 -0
- data/doc/guides/source/images/icons/callouts/6.png +0 -0
- data/doc/guides/source/images/icons/callouts/7.png +0 -0
- data/doc/guides/source/images/icons/callouts/8.png +0 -0
- data/doc/guides/source/images/icons/callouts/9.png +0 -0
- data/doc/guides/source/images/icons/caution.png +0 -0
- data/doc/guides/source/images/icons/example.png +0 -0
- data/doc/guides/source/images/icons/home.png +0 -0
- data/doc/guides/source/images/icons/important.png +0 -0
- data/doc/guides/source/images/icons/next.png +0 -0
- data/doc/guides/source/images/icons/note.png +0 -0
- data/doc/guides/source/images/icons/prev.png +0 -0
- data/doc/guides/source/images/icons/tip.png +0 -0
- data/doc/guides/source/images/icons/up.png +0 -0
- data/doc/guides/source/images/icons/warning.png +0 -0
- data/doc/guides/source/images/polymorphic.png +0 -0
- data/doc/guides/source/images/rails_logo_remix.gif +0 -0
- data/doc/guides/source/images/ruby_on_rails_by_mike_rundle2.gif +0 -0
- data/doc/guides/source/images/session_fixation.png +0 -0
- data/doc/guides/source/index.txt +118 -0
- data/doc/guides/source/layouts_and_rendering.txt +982 -0
- data/doc/guides/source/migrations/anatomy_of_a_migration.txt +85 -0
- data/doc/guides/source/migrations/changelog.txt +5 -0
- data/doc/guides/source/migrations/creating_a_migration.txt +109 -0
- data/doc/guides/source/migrations/foreign_keys.txt +8 -0
- data/doc/guides/source/migrations/index.txt +22 -0
- data/doc/guides/source/migrations/rakeing_around.txt +111 -0
- data/doc/guides/source/migrations/scheming.txt +47 -0
- data/doc/guides/source/migrations/using_models_in_migrations.txt +46 -0
- data/doc/guides/source/migrations/writing_a_migration.txt +159 -0
- data/doc/guides/source/routing_outside_in.txt +986 -0
- data/doc/guides/source/security.txt +984 -0
- data/doc/guides/source/stylesheets/base.css +358 -0
- data/doc/guides/source/stylesheets/forms.css +35 -0
- data/doc/guides/source/stylesheets/more.css +82 -0
- data/doc/guides/source/templates/guides.html.erb +97 -0
- data/doc/guides/source/templates/inline.css +165 -0
- data/doc/guides/source/testing_rails_applications.txt +995 -0
- data/environments/boot.rb +2 -2
- data/environments/environment.rb +9 -1
- data/environments/production.rb +3 -1
- data/helpers/performance_test.rb +9 -0
- data/html/500.html +4 -1
- data/html/javascripts/controls.js +72 -72
- data/html/javascripts/dragdrop.js +165 -164
- data/html/javascripts/effects.js +173 -165
- data/html/javascripts/prototype.js +362 -267
- data/lib/commands/console.rb +13 -0
- data/lib/commands/dbconsole.rb +2 -2
- data/lib/commands/ncgi/listener +2 -2
- data/lib/commands/ncgi/tracker +2 -2
- data/lib/commands/plugin.rb +41 -24
- data/lib/commands/process/spawner.rb +4 -4
- data/lib/commands/runner.rb +1 -1
- data/lib/commands/server.rb +11 -1
- data/lib/commands/servers/thin.rb +25 -0
- data/lib/fcgi_handler.rb +1 -3
- data/lib/initializer.rb +162 -39
- data/lib/performance_test_help.rb +5 -0
- data/lib/rails/gem_builder.rb +3 -3
- data/lib/rails/gem_dependency.rb +155 -33
- data/lib/rails/mongrel_server/commands.rb +1 -1
- data/lib/rails/plugin.rb +10 -2
- data/lib/rails/rack.rb +6 -0
- data/lib/rails/rack/logger.rb +28 -0
- data/lib/rails/rack/static.rb +35 -0
- data/lib/rails/vendor_gem_source_index.rb +140 -0
- data/lib/rails/version.rb +1 -1
- data/lib/rails_generator/commands.rb +10 -16
- data/lib/rails_generator/generated_attribute.rb +4 -0
- data/lib/rails_generator/generators/applications/app/app_generator.rb +9 -3
- data/lib/rails_generator/generators/components/controller/controller_generator.rb +1 -1
- data/lib/rails_generator/generators/components/controller/templates/functional_test.rb +1 -1
- data/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb +1 -1
- data/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb +2 -2
- data/lib/rails_generator/generators/components/mailer/mailer_generator.rb +1 -1
- data/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +2 -3
- data/lib/rails_generator/generators/components/model/model_generator.rb +1 -1
- data/lib/rails_generator/generators/components/model/templates/model.rb +3 -0
- data/lib/rails_generator/generators/components/model/templates/unit_test.rb +1 -1
- data/lib/rails_generator/generators/components/observer/observer_generator.rb +1 -1
- data/lib/rails_generator/generators/components/observer/templates/unit_test.rb +1 -1
- data/lib/rails_generator/generators/components/performance_test/USAGE +8 -0
- data/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb +16 -0
- data/lib/rails_generator/generators/components/performance_test/templates/performance_test.rb +9 -0
- data/lib/rails_generator/generators/components/plugin/plugin_generator.rb +11 -11
- data/lib/rails_generator/generators/components/plugin/templates/Rakefile +1 -0
- data/lib/rails_generator/generators/components/plugin/templates/test_helper.rb +3 -0
- data/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +4 -4
- data/lib/rails_generator/generators/components/resource/resource_generator.rb +2 -2
- data/lib/rails_generator/generators/components/resource/templates/functional_test.rb +1 -1
- data/lib/rails_generator/generators/components/scaffold/USAGE +9 -5
- data/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +10 -3
- data/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +7 -7
- data/lib/rails_generator/scripts.rb +1 -1
- data/lib/rails_generator/scripts/destroy.rb +6 -7
- data/lib/rails_generator/secret_key_generator.rb +5 -147
- data/lib/tasks/annotations.rake +8 -11
- data/lib/tasks/databases.rake +42 -15
- data/lib/tasks/documentation.rake +15 -0
- data/lib/tasks/framework.rake +5 -1
- data/lib/tasks/gems.rake +24 -8
- data/lib/tasks/misc.rake +3 -4
- data/lib/tasks/testing.rake +25 -4
- data/lib/test_help.rb +1 -2
- data/lib/webrick_server.rb +2 -11
- metadata +165 -9
data/lib/tasks/misc.rake
CHANGED
@@ -3,10 +3,9 @@ task :environment do
|
|
3
3
|
require(File.join(RAILS_ROOT, 'config', 'environment'))
|
4
4
|
end
|
5
5
|
|
6
|
-
|
7
|
-
desc 'Generate a crytographically secure secret key. This is typically used to generate a secret for cookie sessions. Pass a unique identifier to the generator using ID="some unique identifier" for greater security.'
|
6
|
+
desc 'Generate a crytographically secure secret key. This is typically used to generate a secret for cookie sessions.'
|
8
7
|
task :secret do
|
9
|
-
puts
|
8
|
+
puts ActiveSupport::SecureRandom.hex(64)
|
10
9
|
end
|
11
10
|
|
12
11
|
require 'active_support'
|
@@ -54,4 +53,4 @@ namespace :time do
|
|
54
53
|
puts "\n"
|
55
54
|
end
|
56
55
|
end
|
57
|
-
end
|
56
|
+
end
|
data/lib/tasks/testing.rake
CHANGED
@@ -66,10 +66,16 @@ namespace :test do
|
|
66
66
|
|
67
67
|
Rake::TestTask.new(:uncommitted => "db:test:prepare") do |t|
|
68
68
|
def t.file_list
|
69
|
-
|
69
|
+
if File.directory?(".svn")
|
70
|
+
changed_since_checkin = silence_stderr { `svn status` }.map { |path| path.chomp[7 .. -1] }
|
71
|
+
elsif File.directory?(".git")
|
72
|
+
changed_since_checkin = silence_stderr { `git ls-files --modified --others` }.map { |path| path.chomp }
|
73
|
+
else
|
74
|
+
abort "Not a Subversion or Git checkout."
|
75
|
+
end
|
70
76
|
|
71
|
-
models = changed_since_checkin.select { |path| path =~ /app[\\\/]models[\\\/].*\.rb
|
72
|
-
controllers = changed_since_checkin.select { |path| path =~ /app[\\\/]controllers[\\\/].*\.rb
|
77
|
+
models = changed_since_checkin.select { |path| path =~ /app[\\\/]models[\\\/].*\.rb$/ }
|
78
|
+
controllers = changed_since_checkin.select { |path| path =~ /app[\\\/]controllers[\\\/].*\.rb$/ }
|
73
79
|
|
74
80
|
unit_tests = models.map { |model| "test/unit/#{File.basename(model, '.rb')}_test.rb" }
|
75
81
|
functional_tests = controllers.map { |controller| "test/functional/#{File.basename(controller, '.rb')}_test.rb" }
|
@@ -80,7 +86,7 @@ namespace :test do
|
|
80
86
|
t.libs << 'test'
|
81
87
|
t.verbose = true
|
82
88
|
end
|
83
|
-
Rake::Task['test:uncommitted'].comment = "Test changes since last checkin (only Subversion)"
|
89
|
+
Rake::Task['test:uncommitted'].comment = "Test changes since last checkin (only Subversion and Git)"
|
84
90
|
|
85
91
|
Rake::TestTask.new(:units => "db:test:prepare") do |t|
|
86
92
|
t.libs << "test"
|
@@ -103,6 +109,21 @@ namespace :test do
|
|
103
109
|
end
|
104
110
|
Rake::Task['test:integration'].comment = "Run the integration tests in test/integration"
|
105
111
|
|
112
|
+
Rake::TestTask.new(:benchmark => 'db:test:prepare') do |t|
|
113
|
+
t.libs << 'test'
|
114
|
+
t.pattern = 'test/performance/**/*_test.rb'
|
115
|
+
t.verbose = true
|
116
|
+
t.options = '-- --benchmark'
|
117
|
+
end
|
118
|
+
Rake::Task['test:benchmark'].comment = 'Benchmark the performance tests'
|
119
|
+
|
120
|
+
Rake::TestTask.new(:profile => 'db:test:prepare') do |t|
|
121
|
+
t.libs << 'test'
|
122
|
+
t.pattern = 'test/performance/**/*_test.rb'
|
123
|
+
t.verbose = true
|
124
|
+
end
|
125
|
+
Rake::Task['test:profile'].comment = 'Profile the performance tests'
|
126
|
+
|
106
127
|
Rake::TestTask.new(:plugins => :environment) do |t|
|
107
128
|
t.libs << "test"
|
108
129
|
|
data/lib/test_help.rb
CHANGED
@@ -8,7 +8,6 @@ require 'test/unit'
|
|
8
8
|
require 'active_support/test_case'
|
9
9
|
require 'active_record/fixtures'
|
10
10
|
require 'action_controller/test_case'
|
11
|
-
require 'action_controller/test_process'
|
12
11
|
require 'action_controller/integration'
|
13
12
|
require 'action_mailer/test_case' if defined?(ActionMailer)
|
14
13
|
|
@@ -25,4 +24,4 @@ begin
|
|
25
24
|
Debugger.settings[:autoeval] = true if Debugger.respond_to?(:settings)
|
26
25
|
rescue LoadError
|
27
26
|
# ruby-debug wasn't available so neither can the debugging be
|
28
|
-
end
|
27
|
+
end
|
data/lib/webrick_server.rb
CHANGED
@@ -43,8 +43,6 @@ end
|
|
43
43
|
# can change this behavior by setting ActionController::Base.allow_concurrency
|
44
44
|
# to true.
|
45
45
|
class DispatchServlet < WEBrick::HTTPServlet::AbstractServlet
|
46
|
-
REQUEST_MUTEX = Mutex.new
|
47
|
-
|
48
46
|
# Start the WEBrick server with the given options, mounting the
|
49
47
|
# DispatchServlet at <tt>/</tt>.
|
50
48
|
def self.dispatch(options = {})
|
@@ -73,15 +71,8 @@ class DispatchServlet < WEBrick::HTTPServlet::AbstractServlet
|
|
73
71
|
|
74
72
|
def service(req, res) #:nodoc:
|
75
73
|
unless handle_file(req, res)
|
76
|
-
|
77
|
-
|
78
|
-
unless handle_dispatch(req, res)
|
79
|
-
raise WEBrick::HTTPStatus::NotFound, "`#{req.path}' not found."
|
80
|
-
end
|
81
|
-
ensure
|
82
|
-
unless ActionController::Base.allow_concurrency
|
83
|
-
REQUEST_MUTEX.unlock if REQUEST_MUTEX.locked?
|
84
|
-
end
|
74
|
+
unless handle_dispatch(req, res)
|
75
|
+
raise WEBrick::HTTPStatus::NotFound, "`#{req.path}' not found."
|
85
76
|
end
|
86
77
|
end
|
87
78
|
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.
|
4
|
+
version: 2.2.2
|
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: 2008-
|
12
|
+
date: 2008-11-21 00:00:00 +01:00
|
13
13
|
default_executable: rails
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.8.
|
23
|
+
version: 0.8.3
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: activesupport
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.2.2
|
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.
|
43
|
+
version: 2.2.2
|
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.
|
53
|
+
version: 2.2.2
|
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.
|
63
|
+
version: 2.2.2
|
64
64
|
version:
|
65
65
|
- !ruby/object:Gem::Dependency
|
66
66
|
name: activeresource
|
@@ -70,7 +70,7 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - "="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: 2.
|
73
|
+
version: 2.2.2
|
74
74
|
version:
|
75
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.
|
76
76
|
email: david@loudthinking.com
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- bin
|
85
85
|
- builtin
|
86
86
|
- CHANGELOG
|
87
|
+
- config.ru
|
87
88
|
- configs
|
88
89
|
- dispatches
|
89
90
|
- doc
|
@@ -93,6 +94,7 @@ files:
|
|
93
94
|
- html
|
94
95
|
- lib
|
95
96
|
- MIT-LICENSE
|
97
|
+
- pkg
|
96
98
|
- Rakefile
|
97
99
|
- README
|
98
100
|
- bin/about
|
@@ -121,6 +123,7 @@ files:
|
|
121
123
|
- configs/apache.conf
|
122
124
|
- configs/databases
|
123
125
|
- configs/databases/frontbase.yml
|
126
|
+
- configs/databases/ibm_db.yml
|
124
127
|
- configs/databases/mysql.yml
|
125
128
|
- configs/databases/oracle.yml
|
126
129
|
- configs/databases/postgresql.yml
|
@@ -132,7 +135,146 @@ files:
|
|
132
135
|
- configs/initializers/mime_types.rb
|
133
136
|
- configs/initializers/new_rails_defaults.rb
|
134
137
|
- configs/lighttpd.conf
|
138
|
+
- configs/locales
|
139
|
+
- configs/locales/en.yml
|
135
140
|
- configs/routes.rb
|
141
|
+
- doc/guides
|
142
|
+
- doc/guides/html
|
143
|
+
- doc/guides/html/2_2_release_notes.html
|
144
|
+
- doc/guides/html/actioncontroller_basics.html
|
145
|
+
- doc/guides/html/activerecord_validations_callbacks.html
|
146
|
+
- doc/guides/html/association_basics.html
|
147
|
+
- doc/guides/html/authors.html
|
148
|
+
- doc/guides/html/benchmarking_and_profiling.html
|
149
|
+
- doc/guides/html/caching_with_rails.html
|
150
|
+
- doc/guides/html/command_line.html
|
151
|
+
- doc/guides/html/configuring.html
|
152
|
+
- doc/guides/html/creating_plugins.html
|
153
|
+
- doc/guides/html/debugging_rails_applications.html
|
154
|
+
- doc/guides/html/finders.html
|
155
|
+
- doc/guides/html/form_helpers.html
|
156
|
+
- doc/guides/html/getting_started_with_rails.html
|
157
|
+
- doc/guides/html/index.html
|
158
|
+
- doc/guides/html/layouts_and_rendering.html
|
159
|
+
- doc/guides/html/migrations.html
|
160
|
+
- doc/guides/html/routing_outside_in.html
|
161
|
+
- doc/guides/html/security.html
|
162
|
+
- doc/guides/html/testing_rails_applications.html
|
163
|
+
- doc/guides/source
|
164
|
+
- doc/guides/source/2_2_release_notes.txt
|
165
|
+
- doc/guides/source/actioncontroller_basics
|
166
|
+
- doc/guides/source/actioncontroller_basics/changelog.txt
|
167
|
+
- doc/guides/source/actioncontroller_basics/cookies.txt
|
168
|
+
- doc/guides/source/actioncontroller_basics/csrf.txt
|
169
|
+
- doc/guides/source/actioncontroller_basics/filters.txt
|
170
|
+
- doc/guides/source/actioncontroller_basics/http_auth.txt
|
171
|
+
- doc/guides/source/actioncontroller_basics/index.txt
|
172
|
+
- doc/guides/source/actioncontroller_basics/introduction.txt
|
173
|
+
- doc/guides/source/actioncontroller_basics/methods.txt
|
174
|
+
- doc/guides/source/actioncontroller_basics/parameter_filtering.txt
|
175
|
+
- doc/guides/source/actioncontroller_basics/params.txt
|
176
|
+
- doc/guides/source/actioncontroller_basics/request_response_objects.txt
|
177
|
+
- doc/guides/source/actioncontroller_basics/rescue.txt
|
178
|
+
- doc/guides/source/actioncontroller_basics/session.txt
|
179
|
+
- doc/guides/source/actioncontroller_basics/streaming.txt
|
180
|
+
- doc/guides/source/actioncontroller_basics/verification.txt
|
181
|
+
- doc/guides/source/active_record_basics.txt
|
182
|
+
- doc/guides/source/activerecord_validations_callbacks.txt
|
183
|
+
- doc/guides/source/association_basics.txt
|
184
|
+
- doc/guides/source/authors.txt
|
185
|
+
- doc/guides/source/benchmarking_and_profiling
|
186
|
+
- doc/guides/source/benchmarking_and_profiling/appendix.txt
|
187
|
+
- doc/guides/source/benchmarking_and_profiling/digging_deeper.txt
|
188
|
+
- doc/guides/source/benchmarking_and_profiling/edge_rails_features.txt
|
189
|
+
- doc/guides/source/benchmarking_and_profiling/gameplan.txt
|
190
|
+
- doc/guides/source/benchmarking_and_profiling/index.txt
|
191
|
+
- doc/guides/source/benchmarking_and_profiling/rubyprof.txt
|
192
|
+
- doc/guides/source/benchmarking_and_profiling/statistics.txt
|
193
|
+
- doc/guides/source/caching_with_rails.txt
|
194
|
+
- doc/guides/source/command_line.txt
|
195
|
+
- doc/guides/source/configuring.txt
|
196
|
+
- doc/guides/source/creating_plugins
|
197
|
+
- doc/guides/source/creating_plugins/acts_as_yaffle.txt
|
198
|
+
- doc/guides/source/creating_plugins/appendix.txt
|
199
|
+
- doc/guides/source/creating_plugins/controllers.txt
|
200
|
+
- doc/guides/source/creating_plugins/core_ext.txt
|
201
|
+
- doc/guides/source/creating_plugins/custom_route.txt
|
202
|
+
- doc/guides/source/creating_plugins/gem.txt
|
203
|
+
- doc/guides/source/creating_plugins/generator_method.txt
|
204
|
+
- doc/guides/source/creating_plugins/helpers.txt
|
205
|
+
- doc/guides/source/creating_plugins/index.txt
|
206
|
+
- doc/guides/source/creating_plugins/migration_generator.txt
|
207
|
+
- doc/guides/source/creating_plugins/models.txt
|
208
|
+
- doc/guides/source/creating_plugins/odds_and_ends.txt
|
209
|
+
- doc/guides/source/creating_plugins/test_setup.txt
|
210
|
+
- doc/guides/source/debugging_rails_applications.txt
|
211
|
+
- doc/guides/source/finders.txt
|
212
|
+
- doc/guides/source/form_helpers.txt
|
213
|
+
- doc/guides/source/getting_started_with_rails.txt
|
214
|
+
- doc/guides/source/images
|
215
|
+
- doc/guides/source/images/belongs_to.png
|
216
|
+
- doc/guides/source/images/bullet.gif
|
217
|
+
- doc/guides/source/images/csrf.png
|
218
|
+
- doc/guides/source/images/habtm.png
|
219
|
+
- doc/guides/source/images/has_many.png
|
220
|
+
- doc/guides/source/images/has_many_through.png
|
221
|
+
- doc/guides/source/images/has_one.png
|
222
|
+
- doc/guides/source/images/has_one_through.png
|
223
|
+
- doc/guides/source/images/header_backdrop.png
|
224
|
+
- doc/guides/source/images/icons
|
225
|
+
- doc/guides/source/images/icons/callouts
|
226
|
+
- doc/guides/source/images/icons/callouts/1.png
|
227
|
+
- doc/guides/source/images/icons/callouts/10.png
|
228
|
+
- doc/guides/source/images/icons/callouts/11.png
|
229
|
+
- doc/guides/source/images/icons/callouts/12.png
|
230
|
+
- doc/guides/source/images/icons/callouts/13.png
|
231
|
+
- doc/guides/source/images/icons/callouts/14.png
|
232
|
+
- doc/guides/source/images/icons/callouts/15.png
|
233
|
+
- doc/guides/source/images/icons/callouts/2.png
|
234
|
+
- doc/guides/source/images/icons/callouts/3.png
|
235
|
+
- doc/guides/source/images/icons/callouts/4.png
|
236
|
+
- doc/guides/source/images/icons/callouts/5.png
|
237
|
+
- doc/guides/source/images/icons/callouts/6.png
|
238
|
+
- doc/guides/source/images/icons/callouts/7.png
|
239
|
+
- doc/guides/source/images/icons/callouts/8.png
|
240
|
+
- doc/guides/source/images/icons/callouts/9.png
|
241
|
+
- doc/guides/source/images/icons/caution.png
|
242
|
+
- doc/guides/source/images/icons/example.png
|
243
|
+
- doc/guides/source/images/icons/home.png
|
244
|
+
- doc/guides/source/images/icons/important.png
|
245
|
+
- doc/guides/source/images/icons/next.png
|
246
|
+
- doc/guides/source/images/icons/note.png
|
247
|
+
- doc/guides/source/images/icons/prev.png
|
248
|
+
- doc/guides/source/images/icons/README
|
249
|
+
- doc/guides/source/images/icons/tip.png
|
250
|
+
- doc/guides/source/images/icons/up.png
|
251
|
+
- doc/guides/source/images/icons/warning.png
|
252
|
+
- doc/guides/source/images/polymorphic.png
|
253
|
+
- doc/guides/source/images/rails_logo_remix.gif
|
254
|
+
- doc/guides/source/images/ruby_on_rails_by_mike_rundle2.gif
|
255
|
+
- doc/guides/source/images/session_fixation.png
|
256
|
+
- doc/guides/source/index.txt
|
257
|
+
- doc/guides/source/layouts_and_rendering.txt
|
258
|
+
- doc/guides/source/migrations
|
259
|
+
- doc/guides/source/migrations/anatomy_of_a_migration.txt
|
260
|
+
- doc/guides/source/migrations/changelog.txt
|
261
|
+
- doc/guides/source/migrations/creating_a_migration.txt
|
262
|
+
- doc/guides/source/migrations/foreign_keys.txt
|
263
|
+
- doc/guides/source/migrations/index.txt
|
264
|
+
- doc/guides/source/migrations/rakeing_around.txt
|
265
|
+
- doc/guides/source/migrations/scheming.txt
|
266
|
+
- doc/guides/source/migrations/using_models_in_migrations.txt
|
267
|
+
- doc/guides/source/migrations/writing_a_migration.txt
|
268
|
+
- doc/guides/source/routing_outside_in.txt
|
269
|
+
- doc/guides/source/security.txt
|
270
|
+
- doc/guides/source/stylesheets
|
271
|
+
- doc/guides/source/stylesheets/base.css
|
272
|
+
- doc/guides/source/stylesheets/forms.css
|
273
|
+
- doc/guides/source/stylesheets/more.css
|
274
|
+
- doc/guides/source/templates
|
275
|
+
- doc/guides/source/templates/guides.html.erb
|
276
|
+
- doc/guides/source/templates/inline.css
|
277
|
+
- doc/guides/source/testing_rails_applications.txt
|
136
278
|
- doc/README_FOR_APP
|
137
279
|
- dispatches/dispatch.fcgi
|
138
280
|
- dispatches/dispatch.rb
|
@@ -144,6 +286,7 @@ files:
|
|
144
286
|
- environments/test.rb
|
145
287
|
- helpers/application.rb
|
146
288
|
- helpers/application_helper.rb
|
289
|
+
- helpers/performance_test.rb
|
147
290
|
- helpers/test_helper.rb
|
148
291
|
- html/404.html
|
149
292
|
- html/422.html
|
@@ -186,6 +329,7 @@ files:
|
|
186
329
|
- lib/commands/servers/lighttpd.rb
|
187
330
|
- lib/commands/servers/mongrel.rb
|
188
331
|
- lib/commands/servers/new_mongrel.rb
|
332
|
+
- lib/commands/servers/thin.rb
|
189
333
|
- lib/commands/servers/webrick.rb
|
190
334
|
- lib/commands/update.rb
|
191
335
|
- lib/commands.rb
|
@@ -195,6 +339,7 @@ files:
|
|
195
339
|
- lib/dispatcher.rb
|
196
340
|
- lib/fcgi_handler.rb
|
197
341
|
- lib/initializer.rb
|
342
|
+
- lib/performance_test_help.rb
|
198
343
|
- lib/rails
|
199
344
|
- lib/rails/gem_builder.rb
|
200
345
|
- lib/rails/gem_dependency.rb
|
@@ -205,6 +350,11 @@ files:
|
|
205
350
|
- lib/rails/plugin/loader.rb
|
206
351
|
- lib/rails/plugin/locator.rb
|
207
352
|
- lib/rails/plugin.rb
|
353
|
+
- lib/rails/rack
|
354
|
+
- lib/rails/rack/logger.rb
|
355
|
+
- lib/rails/rack/static.rb
|
356
|
+
- lib/rails/rack.rb
|
357
|
+
- lib/rails/vendor_gem_source_index.rb
|
208
358
|
- lib/rails/version.rb
|
209
359
|
- lib/rails_generator
|
210
360
|
- lib/rails_generator/base.rb
|
@@ -258,6 +408,11 @@ files:
|
|
258
408
|
- lib/rails_generator/generators/components/observer/templates/observer.rb
|
259
409
|
- lib/rails_generator/generators/components/observer/templates/unit_test.rb
|
260
410
|
- lib/rails_generator/generators/components/observer/USAGE
|
411
|
+
- lib/rails_generator/generators/components/performance_test
|
412
|
+
- lib/rails_generator/generators/components/performance_test/performance_test_generator.rb
|
413
|
+
- lib/rails_generator/generators/components/performance_test/templates
|
414
|
+
- lib/rails_generator/generators/components/performance_test/templates/performance_test.rb
|
415
|
+
- lib/rails_generator/generators/components/performance_test/USAGE
|
261
416
|
- lib/rails_generator/generators/components/plugin
|
262
417
|
- lib/rails_generator/generators/components/plugin/plugin_generator.rb
|
263
418
|
- lib/rails_generator/generators/components/plugin/templates
|
@@ -269,6 +424,7 @@ files:
|
|
269
424
|
- lib/rails_generator/generators/components/plugin/templates/Rakefile
|
270
425
|
- lib/rails_generator/generators/components/plugin/templates/README
|
271
426
|
- lib/rails_generator/generators/components/plugin/templates/tasks.rake
|
427
|
+
- lib/rails_generator/generators/components/plugin/templates/test_helper.rb
|
272
428
|
- lib/rails_generator/generators/components/plugin/templates/uninstall.rb
|
273
429
|
- lib/rails_generator/generators/components/plugin/templates/unit_test.rb
|
274
430
|
- lib/rails_generator/generators/components/plugin/templates/USAGE
|
@@ -352,7 +508,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
352
508
|
requirements: []
|
353
509
|
|
354
510
|
rubyforge_project: rails
|
355
|
-
rubygems_version: 1.3.
|
511
|
+
rubygems_version: 1.3.1
|
356
512
|
signing_key:
|
357
513
|
specification_version: 2
|
358
514
|
summary: Web-application framework with template engine, control-flow layer, and ORM.
|