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.
data/CHANGELOG.md
CHANGED
@@ -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
|
312
|
-
*
|
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
|
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
|
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
|
-
|
319
|
+
The above are guidelines -- please use your best judgment in using them.
|
320
320
|
|
321
321
|
h4. Sanity Check
|
322
322
|
|
@@ -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)
|
data/lib/rails/version.rb
CHANGED
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:
|
5
|
-
prerelease:
|
4
|
+
hash: -3026603520
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
|
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-
|
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:
|
100
|
+
hash: -3026603520
|
99
101
|
segments:
|
100
102
|
- 3
|
101
103
|
- 2
|
102
|
-
-
|
103
|
-
|
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:
|
118
|
+
hash: -3026603520
|
115
119
|
segments:
|
116
120
|
- 3
|
117
121
|
- 2
|
118
|
-
-
|
119
|
-
|
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:
|
655
|
+
hash: 25
|
650
656
|
segments:
|
651
|
-
-
|
652
|
-
|
657
|
+
- 1
|
658
|
+
- 3
|
659
|
+
- 1
|
660
|
+
version: 1.3.1
|
653
661
|
requirements: []
|
654
662
|
|
655
663
|
rubyforge_project:
|