railties 3.2.5 → 3.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ ## Rails 3.2.6 (Jun 12, 2012)
2
+
3
+ * No changes.
4
+
1
5
  ## Rails 3.2.4 (May 31, 2012) ##
2
6
 
3
7
  * Add hook for resource route's generator. *Santiago Pastorino*
@@ -17,7 +17,7 @@
17
17
  <% end -%>
18
18
  <td><%%= link_to 'Show', <%= singular_table_name %> %></td>
19
19
  <td><%%= link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>) %></td>
20
- <td><%%= link_to 'Destroy', <%= singular_table_name %>, <%= key_value :confirm, "'Are you sure?'" %>, <%= key_value :method, ":delete" %> %></td>
20
+ <td><%%= link_to 'Destroy', <%= singular_table_name %>, <%= key_value :method, ":delete" %>, <%= key_value :data, "{ #{key_value :confirm, "'Are you sure?'"} }" %> %></td>
21
21
  </tr>
22
22
  <%% end %>
23
23
  </table>
@@ -1,7 +1,7 @@
1
1
  <% if namespaced? -%>
2
2
  require_dependency "<%= namespaced_file_path %>/application_controller"
3
- <% end -%>
4
3
 
4
+ <% end -%>
5
5
  <% module_namespacing do -%>
6
6
  class <%= class_name %>Controller < ApplicationController
7
7
  <% actions.each do |action| -%>
@@ -22,6 +22,8 @@ Gem::Specification.new do |s|
22
22
  <% if full? && !options[:skip_javascript] -%>
23
23
  # s.add_dependency "<%= "#{options[:javascript]}-rails" %>"
24
24
  <% end -%>
25
+ <% unless options[:skip_active_record] -%>
25
26
 
26
27
  s.add_development_dependency "<%= gem_for_database %>"
28
+ <% end -%>
27
29
  end
@@ -20,7 +20,7 @@ RDoc::Task.new(:rdoc) do |rdoc|
20
20
  rdoc.rdoc_files.include('lib/**/*.rb')
21
21
  end
22
22
 
23
- <% if full? && !options[:skip_active_record] -%>
23
+ <% if full? && !options[:skip_active_record] && !options[:skip_test_unit] -%>
24
24
  APP_RAKEFILE = File.expand_path("../<%= dummy_path -%>/Rakefile", __FILE__)
25
25
  load 'rails/tasks/engine.rake'
26
26
  <% end %>
@@ -1,7 +1,7 @@
1
1
  <% if namespaced? -%>
2
2
  require_dependency "<%= namespaced_file_path %>/application_controller"
3
- <% end -%>
4
3
 
4
+ <% end -%>
5
5
  <% module_namespacing do -%>
6
6
  class <%= controller_class_name %>Controller < ApplicationController
7
7
  # GET <%= route_url %>
@@ -20,7 +20,7 @@ namespace :rails do
20
20
  project_templates = "#{Rails.root}/lib/templates"
21
21
 
22
22
  default_templates = { "erb" => %w{controller mailer scaffold},
23
- "rails" => %w{controller helper scaffold_controller stylesheets} }
23
+ "rails" => %w{controller helper scaffold_controller assets} }
24
24
 
25
25
  default_templates.each do |type, names|
26
26
  local_template_type_dir = File.join(project_templates, type)
@@ -2,7 +2,7 @@ module Rails
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- TINY = 5
5
+ TINY = 6
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railties
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
- - 5
10
- version: 3.2.5
9
+ - 6
10
+ version: 3.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Heinemeier Hansson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-06-01 00:00:00 Z
18
+ date: 2012-06-12 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rake
@@ -95,12 +95,12 @@ dependencies:
95
95
  requirements:
96
96
  - - "="
97
97
  - !ruby/object:Gem::Version
98
- hash: 5
98
+ hash: 3
99
99
  segments:
100
100
  - 3
101
101
  - 2
102
- - 5
103
- version: 3.2.5
102
+ - 6
103
+ version: 3.2.6
104
104
  type: :runtime
105
105
  version_requirements: *id005
106
106
  - !ruby/object:Gem::Dependency
@@ -111,12 +111,12 @@ dependencies:
111
111
  requirements:
112
112
  - - "="
113
113
  - !ruby/object:Gem::Version
114
- hash: 5
114
+ hash: 3
115
115
  segments:
116
116
  - 3
117
117
  - 2
118
- - 5
119
- version: 3.2.5
118
+ - 6
119
+ version: 3.2.6
120
120
  type: :runtime
121
121
  version_requirements: *id006
122
122
  description: "Rails internals: application bootup, plugins, generators, and rake tasks."