railties 3.2.6 → 3.2.7.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ ## Rails 3.2.7 (unreleased)
2
+
3
+ * Since Rails 3.2, use layout false to render no layout
4
+ * Use strict_args_position! if available from Thor
5
+
1
6
  ## Rails 3.2.6 (Jun 12, 2012)
2
7
 
3
8
  * No changes.
@@ -307,16 +307,16 @@ h4. Follow the Coding Conventions
307
307
 
308
308
  Rails follows a simple set of coding style conventions.
309
309
 
310
- * Two spaces, no tabs.
311
- * No trailing whitespace. Blank lines should not have any space.
312
- * Do not indent after private/protected. Private/protected should have the same indentation as the methods around.
310
+ * Two spaces, no tabs (for indentation).
311
+ * No trailing whitespace. Blank lines should not have any spaces.
312
+ * Indent after private/protected.
313
313
  * Prefer +&&+/+||+ over +and+/+or+.
314
- * Prefer class << self block over self.method for class methods.
315
- * +MyClass.my_method(my_arg)+ not +my_method( my_arg )+ or +my_method my_arg+.
316
- * a = b and not a=b.
317
- * Follow the conventions you see used in the source already.
314
+ * Prefer class << self over self.method for class methods.
315
+ * Use +MyClass.my_method(my_arg)+ not +my_method( my_arg )+ or +my_method my_arg+.
316
+ * Use a = b and not a=b.
317
+ * Follow the conventions in the source you see used already.
318
318
 
319
- These are some guidelines and please use your best judgment in using them.
319
+ The above are guidelines -- please use your best judgment in using them.
320
320
 
321
321
  h4. Sanity Check
322
322
 
@@ -445,7 +445,7 @@ end
445
445
 
446
446
  <ruby>
447
447
  class OldPostsController < SpecialPostsController
448
- layout nil
448
+ layout false
449
449
 
450
450
  def show
451
451
  @post = Post.find(params[:id])
@@ -20,6 +20,7 @@ module Rails
20
20
  include Rails::Generators::Actions
21
21
 
22
22
  add_runtime_options!
23
+ strict_args_position! if respond_to?(:strict_args_position!)
23
24
 
24
25
  # Returns the source root for this generator using default_source_root as default.
25
26
  def self.source_root(path=nil)
@@ -2,8 +2,8 @@ module Rails
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
- TINY = 6
6
- PRE = nil
5
+ TINY = 7
6
+ PRE = "rc1"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railties
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
5
- prerelease:
4
+ hash: -3026603520
5
+ prerelease: 6
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
- - 6
10
- version: 3.2.6
9
+ - 7
10
+ - rc
11
+ - 1
12
+ version: 3.2.7.rc1
11
13
  platform: ruby
12
14
  authors:
13
15
  - David Heinemeier Hansson
@@ -15,7 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2012-06-12 00:00:00 Z
20
+ date: 2012-07-23 00:00:00 Z
19
21
  dependencies:
20
22
  - !ruby/object:Gem::Dependency
21
23
  name: rake
@@ -95,12 +97,14 @@ dependencies:
95
97
  requirements:
96
98
  - - "="
97
99
  - !ruby/object:Gem::Version
98
- hash: 3
100
+ hash: -3026603520
99
101
  segments:
100
102
  - 3
101
103
  - 2
102
- - 6
103
- version: 3.2.6
104
+ - 7
105
+ - rc
106
+ - 1
107
+ version: 3.2.7.rc1
104
108
  type: :runtime
105
109
  version_requirements: *id005
106
110
  - !ruby/object:Gem::Dependency
@@ -111,12 +115,14 @@ dependencies:
111
115
  requirements:
112
116
  - - "="
113
117
  - !ruby/object:Gem::Version
114
- hash: 3
118
+ hash: -3026603520
115
119
  segments:
116
120
  - 3
117
121
  - 2
118
- - 6
119
- version: 3.2.6
122
+ - 7
123
+ - rc
124
+ - 1
125
+ version: 3.2.7.rc1
120
126
  type: :runtime
121
127
  version_requirements: *id006
122
128
  description: "Rails internals: application bootup, plugins, generators, and rake tasks."
@@ -644,12 +650,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
644
650
  required_rubygems_version: !ruby/object:Gem::Requirement
645
651
  none: false
646
652
  requirements:
647
- - - ">="
653
+ - - ">"
648
654
  - !ruby/object:Gem::Version
649
- hash: 3
655
+ hash: 25
650
656
  segments:
651
- - 0
652
- version: "0"
657
+ - 1
658
+ - 3
659
+ - 1
660
+ version: 1.3.1
653
661
  requirements: []
654
662
 
655
663
  rubyforge_project: