railties 4.0.9 → 4.0.10.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/rails/application.rb +9 -0
- data/lib/rails/generators/erb/scaffold/templates/_form.html.erb +1 -1
- data/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +3 -0
- data/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +3 -0
- data/lib/rails/railtie/configuration.rb +1 -1
- data/lib/rails/version.rb +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b80050aab11ab93b6d0c7a171a35143069471178
|
4
|
+
data.tar.gz: 662b22a8fbacffc02588762a1fbb592f069e10b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42da06cf0fc6f9f2a6f7ed6846b8caff9a4d440619318f93118ea10b5632a2db7c6134411fbb1780b374a65ac4b613cb92ef72b7f1dbf00cd72a6b1cff4f17cb
|
7
|
+
data.tar.gz: e52292c1c9a5aa48d6f569ac8680ab00cd6587b80be62b5ababf0750612a5e1ad734a522fb65b7ae296e6369863b30a7724b02f9c9994e825b3d5fa6844a9c75
|
data/CHANGELOG.md
CHANGED
data/lib/rails/application.rb
CHANGED
@@ -235,6 +235,10 @@ module Rails
|
|
235
235
|
config.helpers_paths
|
236
236
|
end
|
237
237
|
|
238
|
+
def migration_railties # :nodoc:
|
239
|
+
(ordered_railties & railties_without_main_app).reverse
|
240
|
+
end
|
241
|
+
|
238
242
|
protected
|
239
243
|
|
240
244
|
alias :build_middleware_stack :app
|
@@ -266,6 +270,11 @@ module Rails
|
|
266
270
|
super
|
267
271
|
end
|
268
272
|
|
273
|
+
def railties_without_main_app # :nodoc:
|
274
|
+
@railties_without_main_app ||= Rails::Railtie.subclasses.map(&:instance) +
|
275
|
+
Rails::Engine.subclasses.map(&:instance)
|
276
|
+
end
|
277
|
+
|
269
278
|
# Returns the ordered railties for this application considering railties_order.
|
270
279
|
def ordered_railties #:nodoc:
|
271
280
|
@ordered_railties ||= begin
|
data/lib/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: railties
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.10.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0.
|
19
|
+
version: 4.0.10.rc1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.
|
26
|
+
version: 4.0.10.rc1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: actionpack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 4.0.
|
33
|
+
version: 4.0.10.rc1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 4.0.
|
40
|
+
version: 4.0.10.rc1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -321,9 +321,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
321
321
|
version: 1.9.3
|
322
322
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
323
323
|
requirements:
|
324
|
-
- - "
|
324
|
+
- - ">"
|
325
325
|
- !ruby/object:Gem::Version
|
326
|
-
version:
|
326
|
+
version: 1.3.1
|
327
327
|
requirements: []
|
328
328
|
rubyforge_project:
|
329
329
|
rubygems_version: 2.3.0
|