rails 2.3.4 → 2.3.5
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 +6 -0
- data/Rakefile +6 -6
- data/lib/commands/plugin.rb +1 -1
- data/lib/rails/rack/debugger.rb +2 -0
- data/lib/rails/version.rb +1 -1
- data/lib/rails_generator/options.rb +7 -7
- data/lib/tasks/rails.rb +2 -1
- metadata +8 -9
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -202,7 +202,7 @@ task :copy_configs do
|
|
202
202
|
cp "configs/seeds.rb", "#{PKG_DESTINATION}/db/seeds.rb"
|
203
203
|
|
204
204
|
cp "environments/boot.rb", "#{PKG_DESTINATION}/config/boot.rb"
|
205
|
-
|
205
|
+
File.open("#{PKG_DESTINATION}/config/environment.rb", 'w') {|f| f.write ERB.new(IO.read("environments/environment.rb"), nil, '-').result(binding)}
|
206
206
|
cp "environments/production.rb", "#{PKG_DESTINATION}/config/environments/production.rb"
|
207
207
|
cp "environments/development.rb", "#{PKG_DESTINATION}/config/environments/development.rb"
|
208
208
|
cp "environments/test.rb", "#{PKG_DESTINATION}/config/environments/test.rb"
|
@@ -314,11 +314,11 @@ spec = Gem::Specification.new do |s|
|
|
314
314
|
EOF
|
315
315
|
|
316
316
|
s.add_dependency('rake', '>= 0.8.3')
|
317
|
-
s.add_dependency('activesupport', '= 2.3.
|
318
|
-
s.add_dependency('activerecord', '= 2.3.
|
319
|
-
s.add_dependency('actionpack', '= 2.3.
|
320
|
-
s.add_dependency('actionmailer', '= 2.3.
|
321
|
-
s.add_dependency('activeresource', '= 2.3.
|
317
|
+
s.add_dependency('activesupport', '= 2.3.5' + PKG_BUILD)
|
318
|
+
s.add_dependency('activerecord', '= 2.3.5' + PKG_BUILD)
|
319
|
+
s.add_dependency('actionpack', '= 2.3.5' + PKG_BUILD)
|
320
|
+
s.add_dependency('actionmailer', '= 2.3.5' + PKG_BUILD)
|
321
|
+
s.add_dependency('activeresource', '= 2.3.5' + PKG_BUILD)
|
322
322
|
|
323
323
|
s.rdoc_options << '--exclude' << '.'
|
324
324
|
s.has_rdoc = false
|
data/lib/commands/plugin.rb
CHANGED
@@ -268,7 +268,7 @@ class Plugin
|
|
268
268
|
|
269
269
|
def install_using_git(options = {})
|
270
270
|
root = rails_env.root
|
271
|
-
install_path =
|
271
|
+
mkdir_p(install_path = "#{root}/vendor/plugins/#{name}")
|
272
272
|
Dir.chdir install_path do
|
273
273
|
init_cmd = "git init"
|
274
274
|
init_cmd += " -q" if options[:quiet] and not $verbose
|
data/lib/rails/rack/debugger.rb
CHANGED
data/lib/rails/version.rb
CHANGED
@@ -131,16 +131,16 @@ module Rails
|
|
131
131
|
opt.on('-q', '--quiet', 'Suppress normal output.') { |v| options[:quiet] = v }
|
132
132
|
opt.on('-t', '--backtrace', 'Debugging: show backtrace on errors.') { |v| options[:backtrace] = v }
|
133
133
|
opt.on('-c', '--svn', 'Modify files with subversion. (Note: svn must be in path)') do
|
134
|
-
options[:svn] =
|
135
|
-
|
136
|
-
|
134
|
+
options[:svn] = {}
|
135
|
+
`svn status`.each_line do |line|
|
136
|
+
options[:svn][line.chomp[7..-1]] = true
|
137
137
|
end
|
138
138
|
end
|
139
139
|
opt.on('-g', '--git', 'Modify files with git. (Note: git must be in path)') do
|
140
|
-
options[:git] =
|
141
|
-
|
142
|
-
|
143
|
-
|
140
|
+
options[:git] = {:new => {}, :modified => {}}
|
141
|
+
`git status`.each_line do |line|
|
142
|
+
options[:git][:new][line.chomp[14..-1]] = true if line =~ /new file:/
|
143
|
+
options[:git][:modified][line.chomp[14..-1]] = true if line =~ /modified:/
|
144
144
|
end
|
145
145
|
end
|
146
146
|
end
|
data/lib/tasks/rails.rb
CHANGED
@@ -4,5 +4,6 @@ $VERBOSE = nil
|
|
4
4
|
Dir["#{File.dirname(__FILE__)}/*.rake"].each { |ext| load ext }
|
5
5
|
|
6
6
|
# Load any custom rakefile extensions
|
7
|
-
Dir["#{RAILS_ROOT}/vendor/plugins
|
7
|
+
Dir["#{RAILS_ROOT}/vendor/plugins/*/tasks/**/*.rake"].sort.each { |ext| load ext }
|
8
|
+
Dir["#{RAILS_ROOT}/vendor/plugins/*/lib/tasks/**/*.rake"].sort.each { |ext| load ext }
|
8
9
|
Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext }
|
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.
|
4
|
+
version: 2.3.5
|
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-
|
12
|
+
date: 2009-11-27 00:00:00 +13: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.
|
33
|
+
version: 2.3.5
|
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.
|
43
|
+
version: 2.3.5
|
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.
|
53
|
+
version: 2.3.5
|
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.
|
63
|
+
version: 2.3.5
|
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.3.
|
73
|
+
version: 2.3.5
|
74
74
|
version:
|
75
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
|
@@ -84,7 +84,6 @@ files:
|
|
84
84
|
- CHANGELOG
|
85
85
|
- fresh_rakefile
|
86
86
|
- MIT-LICENSE
|
87
|
-
- rails-2.3.4.gem
|
88
87
|
- Rakefile
|
89
88
|
- README
|
90
89
|
- bin/about
|
@@ -426,7 +425,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
426
425
|
requirements: []
|
427
426
|
|
428
427
|
rubyforge_project: rails
|
429
|
-
rubygems_version: 1.3.
|
428
|
+
rubygems_version: 1.3.5
|
430
429
|
signing_key:
|
431
430
|
specification_version: 3
|
432
431
|
summary: Web-application framework with template engine, control-flow layer, and ORM.
|