rails 1.2.3 → 1.2.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 +18 -1
- data/Rakefile +6 -6
- data/environments/boot.rb +1 -10
- data/lib/dispatcher.rb +1 -2
- data/lib/initializer.rb +33 -9
- data/lib/rails/version.rb +1 -1
- data/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +1 -1
- data/lib/railties_path.rb +1 -1
- data/lib/tasks/framework.rake +4 -4
- data/lib/tasks/routes.rake +17 -0
- metadata +74 -73
data/CHANGELOG
CHANGED
@@ -1,6 +1,23 @@
|
|
1
|
+
*1.2.4* (October 4th, 2007)
|
2
|
+
|
3
|
+
* Add a new rake task to aid debugging of named routes.
|
4
|
+
|
5
|
+
rake routes
|
6
|
+
|
7
|
+
* use Gem.find_name instead of search when freezing gems. Prevent false positives for other gems with rails in the name. Closes #8729 [wselman]
|
8
|
+
|
9
|
+
* Fix syntax error in dispatcher than wrecked failsafe responses. #8625 [mtitorenko]
|
10
|
+
|
11
|
+
* Add Active Resource to rails:freeze:edge and drop Action Web Service. #8205 [underbluewaters, Jeremy Kemper]
|
12
|
+
|
13
|
+
* Give generate scaffold a more descriptive database message. Closes #7316 [jeremymcanally]
|
14
|
+
|
15
|
+
* Canonicalize RAILS_ROOT by using File.expand_path on Windows, which doesn't have to worry about symlinks, and Pathname#realpath elsewhere, which respects symlinks in relative paths but is incompatible with Windows. #6755 [Jeremy Kemper, trevor]
|
16
|
+
|
17
|
+
|
1
18
|
*1.2.3* (March 12th, 2007)
|
2
19
|
|
3
|
-
* Ruby 1.8.6 compatibility
|
20
|
+
* Ruby 1.8.6 compatibility fixes. Upgrade rake dependency to 0.7.2.
|
4
21
|
|
5
22
|
* Windows: include MinGW in RUBY_PLATFORM check. #2982 [okkez000@gmail.com, Kaspar Schiess]
|
6
23
|
|
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.2')
|
291
|
-
s.add_dependency('activesupport', '= 1.4.
|
292
|
-
s.add_dependency('activerecord', '= 1.15.
|
293
|
-
s.add_dependency('actionpack', '= 1.13.
|
294
|
-
s.add_dependency('actionmailer', '= 1.3.
|
295
|
-
s.add_dependency('actionwebservice', '= 1.2.
|
291
|
+
s.add_dependency('activesupport', '= 1.4.3' + PKG_BUILD)
|
292
|
+
s.add_dependency('activerecord', '= 1.15.4' + PKG_BUILD)
|
293
|
+
s.add_dependency('actionpack', '= 1.13.4' + PKG_BUILD)
|
294
|
+
s.add_dependency('actionmailer', '= 1.3.4' + PKG_BUILD)
|
295
|
+
s.add_dependency('actionwebservice', '= 1.2.4' + PKG_BUILD)
|
296
296
|
|
297
297
|
s.rdoc_options << '--exclude' << '.'
|
298
298
|
s.has_rdoc = false
|
@@ -326,7 +326,7 @@ desc "Publish the release files to RubyForge."
|
|
326
326
|
task :release => [ :package ] do
|
327
327
|
require 'rubyforge'
|
328
328
|
|
329
|
-
packages = %w( gem
|
329
|
+
packages = %w( gem ).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" }
|
330
330
|
|
331
331
|
rubyforge = RubyForge.new
|
332
332
|
rubyforge.login
|
data/environments/boot.rb
CHANGED
@@ -1,15 +1,6 @@
|
|
1
1
|
# Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rb
|
2
2
|
|
3
|
-
unless defined?(RAILS_ROOT)
|
4
|
-
root_path = File.join(File.dirname(__FILE__), '..')
|
5
|
-
|
6
|
-
unless RUBY_PLATFORM =~ /(:?mswin|mingw)/
|
7
|
-
require 'pathname'
|
8
|
-
root_path = Pathname.new(root_path).cleanpath(true).to_s
|
9
|
-
end
|
10
|
-
|
11
|
-
RAILS_ROOT = root_path
|
12
|
-
end
|
3
|
+
RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
|
13
4
|
|
14
5
|
unless defined?(Rails::Initializer)
|
15
6
|
if File.directory?("#{RAILS_ROOT}/vendor/rails")
|
data/lib/dispatcher.rb
CHANGED
@@ -42,8 +42,7 @@ class Dispatcher
|
|
42
42
|
end
|
43
43
|
rescue Exception => exception # errors from CGI dispatch
|
44
44
|
failsafe_response(output, '500 Internal Server Error', exception) do
|
45
|
-
controller ||= ApplicationController rescue
|
46
|
-
controller ||= ActionController::Base
|
45
|
+
controller ||= (ApplicationController rescue ActionController::Base)
|
47
46
|
controller.process_with_exception(request, response, exception).out(output)
|
48
47
|
end
|
49
48
|
ensure
|
data/lib/initializer.rb
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
require 'logger'
|
2
2
|
require 'set'
|
3
|
-
require
|
4
|
-
|
3
|
+
require 'pathname'
|
4
|
+
|
5
|
+
$LOAD_PATH.unshift File.dirname(__FILE__)
|
6
|
+
require 'railties_path'
|
7
|
+
require 'rails/version'
|
8
|
+
|
5
9
|
|
6
10
|
RAILS_ENV = (ENV['RAILS_ENV'] || 'development').dup unless defined?(RAILS_ENV)
|
7
11
|
|
@@ -191,7 +195,7 @@ module Rails
|
|
191
195
|
raise(LoadError, "Cannot find the plugin '#{name}'!") if path.nil?
|
192
196
|
load_plugin path
|
193
197
|
end
|
194
|
-
end
|
198
|
+
end
|
195
199
|
$LOAD_PATH.uniq!
|
196
200
|
end
|
197
201
|
|
@@ -201,7 +205,9 @@ module Rails
|
|
201
205
|
silence_warnings do
|
202
206
|
config = configuration
|
203
207
|
constants = self.class.constants
|
208
|
+
|
204
209
|
eval(IO.read(configuration.environment_path), binding, configuration.environment_path)
|
210
|
+
|
205
211
|
(self.class.constants - constants).each do |const|
|
206
212
|
Object.const_set(const, self.class.const_get(const))
|
207
213
|
end
|
@@ -307,10 +313,10 @@ module Rails
|
|
307
313
|
|
308
314
|
def initialize_temporary_directories
|
309
315
|
if configuration.frameworks.include?(:action_controller)
|
310
|
-
session_path = "#{
|
316
|
+
session_path = "#{configuration.root_path}/tmp/sessions/"
|
311
317
|
ActionController::Base.session_options[:tmpdir] = File.exist?(session_path) ? session_path : Dir::tmpdir
|
312
318
|
|
313
|
-
cache_path = "#{
|
319
|
+
cache_path = "#{configuration.root_path}/tmp/cache/"
|
314
320
|
if File.exist?(cache_path)
|
315
321
|
ActionController::Base.fragment_cache_store = :file_store, cache_path
|
316
322
|
end
|
@@ -414,6 +420,9 @@ module Rails
|
|
414
420
|
# config = Rails::Configuration.new
|
415
421
|
# Rails::Initializer.run(:process, config)
|
416
422
|
class Configuration
|
423
|
+
# The application's base directory.
|
424
|
+
attr_reader :root_path
|
425
|
+
|
417
426
|
# A stub for setting options on ActionController::Base
|
418
427
|
attr_accessor :action_controller
|
419
428
|
|
@@ -497,6 +506,8 @@ module Rails
|
|
497
506
|
# Create a new Configuration instance, initialized with the default
|
498
507
|
# values.
|
499
508
|
def initialize
|
509
|
+
set_root_path!
|
510
|
+
|
500
511
|
self.frameworks = default_frameworks
|
501
512
|
self.load_paths = default_load_paths
|
502
513
|
self.load_once_paths = default_load_once_paths
|
@@ -516,6 +527,23 @@ module Rails
|
|
516
527
|
end
|
517
528
|
end
|
518
529
|
|
530
|
+
# Set the root_path to RAILS_ROOT and canonicalize it.
|
531
|
+
def set_root_path!
|
532
|
+
raise 'RAILS_ROOT is not set' unless defined?(::RAILS_ROOT)
|
533
|
+
raise 'RAILS_ROOT is not a directory' unless File.directory?(::RAILS_ROOT)
|
534
|
+
|
535
|
+
@root_path =
|
536
|
+
# Pathname is incompatible with Windows, but Windows doesn't have
|
537
|
+
# real symlinks so File.expand_path is safe.
|
538
|
+
if RUBY_PLATFORM =~ /(:?mswin|mingw)/
|
539
|
+
File.expand_path(::RAILS_ROOT)
|
540
|
+
|
541
|
+
# Otherwise use Pathname#realpath which respects symlinks.
|
542
|
+
else
|
543
|
+
Pathname.new(::RAILS_ROOT).realpath.to_s
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
519
547
|
# Loads and returns the contents of the #database_configuration_file. The
|
520
548
|
# contents of the file are processed via ERB before being sent through
|
521
549
|
# YAML::load.
|
@@ -575,10 +603,6 @@ module Rails
|
|
575
603
|
end
|
576
604
|
|
577
605
|
private
|
578
|
-
def root_path
|
579
|
-
::RAILS_ROOT
|
580
|
-
end
|
581
|
-
|
582
606
|
def framework_root_path
|
583
607
|
defined?(::RAILS_FRAMEWORK_ROOT) ? ::RAILS_FRAMEWORK_ROOT : "#{root_path}/vendor/rails"
|
584
608
|
end
|
data/lib/rails/version.rb
CHANGED
@@ -173,7 +173,7 @@ class ScaffoldGenerator < Rails::Generator::NamedBase
|
|
173
173
|
sandbox.model_instance = model_instance
|
174
174
|
sandbox.instance_variable_set("@#{singular_name}", sandbox.model_instance)
|
175
175
|
rescue ActiveRecord::StatementInvalid => e
|
176
|
-
logger.error "Before updating scaffolding from new DB schema, try creating a table for your model (#{class_name})"
|
176
|
+
logger.error "Before updating scaffolding from new DB schema, try creating a table for your model (#{class_name}) named #{class_name.tableize}."
|
177
177
|
raise SystemExit
|
178
178
|
end
|
179
179
|
sandbox.suffix = suffix
|
data/lib/railties_path.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
RAILTIES_PATH = File.
|
1
|
+
RAILTIES_PATH = File.join(File.dirname(__FILE__), '..')
|
data/lib/tasks/framework.rake
CHANGED
@@ -7,8 +7,8 @@ namespace :rails do
|
|
7
7
|
Gem.manage_gems
|
8
8
|
|
9
9
|
rails = (version = ENV['VERSION']) ?
|
10
|
-
Gem.cache.
|
11
|
-
Gem.cache.
|
10
|
+
Gem.cache.find_name('rails', "= #{version}").first :
|
11
|
+
Gem.cache.find_name('rails').sort_by { |g| g.version }.last
|
12
12
|
|
13
13
|
version ||= rails.version
|
14
14
|
|
@@ -59,8 +59,8 @@ namespace :rails do
|
|
59
59
|
|
60
60
|
touch "vendor/rails/REVISION_#{ENV['REVISION']}"
|
61
61
|
end
|
62
|
-
|
63
|
-
for framework in %w(
|
62
|
+
|
63
|
+
for framework in %w(railties actionpack activerecord actionmailer activesupport activeresource)
|
64
64
|
system "svn export #{rails_svn}/#{framework} vendor/rails/#{framework}" + (ENV['REVISION'] ? " -r #{ENV['REVISION']}" : "")
|
65
65
|
end
|
66
66
|
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
desc 'Print out all defined routes in match order, with names.'
|
2
|
+
task :routes => :environment do
|
3
|
+
routes = ActionController::Routing::Routes.routes.collect do |route|
|
4
|
+
name = ActionController::Routing::Routes.named_routes.routes.index(route).to_s
|
5
|
+
verb = route.conditions[:method].to_s.upcase
|
6
|
+
segs = route.segments.inject("") { |str,s| str << s.to_s }
|
7
|
+
segs.chop! if segs.length > 1
|
8
|
+
reqs = route.requirements.empty? ? "" : route.requirements.inspect
|
9
|
+
{:name => name, :verb => verb, :segs => segs, :reqs => reqs}
|
10
|
+
end
|
11
|
+
name_width = routes.collect {|r| r[:name]}.collect {|n| n.length}.max
|
12
|
+
verb_width = routes.collect {|r| r[:verb]}.collect {|v| v.length}.max
|
13
|
+
segs_width = routes.collect {|r| r[:segs]}.collect {|s| s.length}.max
|
14
|
+
routes.each do |r|
|
15
|
+
puts "#{r[:name].rjust(name_width)} #{r[:verb].ljust(verb_width)} #{r[:segs].ljust(segs_width)} #{r[:reqs]}"
|
16
|
+
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.
|
2
|
+
rubygems_version: 0.9.4
|
3
3
|
specification_version: 1
|
4
4
|
name: rails
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.2.
|
7
|
-
date: 2007-
|
6
|
+
version: 1.2.4
|
7
|
+
date: 2007-10-04 00:00:00 -05:00
|
8
8
|
summary: Web-application framework with template engine, control-flow layer, and ORM.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -49,33 +49,33 @@ files:
|
|
49
49
|
- bin/destroy
|
50
50
|
- bin/generate
|
51
51
|
- bin/performance
|
52
|
-
- bin/plugin
|
53
|
-
- bin/process
|
54
|
-
- bin/rails
|
55
|
-
- bin/runner
|
56
|
-
- bin/server
|
57
52
|
- bin/performance/benchmarker
|
58
53
|
- bin/performance/profiler
|
54
|
+
- bin/plugin
|
55
|
+
- bin/process
|
59
56
|
- bin/process/inspector
|
60
57
|
- bin/process/reaper
|
61
58
|
- bin/process/spawner
|
59
|
+
- bin/rails
|
60
|
+
- bin/runner
|
61
|
+
- bin/server
|
62
62
|
- builtin/rails_info
|
63
63
|
- builtin/rails_info/rails
|
64
|
-
- builtin/rails_info/rails_info_controller.rb
|
65
64
|
- builtin/rails_info/rails/info.rb
|
66
65
|
- builtin/rails_info/rails/info_controller.rb
|
67
66
|
- builtin/rails_info/rails/info_helper.rb
|
67
|
+
- builtin/rails_info/rails_info_controller.rb
|
68
68
|
- configs/apache.conf
|
69
69
|
- configs/databases
|
70
|
-
- configs/empty.log
|
71
|
-
- configs/lighttpd.conf
|
72
|
-
- configs/routes.rb
|
73
70
|
- configs/databases/frontbase.yml
|
74
71
|
- configs/databases/mysql.yml
|
75
72
|
- configs/databases/oracle.yml
|
76
73
|
- configs/databases/postgresql.yml
|
77
74
|
- configs/databases/sqlite2.yml
|
78
75
|
- configs/databases/sqlite3.yml
|
76
|
+
- configs/empty.log
|
77
|
+
- configs/lighttpd.conf
|
78
|
+
- configs/routes.rb
|
79
79
|
- doc/README_FOR_APP
|
80
80
|
- dispatches/dispatch.fcgi
|
81
81
|
- dispatches/dispatch.rb
|
@@ -92,127 +92,107 @@ files:
|
|
92
92
|
- html/500.html
|
93
93
|
- html/favicon.ico
|
94
94
|
- html/images
|
95
|
+
- html/images/rails.png
|
95
96
|
- html/index.html
|
96
97
|
- html/javascripts
|
97
|
-
- html/robots.txt
|
98
|
-
- html/images/rails.png
|
99
98
|
- html/javascripts/application.js
|
100
99
|
- html/javascripts/controls.js
|
101
100
|
- html/javascripts/dragdrop.js
|
102
101
|
- html/javascripts/effects.js
|
103
102
|
- html/javascripts/prototype.js
|
103
|
+
- html/robots.txt
|
104
104
|
- lib/binding_of_caller.rb
|
105
105
|
- lib/breakpoint.rb
|
106
106
|
- lib/breakpoint_client.rb
|
107
107
|
- lib/code_statistics.rb
|
108
108
|
- lib/commands
|
109
|
-
- lib/commands.rb
|
110
|
-
- lib/console_app.rb
|
111
|
-
- lib/console_sandbox.rb
|
112
|
-
- lib/console_with_helpers.rb
|
113
|
-
- lib/dispatcher.rb
|
114
|
-
- lib/fcgi_handler.rb
|
115
|
-
- lib/initializer.rb
|
116
|
-
- lib/rails
|
117
|
-
- lib/rails_generator
|
118
|
-
- lib/rails_generator.rb
|
119
|
-
- lib/railties_path.rb
|
120
|
-
- lib/ruby_version_check.rb
|
121
|
-
- lib/rubyprof_ext.rb
|
122
|
-
- lib/tasks
|
123
|
-
- lib/test_help.rb
|
124
|
-
- lib/webrick_server.rb
|
125
109
|
- lib/commands/about.rb
|
126
110
|
- lib/commands/breakpointer.rb
|
127
111
|
- lib/commands/console.rb
|
128
112
|
- lib/commands/destroy.rb
|
129
113
|
- lib/commands/generate.rb
|
130
114
|
- lib/commands/ncgi
|
131
|
-
- lib/commands/performance
|
132
|
-
- lib/commands/plugin.rb
|
133
|
-
- lib/commands/process
|
134
|
-
- lib/commands/runner.rb
|
135
|
-
- lib/commands/server.rb
|
136
|
-
- lib/commands/servers
|
137
|
-
- lib/commands/update.rb
|
138
115
|
- lib/commands/ncgi/listener
|
139
116
|
- lib/commands/ncgi/tracker
|
117
|
+
- lib/commands/performance
|
140
118
|
- lib/commands/performance/benchmarker.rb
|
141
119
|
- lib/commands/performance/profiler.rb
|
120
|
+
- lib/commands/plugin.rb
|
121
|
+
- lib/commands/process
|
142
122
|
- lib/commands/process/inspector.rb
|
143
123
|
- lib/commands/process/reaper.rb
|
144
124
|
- lib/commands/process/spawner.rb
|
145
125
|
- lib/commands/process/spinner.rb
|
126
|
+
- lib/commands/runner.rb
|
127
|
+
- lib/commands/server.rb
|
128
|
+
- lib/commands/servers
|
146
129
|
- lib/commands/servers/base.rb
|
147
130
|
- lib/commands/servers/lighttpd.rb
|
148
131
|
- lib/commands/servers/mongrel.rb
|
149
132
|
- lib/commands/servers/webrick.rb
|
133
|
+
- lib/commands/update.rb
|
134
|
+
- lib/commands.rb
|
135
|
+
- lib/console_app.rb
|
136
|
+
- lib/console_sandbox.rb
|
137
|
+
- lib/console_with_helpers.rb
|
138
|
+
- lib/dispatcher.rb
|
139
|
+
- lib/fcgi_handler.rb
|
140
|
+
- lib/initializer.rb
|
141
|
+
- lib/rails
|
150
142
|
- lib/rails/version.rb
|
143
|
+
- lib/rails_generator
|
151
144
|
- lib/rails_generator/base.rb
|
152
145
|
- lib/rails_generator/commands.rb
|
153
146
|
- lib/rails_generator/generated_attribute.rb
|
154
147
|
- lib/rails_generator/generators
|
155
|
-
- lib/rails_generator/lookup.rb
|
156
|
-
- lib/rails_generator/manifest.rb
|
157
|
-
- lib/rails_generator/options.rb
|
158
|
-
- lib/rails_generator/scripts
|
159
|
-
- lib/rails_generator/scripts.rb
|
160
|
-
- lib/rails_generator/simple_logger.rb
|
161
|
-
- lib/rails_generator/spec.rb
|
162
148
|
- lib/rails_generator/generators/applications
|
163
|
-
- lib/rails_generator/generators/components
|
164
149
|
- lib/rails_generator/generators/applications/app
|
165
150
|
- lib/rails_generator/generators/applications/app/app_generator.rb
|
166
151
|
- lib/rails_generator/generators/applications/app/USAGE
|
152
|
+
- lib/rails_generator/generators/components
|
167
153
|
- lib/rails_generator/generators/components/controller
|
168
|
-
- lib/rails_generator/generators/components/integration_test
|
169
|
-
- lib/rails_generator/generators/components/mailer
|
170
|
-
- lib/rails_generator/generators/components/migration
|
171
|
-
- lib/rails_generator/generators/components/model
|
172
|
-
- lib/rails_generator/generators/components/observer
|
173
|
-
- lib/rails_generator/generators/components/plugin
|
174
|
-
- lib/rails_generator/generators/components/resource
|
175
|
-
- lib/rails_generator/generators/components/scaffold
|
176
|
-
- lib/rails_generator/generators/components/scaffold_resource
|
177
|
-
- lib/rails_generator/generators/components/session_migration
|
178
|
-
- lib/rails_generator/generators/components/web_service
|
179
154
|
- lib/rails_generator/generators/components/controller/controller_generator.rb
|
180
155
|
- lib/rails_generator/generators/components/controller/templates
|
181
|
-
- lib/rails_generator/generators/components/controller/USAGE
|
182
156
|
- lib/rails_generator/generators/components/controller/templates/controller.rb
|
183
157
|
- lib/rails_generator/generators/components/controller/templates/functional_test.rb
|
184
158
|
- lib/rails_generator/generators/components/controller/templates/helper.rb
|
185
159
|
- lib/rails_generator/generators/components/controller/templates/view.rhtml
|
160
|
+
- lib/rails_generator/generators/components/controller/USAGE
|
161
|
+
- lib/rails_generator/generators/components/integration_test
|
186
162
|
- lib/rails_generator/generators/components/integration_test/integration_test_generator.rb
|
187
163
|
- lib/rails_generator/generators/components/integration_test/templates
|
188
|
-
- lib/rails_generator/generators/components/integration_test/USAGE
|
189
164
|
- lib/rails_generator/generators/components/integration_test/templates/integration_test.rb
|
165
|
+
- lib/rails_generator/generators/components/integration_test/USAGE
|
166
|
+
- lib/rails_generator/generators/components/mailer
|
190
167
|
- lib/rails_generator/generators/components/mailer/mailer_generator.rb
|
191
168
|
- lib/rails_generator/generators/components/mailer/templates
|
192
|
-
- lib/rails_generator/generators/components/mailer/USAGE
|
193
169
|
- lib/rails_generator/generators/components/mailer/templates/fixture.rhtml
|
194
170
|
- lib/rails_generator/generators/components/mailer/templates/mailer.rb
|
195
171
|
- lib/rails_generator/generators/components/mailer/templates/unit_test.rb
|
196
172
|
- lib/rails_generator/generators/components/mailer/templates/view.rhtml
|
173
|
+
- lib/rails_generator/generators/components/mailer/USAGE
|
174
|
+
- lib/rails_generator/generators/components/migration
|
197
175
|
- lib/rails_generator/generators/components/migration/migration_generator.rb
|
198
176
|
- lib/rails_generator/generators/components/migration/templates
|
199
|
-
- lib/rails_generator/generators/components/migration/USAGE
|
200
177
|
- lib/rails_generator/generators/components/migration/templates/migration.rb
|
178
|
+
- lib/rails_generator/generators/components/migration/USAGE
|
179
|
+
- lib/rails_generator/generators/components/model
|
201
180
|
- lib/rails_generator/generators/components/model/model_generator.rb
|
202
181
|
- lib/rails_generator/generators/components/model/templates
|
203
|
-
- lib/rails_generator/generators/components/model/USAGE
|
204
182
|
- lib/rails_generator/generators/components/model/templates/fixtures.yml
|
205
183
|
- lib/rails_generator/generators/components/model/templates/migration.rb
|
206
184
|
- lib/rails_generator/generators/components/model/templates/model.rb
|
207
185
|
- lib/rails_generator/generators/components/model/templates/unit_test.rb
|
186
|
+
- lib/rails_generator/generators/components/model/USAGE
|
187
|
+
- lib/rails_generator/generators/components/observer
|
208
188
|
- lib/rails_generator/generators/components/observer/observer_generator.rb
|
209
189
|
- lib/rails_generator/generators/components/observer/templates
|
210
|
-
- lib/rails_generator/generators/components/observer/USAGE
|
211
190
|
- lib/rails_generator/generators/components/observer/templates/observer.rb
|
212
191
|
- lib/rails_generator/generators/components/observer/templates/unit_test.rb
|
192
|
+
- lib/rails_generator/generators/components/observer/USAGE
|
193
|
+
- lib/rails_generator/generators/components/plugin
|
213
194
|
- lib/rails_generator/generators/components/plugin/plugin_generator.rb
|
214
195
|
- lib/rails_generator/generators/components/plugin/templates
|
215
|
-
- lib/rails_generator/generators/components/plugin/USAGE
|
216
196
|
- lib/rails_generator/generators/components/plugin/templates/generator.rb
|
217
197
|
- lib/rails_generator/generators/components/plugin/templates/init.rb
|
218
198
|
- lib/rails_generator/generators/components/plugin/templates/install.rb
|
@@ -223,6 +203,8 @@ files:
|
|
223
203
|
- lib/rails_generator/generators/components/plugin/templates/uninstall.rb
|
224
204
|
- lib/rails_generator/generators/components/plugin/templates/unit_test.rb
|
225
205
|
- lib/rails_generator/generators/components/plugin/templates/USAGE
|
206
|
+
- lib/rails_generator/generators/components/plugin/USAGE
|
207
|
+
- lib/rails_generator/generators/components/resource
|
226
208
|
- lib/rails_generator/generators/components/resource/resource_generator.rb
|
227
209
|
- lib/rails_generator/generators/components/resource/templates
|
228
210
|
- lib/rails_generator/generators/components/resource/templates/controller.rb
|
@@ -233,9 +215,9 @@ files:
|
|
233
215
|
- lib/rails_generator/generators/components/resource/templates/model.rb
|
234
216
|
- lib/rails_generator/generators/components/resource/templates/unit_test.rb
|
235
217
|
- lib/rails_generator/generators/components/resource/templates/USAGE
|
218
|
+
- lib/rails_generator/generators/components/scaffold
|
236
219
|
- lib/rails_generator/generators/components/scaffold/scaffold_generator.rb
|
237
220
|
- lib/rails_generator/generators/components/scaffold/templates
|
238
|
-
- lib/rails_generator/generators/components/scaffold/USAGE
|
239
221
|
- lib/rails_generator/generators/components/scaffold/templates/controller.rb
|
240
222
|
- lib/rails_generator/generators/components/scaffold/templates/form.rhtml
|
241
223
|
- lib/rails_generator/generators/components/scaffold/templates/form_scaffolding.rhtml
|
@@ -247,9 +229,10 @@ files:
|
|
247
229
|
- lib/rails_generator/generators/components/scaffold/templates/view_list.rhtml
|
248
230
|
- lib/rails_generator/generators/components/scaffold/templates/view_new.rhtml
|
249
231
|
- lib/rails_generator/generators/components/scaffold/templates/view_show.rhtml
|
232
|
+
- lib/rails_generator/generators/components/scaffold/USAGE
|
233
|
+
- lib/rails_generator/generators/components/scaffold_resource
|
250
234
|
- lib/rails_generator/generators/components/scaffold_resource/scaffold_resource_generator.rb
|
251
235
|
- lib/rails_generator/generators/components/scaffold_resource/templates
|
252
|
-
- lib/rails_generator/generators/components/scaffold_resource/USAGE
|
253
236
|
- lib/rails_generator/generators/components/scaffold_resource/templates/controller.rb
|
254
237
|
- lib/rails_generator/generators/components/scaffold_resource/templates/fixtures.yml
|
255
238
|
- lib/rails_generator/generators/components/scaffold_resource/templates/functional_test.rb
|
@@ -263,19 +246,34 @@ files:
|
|
263
246
|
- lib/rails_generator/generators/components/scaffold_resource/templates/view_index.rhtml
|
264
247
|
- lib/rails_generator/generators/components/scaffold_resource/templates/view_new.rhtml
|
265
248
|
- lib/rails_generator/generators/components/scaffold_resource/templates/view_show.rhtml
|
249
|
+
- lib/rails_generator/generators/components/scaffold_resource/USAGE
|
250
|
+
- lib/rails_generator/generators/components/session_migration
|
266
251
|
- lib/rails_generator/generators/components/session_migration/session_migration_generator.rb
|
267
252
|
- lib/rails_generator/generators/components/session_migration/templates
|
268
|
-
- lib/rails_generator/generators/components/session_migration/USAGE
|
269
253
|
- lib/rails_generator/generators/components/session_migration/templates/migration.rb
|
254
|
+
- lib/rails_generator/generators/components/session_migration/USAGE
|
255
|
+
- lib/rails_generator/generators/components/web_service
|
270
256
|
- lib/rails_generator/generators/components/web_service/templates
|
271
|
-
- lib/rails_generator/generators/components/web_service/USAGE
|
272
|
-
- lib/rails_generator/generators/components/web_service/web_service_generator.rb
|
273
257
|
- lib/rails_generator/generators/components/web_service/templates/api_definition.rb
|
274
258
|
- lib/rails_generator/generators/components/web_service/templates/controller.rb
|
275
259
|
- lib/rails_generator/generators/components/web_service/templates/functional_test.rb
|
260
|
+
- lib/rails_generator/generators/components/web_service/USAGE
|
261
|
+
- lib/rails_generator/generators/components/web_service/web_service_generator.rb
|
262
|
+
- lib/rails_generator/lookup.rb
|
263
|
+
- lib/rails_generator/manifest.rb
|
264
|
+
- lib/rails_generator/options.rb
|
265
|
+
- lib/rails_generator/scripts
|
276
266
|
- lib/rails_generator/scripts/destroy.rb
|
277
267
|
- lib/rails_generator/scripts/generate.rb
|
278
268
|
- lib/rails_generator/scripts/update.rb
|
269
|
+
- lib/rails_generator/scripts.rb
|
270
|
+
- lib/rails_generator/simple_logger.rb
|
271
|
+
- lib/rails_generator/spec.rb
|
272
|
+
- lib/rails_generator.rb
|
273
|
+
- lib/railties_path.rb
|
274
|
+
- lib/ruby_version_check.rb
|
275
|
+
- lib/rubyprof_ext.rb
|
276
|
+
- lib/tasks
|
279
277
|
- lib/tasks/databases.rake
|
280
278
|
- lib/tasks/documentation.rake
|
281
279
|
- lib/tasks/framework.rake
|
@@ -283,9 +281,12 @@ files:
|
|
283
281
|
- lib/tasks/misc.rake
|
284
282
|
- lib/tasks/pre_namespace_aliases.rake
|
285
283
|
- lib/tasks/rails.rb
|
284
|
+
- lib/tasks/routes.rake
|
286
285
|
- lib/tasks/statistics.rake
|
287
286
|
- lib/tasks/testing.rake
|
288
287
|
- lib/tasks/tmp.rake
|
288
|
+
- lib/test_help.rb
|
289
|
+
- lib/webrick_server.rb
|
289
290
|
test_files: []
|
290
291
|
|
291
292
|
rdoc_options:
|
@@ -316,7 +317,7 @@ dependencies:
|
|
316
317
|
requirements:
|
317
318
|
- - "="
|
318
319
|
- !ruby/object:Gem::Version
|
319
|
-
version: 1.4.
|
320
|
+
version: 1.4.3
|
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.
|
329
|
+
version: 1.15.4
|
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.
|
338
|
+
version: 1.13.4
|
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.
|
347
|
+
version: 1.3.4
|
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.
|
356
|
+
version: 1.2.4
|
356
357
|
version:
|