rails 2.0.2 → 2.0.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 +11 -0
- data/Rakefile +9 -8
- data/bin/rails +0 -0
- data/builtin/rails_info/rails/info.rb +17 -15
- data/configs/apache.conf +0 -0
- data/dispatches/dispatch.fcgi +0 -0
- data/dispatches/dispatch.rb +0 -0
- data/dispatches/gateway.cgi +2 -2
- data/environments/boot.rb +1 -2
- data/fresh_rakefile +0 -0
- data/lib/commands/console.rb +3 -3
- data/lib/commands/generate.rb +0 -0
- data/lib/commands/performance/request.rb +0 -0
- data/lib/initializer.rb +8 -4
- data/lib/rails/version.rb +1 -1
- data/lib/rails_generator/commands.rb +22 -22
- data/lib/rails_generator/generators/applications/app/app_generator.rb +4 -3
- data/lib/rails_generator/generators/components/plugin/templates/Rakefile +0 -0
- data/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +2 -2
- data/lib/rails_generator/lookup.rb +1 -1
- data/lib/tasks/databases.rake +14 -15
- data/lib/tasks/documentation.rake +2 -2
- data/lib/tasks/framework.rake +4 -1
- data/lib/tasks/testing.rake +2 -2
- data/rails-2.0.4.gem +0 -0
- metadata +16 -10
data/CHANGELOG
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
*2.0.4* (2nd September 2008)
|
2
|
+
|
3
|
+
* Resurrect WordNet synonym lookups. #10710 [tom./, matt]
|
4
|
+
|
5
|
+
* Added that rails:update is run when you do rails:freeze:edge to ensure you also get the latest JS and config files #10565 [jeff]
|
6
|
+
|
7
|
+
* SQLite: db:drop:all doesn't fail silently if the database is already open. #10577 [Cheah Chu Yeow, mrichman]
|
8
|
+
|
9
|
+
* Ruby 1.9 compatibility. #1689, #10546 [Cheah Chu Yeow, frederico]
|
10
|
+
|
11
|
+
|
1
12
|
*2.0.2* (December 16th, 2007)
|
2
13
|
|
3
14
|
* Changed the default database from mysql to sqlite3, so now running "rails myapp" will have a config/database.yml that's setup for SQLite3 (which in OS X Leopard is installed by default, so is the gem, so everything Just Works with no database configuration at all). To get a Rails application preconfigured for MySQL, just run "rails -d mysql myapp" [DHH]
|
data/Rakefile
CHANGED
@@ -2,6 +2,7 @@ require 'rake'
|
|
2
2
|
require 'rake/testtask'
|
3
3
|
require 'rake/rdoctask'
|
4
4
|
require 'rake/gempackagetask'
|
5
|
+
require 'rake/contrib/sshpublisher'
|
5
6
|
require 'rake/contrib/rubyforgepublisher'
|
6
7
|
|
7
8
|
require 'date'
|
@@ -264,7 +265,7 @@ task :generate_rails_framework_doc do
|
|
264
265
|
end
|
265
266
|
|
266
267
|
task :generate_app_doc do
|
267
|
-
|
268
|
+
cp "doc/README_FOR_APP", "#{PKG_DESTINATION}/doc/README_FOR_APP"
|
268
269
|
system %{cd #{PKG_DESTINATION}; rake doc:app}
|
269
270
|
end
|
270
271
|
|
@@ -313,11 +314,11 @@ spec = Gem::Specification.new do |s|
|
|
313
314
|
EOF
|
314
315
|
|
315
316
|
s.add_dependency('rake', '>= 0.7.2')
|
316
|
-
s.add_dependency('activesupport', '= 2.0.
|
317
|
-
s.add_dependency('activerecord', '= 2.0.
|
318
|
-
s.add_dependency('actionpack', '= 2.0.
|
319
|
-
s.add_dependency('actionmailer', '= 2.0.
|
320
|
-
s.add_dependency('activeresource', '= 2.0.
|
317
|
+
s.add_dependency('activesupport', '= 2.0.4' + PKG_BUILD)
|
318
|
+
s.add_dependency('activerecord', '= 2.0.4' + PKG_BUILD)
|
319
|
+
s.add_dependency('actionpack', '= 2.0.4' + PKG_BUILD)
|
320
|
+
s.add_dependency('actionmailer', '= 2.0.4' + PKG_BUILD)
|
321
|
+
s.add_dependency('activeresource', '= 2.0.4' + PKG_BUILD)
|
321
322
|
|
322
323
|
s.rdoc_options << '--exclude' << '.'
|
323
324
|
s.has_rdoc = false
|
@@ -342,8 +343,8 @@ end
|
|
342
343
|
# Publishing -------------------------------------------------------
|
343
344
|
desc "Publish the API documentation"
|
344
345
|
task :pgem => [:gem] do
|
345
|
-
Rake::SshFilePublisher.new("
|
346
|
-
`ssh
|
346
|
+
Rake::SshFilePublisher.new("david@greed.loudthinking.com", "/u/sites/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
|
347
|
+
`ssh david@greed.loudthinking.com '/u/sites/gems/gemupdate.sh'`
|
347
348
|
end
|
348
349
|
|
349
350
|
desc "Publish the release files to RubyForge."
|
data/bin/rails
CHANGED
File without changes
|
@@ -3,30 +3,32 @@ module Rails
|
|
3
3
|
mattr_accessor :properties
|
4
4
|
class << (@@properties = [])
|
5
5
|
def names
|
6
|
-
map
|
6
|
+
map &:first
|
7
7
|
end
|
8
|
-
|
8
|
+
|
9
9
|
def value_for(property_name)
|
10
|
-
|
10
|
+
if property = assoc(property_name)
|
11
|
+
property.last
|
12
|
+
end
|
11
13
|
end
|
12
14
|
end
|
13
|
-
|
15
|
+
|
14
16
|
class << self #:nodoc:
|
15
17
|
def property(name, value = nil)
|
16
18
|
value ||= yield
|
17
|
-
properties << [name, value] if value
|
19
|
+
properties << [name, value] if value
|
18
20
|
rescue Exception
|
19
21
|
end
|
20
22
|
|
21
23
|
def components
|
22
24
|
%w( active_record action_pack active_resource action_mailer active_support )
|
23
25
|
end
|
24
|
-
|
26
|
+
|
25
27
|
def component_version(component)
|
26
28
|
require "#{component}/version"
|
27
29
|
"#{component.classify}::VERSION::STRING".constantize
|
28
30
|
end
|
29
|
-
|
31
|
+
|
30
32
|
def edge_rails_revision(info = svn_info)
|
31
33
|
info[/^Revision: (\d+)/, 1] || freeze_edge_version
|
32
34
|
end
|
@@ -49,7 +51,7 @@ module Rails
|
|
49
51
|
end
|
50
52
|
|
51
53
|
alias inspect to_s
|
52
|
-
|
54
|
+
|
53
55
|
def to_html
|
54
56
|
returning table = '<table>' do
|
55
57
|
properties.each do |(name, value)|
|
@@ -82,25 +84,25 @@ module Rails
|
|
82
84
|
property 'RubyGems version' do
|
83
85
|
Gem::RubyGemsVersion
|
84
86
|
end
|
85
|
-
|
87
|
+
|
86
88
|
# The Rails version.
|
87
89
|
property 'Rails version' do
|
88
90
|
Rails::VERSION::STRING
|
89
91
|
end
|
90
|
-
|
91
|
-
# Versions of each Rails component (Active Record, Action Pack,
|
92
|
+
|
93
|
+
# Versions of each Rails component (Active Record, Action Pack,
|
92
94
|
# Active Resource, Action Mailer, and Active Support).
|
93
95
|
components.each do |component|
|
94
|
-
property "#{component.titlecase} version" do
|
96
|
+
property "#{component.titlecase} version" do
|
95
97
|
component_version(component)
|
96
98
|
end
|
97
99
|
end
|
98
|
-
|
100
|
+
|
99
101
|
# The Rails SVN revision, if it's checked out into vendor/rails.
|
100
102
|
property 'Edge Rails revision' do
|
101
103
|
edge_rails_revision
|
102
104
|
end
|
103
|
-
|
105
|
+
|
104
106
|
# The application's location on the filesystem.
|
105
107
|
property 'Application root' do
|
106
108
|
File.expand_path(RAILS_ROOT)
|
@@ -110,7 +112,7 @@ module Rails
|
|
110
112
|
property 'Environment' do
|
111
113
|
RAILS_ENV
|
112
114
|
end
|
113
|
-
|
115
|
+
|
114
116
|
# The name of the database adapter for the current environment.
|
115
117
|
property 'Database adapter' do
|
116
118
|
ActiveRecord::Base.configurations[RAILS_ENV]['adapter']
|
data/configs/apache.conf
CHANGED
File without changes
|
data/dispatches/dispatch.fcgi
CHANGED
File without changes
|
data/dispatches/dispatch.rb
CHANGED
File without changes
|
data/dispatches/gateway.cgi
CHANGED
@@ -31,7 +31,7 @@ def listener_socket(number)
|
|
31
31
|
File.expand_path(File.join(File.dirname(__FILE__), "../log/drb_gateway/listener_#{number}.sock"))
|
32
32
|
end
|
33
33
|
|
34
|
-
unless File.
|
34
|
+
unless File.exist? TrackerSocket
|
35
35
|
message "Starting tracker and #{Listeners} listeners"
|
36
36
|
fork do
|
37
37
|
Process.setsid
|
@@ -62,7 +62,7 @@ unless File.exists? TrackerSocket
|
|
62
62
|
ready = false
|
63
63
|
10.times do
|
64
64
|
sleep 0.5
|
65
|
-
break if (ready = File.
|
65
|
+
break if (ready = File.exist?(TrackerSocket) && File.exist?(listener_socket(0)))
|
66
66
|
end
|
67
67
|
|
68
68
|
if ready
|
data/environments/boot.rb
CHANGED
@@ -24,9 +24,8 @@ module Rails
|
|
24
24
|
File.exist?("#{RAILS_ROOT}/vendor/rails")
|
25
25
|
end
|
26
26
|
|
27
|
-
# FIXME : Ruby 1.9
|
28
27
|
def preinitialize
|
29
|
-
load(preinitializer_path) if File.
|
28
|
+
load(preinitializer_path) if File.exist?(preinitializer_path)
|
30
29
|
end
|
31
30
|
|
32
31
|
def preinitializer_path
|
data/fresh_rakefile
CHANGED
File without changes
|
data/lib/commands/console.rb
CHANGED
@@ -16,9 +16,9 @@ libs << " -r console_sandbox" if options[:sandbox]
|
|
16
16
|
libs << " -r console_with_helpers"
|
17
17
|
|
18
18
|
ENV['RAILS_ENV'] = case ARGV.first
|
19
|
-
when "p"
|
20
|
-
when "d"
|
21
|
-
when "t"
|
19
|
+
when "p"; "production"
|
20
|
+
when "d"; "development"
|
21
|
+
when "t"; "test"
|
22
22
|
else
|
23
23
|
ARGV.first || ENV['RAILS_ENV'] || 'development'
|
24
24
|
end
|
data/lib/commands/generate.rb
CHANGED
File without changes
|
File without changes
|
data/lib/initializer.rb
CHANGED
@@ -217,11 +217,15 @@ module Rails
|
|
217
217
|
end
|
218
218
|
end
|
219
219
|
|
220
|
-
#
|
221
|
-
# Plugin authors supporting other encodings
|
222
|
-
# set the relevant +default_charset+
|
220
|
+
# For Ruby 1.8, this initialization sets $KCODE to 'u' to enable the
|
221
|
+
# multibyte safe operations. Plugin authors supporting other encodings
|
222
|
+
# should override this behaviour and set the relevant +default_charset+
|
223
|
+
# on ActionController::Base.
|
224
|
+
#
|
225
|
+
# For Ruby 1.9, this does nothing. Specify the default encoding in the Ruby
|
226
|
+
# shebang line if you don't want UTF-8.
|
223
227
|
def initialize_encoding
|
224
|
-
$KCODE='u'
|
228
|
+
$KCODE='u' if RUBY_VERSION < '1.9'
|
225
229
|
end
|
226
230
|
|
227
231
|
# This initialization routine does nothing unless <tt>:active_record</tt>
|
data/lib/rails/version.rb
CHANGED
@@ -310,26 +310,26 @@ HELP
|
|
310
310
|
logger.exists relative_path
|
311
311
|
else
|
312
312
|
logger.create relative_path
|
313
|
-
|
314
|
-
|
313
|
+
unless options[:pretend]
|
314
|
+
FileUtils.mkdir_p(path)
|
315
315
|
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
316
|
+
# Subversion doesn't do path adds, so we need to add
|
317
|
+
# each directory individually.
|
318
|
+
# So stack up the directory tree and add the paths to
|
319
|
+
# subversion in order without recursion.
|
320
|
+
if options[:svn]
|
321
|
+
stack=[relative_path]
|
322
|
+
until File.dirname(stack.last) == stack.last # dirname('.') == '.'
|
323
|
+
stack.push File.dirname(stack.last)
|
324
|
+
end
|
325
|
+
stack.reverse_each do |rel_path|
|
326
|
+
svn_path = destination_path(rel_path)
|
327
|
+
system("svn add -N #{svn_path}") unless File.directory?(File.join(svn_path, '.svn'))
|
328
|
+
end
|
329
|
+
end
|
330
|
+
end
|
331
|
+
end
|
332
|
+
end
|
333
333
|
|
334
334
|
# Display a README.
|
335
335
|
def readme(*relative_sources)
|
@@ -391,7 +391,7 @@ end_message
|
|
391
391
|
raise UsageError, message
|
392
392
|
end
|
393
393
|
|
394
|
-
SYNONYM_LOOKUP_URI = "http://wordnet.princeton.edu/
|
394
|
+
SYNONYM_LOOKUP_URI = "http://wordnet.princeton.edu/perl/webwn?s=%s"
|
395
395
|
|
396
396
|
# Look up synonyms on WordNet. Thanks to Florian Gross (flgr).
|
397
397
|
def find_synonyms(word)
|
@@ -399,8 +399,8 @@ end_message
|
|
399
399
|
require 'timeout'
|
400
400
|
timeout(5) do
|
401
401
|
open(SYNONYM_LOOKUP_URI % word) do |stream|
|
402
|
-
|
403
|
-
data.scan(
|
402
|
+
# Grab words linked to dictionary entries as possible synonyms
|
403
|
+
data = stream.read.gsub(" ", " ").scan(/<a href="webwn.*?">([\w ]*?)<\/a>/s).uniq
|
404
404
|
end
|
405
405
|
end
|
406
406
|
rescue Exception
|
@@ -7,8 +7,9 @@ class AppGenerator < Rails::Generator::Base
|
|
7
7
|
Config::CONFIG['ruby_install_name'])
|
8
8
|
|
9
9
|
DATABASES = %w(mysql oracle postgresql sqlite2 sqlite3 frontbase)
|
10
|
+
DEFAULT_DATABASE = 'sqlite3'
|
10
11
|
|
11
|
-
default_options :db => (ENV["RAILS_DEFAULT_DATABASE"] ||
|
12
|
+
default_options :db => (ENV["RAILS_DEFAULT_DATABASE"] || DEFAULT_DATABASE),
|
12
13
|
:shebang => DEFAULT_SHEBANG, :freeze => false
|
13
14
|
mandatory_options :source => "#{File.dirname(__FILE__)}/../../../../.."
|
14
15
|
|
@@ -119,8 +120,8 @@ class AppGenerator < Rails::Generator::Base
|
|
119
120
|
"Default: #{DEFAULT_SHEBANG}") { |v| options[:shebang] = v }
|
120
121
|
|
121
122
|
opt.on("-d", "--database=name", String,
|
122
|
-
"Preconfigure for selected database (options:
|
123
|
-
"Default:
|
123
|
+
"Preconfigure for selected database (options: #{DATABASES.join('/')}).",
|
124
|
+
"Default: #{DEFAULT_DATABASE}") { |v| options[:db] = v }
|
124
125
|
|
125
126
|
opt.on("-f", "--freeze",
|
126
127
|
"Freeze Rails in vendor/rails from the gems generating the skeleton",
|
File without changes
|
@@ -54,8 +54,6 @@ class ScaffoldGenerator < Rails::Generator::NamedBase
|
|
54
54
|
m.template('layout.html.erb', File.join('app/views/layouts', controller_class_path, "#{controller_file_name}.html.erb"))
|
55
55
|
m.template('style.css', 'public/stylesheets/scaffold.css')
|
56
56
|
|
57
|
-
m.dependency 'model', [name] + @args, :collision => :skip
|
58
|
-
|
59
57
|
m.template(
|
60
58
|
'controller.rb', File.join('app/controllers', controller_class_path, "#{controller_file_name}_controller.rb")
|
61
59
|
)
|
@@ -64,6 +62,8 @@ class ScaffoldGenerator < Rails::Generator::NamedBase
|
|
64
62
|
m.template('helper.rb', File.join('app/helpers', controller_class_path, "#{controller_file_name}_helper.rb"))
|
65
63
|
|
66
64
|
m.route_resources controller_file_name
|
65
|
+
|
66
|
+
m.dependency 'model', [name] + @args, :collision => :skip
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
@@ -139,7 +139,7 @@ module Rails
|
|
139
139
|
private
|
140
140
|
# Lookup and cache every generator from the source list.
|
141
141
|
def cache
|
142
|
-
@cache ||= sources.inject([]) { |cache, source| cache + source.
|
142
|
+
@cache ||= sources.inject([]) { |cache, source| cache + source.to_a }
|
143
143
|
end
|
144
144
|
|
145
145
|
# Clear the cache whenever the source list changes.
|
data/lib/tasks/databases.rake
CHANGED
@@ -16,11 +16,7 @@ namespace :db do
|
|
16
16
|
# <<: *defaults
|
17
17
|
next unless config['database']
|
18
18
|
# Only connect to local databases
|
19
|
-
|
20
|
-
create_database(config)
|
21
|
-
else
|
22
|
-
p "This task only creates local databases. #{config['database']} is on a remote host."
|
23
|
-
end
|
19
|
+
local_database?(config) { create_database(config) }
|
24
20
|
end
|
25
21
|
end
|
26
22
|
end
|
@@ -65,11 +61,7 @@ namespace :db do
|
|
65
61
|
# Skip entries that don't have a database key
|
66
62
|
next unless config['database']
|
67
63
|
# Only connect to local databases
|
68
|
-
|
69
|
-
drop_database(config)
|
70
|
-
else
|
71
|
-
p "This task only drops local databases. #{config['database']} is on a remote host."
|
72
|
-
end
|
64
|
+
local_database?(config) { drop_database(config) }
|
73
65
|
end
|
74
66
|
end
|
75
67
|
end
|
@@ -79,6 +71,15 @@ namespace :db do
|
|
79
71
|
drop_database(ActiveRecord::Base.configurations[RAILS_ENV || 'development'])
|
80
72
|
end
|
81
73
|
|
74
|
+
def local_database?(config, &block)
|
75
|
+
if %w( 127.0.0.1 localhost ).include?(config['host']) || config['host'].blank?
|
76
|
+
yield
|
77
|
+
else
|
78
|
+
puts "This task only modifies local databases. #{config['database']} is on a remote host."
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
|
82
83
|
desc "Migrate the database through scripts in db/migrate. Target specific version with VERSION=x. Turn off output with VERBOSE=false."
|
83
84
|
task :migrate => :environment do
|
84
85
|
ActiveRecord::Migration.verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true
|
@@ -331,9 +332,7 @@ namespace :db do
|
|
331
332
|
|
332
333
|
desc "Clear the sessions table"
|
333
334
|
task :clear => :environment do
|
334
|
-
|
335
|
-
session_table = Inflector.pluralize(session_table) if ActiveRecord::Base.pluralize_table_names
|
336
|
-
ActiveRecord::Base.connection.execute "DELETE FROM #{session_table}"
|
335
|
+
ActiveRecord::Base.connection.execute "DELETE FROM #{session_table_name}"
|
337
336
|
end
|
338
337
|
end
|
339
338
|
end
|
@@ -343,7 +342,7 @@ def drop_database(config)
|
|
343
342
|
when 'mysql'
|
344
343
|
ActiveRecord::Base.connection.drop_database config['database']
|
345
344
|
when /^sqlite/
|
346
|
-
FileUtils.
|
345
|
+
FileUtils.rm(File.join(RAILS_ROOT, config['database']))
|
347
346
|
when 'postgresql'
|
348
347
|
`dropdb "#{config['database']}"`
|
349
348
|
end
|
@@ -360,4 +359,4 @@ end
|
|
360
359
|
|
361
360
|
def firebird_db_string(config)
|
362
361
|
FireRuby::Database.db_string_for(config.symbolize_keys)
|
363
|
-
end
|
362
|
+
end
|
@@ -65,11 +65,11 @@ namespace :doc do
|
|
65
65
|
options << '-T html'
|
66
66
|
|
67
67
|
files.include("#{plugin_base}/lib/**/*.rb")
|
68
|
-
if File.
|
68
|
+
if File.exist?("#{plugin_base}/README")
|
69
69
|
files.include("#{plugin_base}/README")
|
70
70
|
options << "--main '#{plugin_base}/README'"
|
71
71
|
end
|
72
|
-
files.include("#{plugin_base}/CHANGELOG") if File.
|
72
|
+
files.include("#{plugin_base}/CHANGELOG") if File.exist?("#{plugin_base}/CHANGELOG")
|
73
73
|
|
74
74
|
options << files.to_s
|
75
75
|
|
data/lib/tasks/framework.rake
CHANGED
@@ -69,6 +69,9 @@ namespace :rails do
|
|
69
69
|
for framework in %w(railties actionpack activerecord actionmailer activesupport activeresource)
|
70
70
|
system "svn export #{rails_svn}/#{framework} vendor/rails/#{framework}" + (ENV['REVISION'] ? " -r #{ENV['REVISION']}" : "")
|
71
71
|
end
|
72
|
+
|
73
|
+
puts "Updating current scripts, javascripts, and configuration settings"
|
74
|
+
Rake::Task["rails:update"].invoke
|
72
75
|
end
|
73
76
|
end
|
74
77
|
|
@@ -105,7 +108,7 @@ namespace :rails do
|
|
105
108
|
require 'railties_path'
|
106
109
|
project_dir = RAILS_ROOT + '/public/javascripts/'
|
107
110
|
scripts = Dir[RAILTIES_PATH + '/html/javascripts/*.js']
|
108
|
-
scripts.reject!{|s| File.basename(s) == 'application.js'} if File.
|
111
|
+
scripts.reject!{|s| File.basename(s) == 'application.js'} if File.exist?(project_dir + 'application.js')
|
109
112
|
FileUtils.cp(scripts, project_dir)
|
110
113
|
end
|
111
114
|
|
data/lib/tasks/testing.rake
CHANGED
@@ -13,11 +13,11 @@ def recent_tests(source_pattern, test_path, touched_since = 10.minutes.ago)
|
|
13
13
|
|
14
14
|
# For modified files in app/ run the tests for it. ex. /test/functional/account_controller.rb
|
15
15
|
test = "#{modified_test_path}/#{source_file}_test.rb"
|
16
|
-
tests.push test if File.
|
16
|
+
tests.push test if File.exist?(test)
|
17
17
|
|
18
18
|
# For modified files in app, run tests in subdirs too. ex. /test/functional/account/*_test.rb
|
19
19
|
test = "#{modified_test_path}/#{File.basename(path, '.rb').sub("_controller","")}"
|
20
|
-
FileList["#{test}/*_test.rb"].each { |f| tests.push f } if File.
|
20
|
+
FileList["#{test}/*_test.rb"].each { |f| tests.push f } if File.exist?(test)
|
21
21
|
|
22
22
|
return tests
|
23
23
|
|
data/rails-2.0.4.gem
ADDED
Binary file
|
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.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
@@ -9,11 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2008-09-04 00:00:00 +02:00
|
13
13
|
default_executable: rails
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
17
|
+
type: :runtime
|
17
18
|
version_requirement:
|
18
19
|
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
@@ -23,48 +24,53 @@ dependencies:
|
|
23
24
|
version:
|
24
25
|
- !ruby/object:Gem::Dependency
|
25
26
|
name: activesupport
|
27
|
+
type: :runtime
|
26
28
|
version_requirement:
|
27
29
|
version_requirements: !ruby/object:Gem::Requirement
|
28
30
|
requirements:
|
29
31
|
- - "="
|
30
32
|
- !ruby/object:Gem::Version
|
31
|
-
version: 2.0.
|
33
|
+
version: 2.0.4
|
32
34
|
version:
|
33
35
|
- !ruby/object:Gem::Dependency
|
34
36
|
name: activerecord
|
37
|
+
type: :runtime
|
35
38
|
version_requirement:
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
41
|
- - "="
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.0.
|
43
|
+
version: 2.0.4
|
41
44
|
version:
|
42
45
|
- !ruby/object:Gem::Dependency
|
43
46
|
name: actionpack
|
47
|
+
type: :runtime
|
44
48
|
version_requirement:
|
45
49
|
version_requirements: !ruby/object:Gem::Requirement
|
46
50
|
requirements:
|
47
51
|
- - "="
|
48
52
|
- !ruby/object:Gem::Version
|
49
|
-
version: 2.0.
|
53
|
+
version: 2.0.4
|
50
54
|
version:
|
51
55
|
- !ruby/object:Gem::Dependency
|
52
56
|
name: actionmailer
|
57
|
+
type: :runtime
|
53
58
|
version_requirement:
|
54
59
|
version_requirements: !ruby/object:Gem::Requirement
|
55
60
|
requirements:
|
56
61
|
- - "="
|
57
62
|
- !ruby/object:Gem::Version
|
58
|
-
version: 2.0.
|
63
|
+
version: 2.0.4
|
59
64
|
version:
|
60
65
|
- !ruby/object:Gem::Dependency
|
61
66
|
name: activeresource
|
67
|
+
type: :runtime
|
62
68
|
version_requirement:
|
63
69
|
version_requirements: !ruby/object:Gem::Requirement
|
64
70
|
requirements:
|
65
71
|
- - "="
|
66
72
|
- !ruby/object:Gem::Version
|
67
|
-
version: 2.0.
|
73
|
+
version: 2.0.4
|
68
74
|
version:
|
69
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.
|
70
76
|
email: david@loudthinking.com
|
@@ -87,6 +93,8 @@ files:
|
|
87
93
|
- html
|
88
94
|
- lib
|
89
95
|
- MIT-LICENSE
|
96
|
+
- pkg
|
97
|
+
- rails-2.0.4.gem
|
90
98
|
- Rakefile
|
91
99
|
- README
|
92
100
|
- bin/about
|
@@ -283,8 +291,6 @@ files:
|
|
283
291
|
- lib/rails_generator/generators/components/session_migration/templates
|
284
292
|
- lib/rails_generator/generators/components/session_migration/templates/migration.rb
|
285
293
|
- lib/rails_generator/generators/components/session_migration/USAGE
|
286
|
-
- lib/rails_generator/generators/components/web_service
|
287
|
-
- lib/rails_generator/generators/components/web_service/templates
|
288
294
|
- lib/rails_generator/lookup.rb
|
289
295
|
- lib/rails_generator/manifest.rb
|
290
296
|
- lib/rails_generator/options.rb
|
@@ -338,7 +344,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
338
344
|
requirements: []
|
339
345
|
|
340
346
|
rubyforge_project: rails
|
341
|
-
rubygems_version: 1.
|
347
|
+
rubygems_version: 1.2.0
|
342
348
|
signing_key:
|
343
349
|
specification_version: 2
|
344
350
|
summary: Web-application framework with template engine, control-flow layer, and ORM.
|