railties 4.0.10.rc1 → 4.0.10.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/rails/application.rb +9 -8
- data/lib/rails/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0234dfd0fee5f1a9bb3fd91b187d16e44044e01
|
4
|
+
data.tar.gz: 672ba687112e5021f5426496dbcca62dc91639a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 480263ab13a409c59c6accac9d83759f5aad24edbd8c7a3a6f468c9d732dc754d1b345021f2fe6db9c750ada8f6f41c25552738daea576baf6c94d3aa0bcc0f1
|
7
|
+
data.tar.gz: bc9f09099889d61133aec373d475280a42caaf7122fc0358b93adbb0e5da86e739b6e62765b31584f17f035d98c56b4d434ab8463b66725ff2fffa122ca26b23
|
data/CHANGELOG.md
CHANGED
data/lib/rails/application.rb
CHANGED
@@ -235,8 +235,14 @@ module Rails
|
|
235
235
|
config.helpers_paths
|
236
236
|
end
|
237
237
|
|
238
|
+
# Return an array of railties respecting the order they're loaded
|
239
|
+
# and the order specified by the +railties_order+ config.
|
240
|
+
#
|
241
|
+
# While when running initializers we need engines in reverse
|
242
|
+
# order here when copying migrations from railties we need then in the same
|
243
|
+
# order as given by +railties_order+
|
238
244
|
def migration_railties # :nodoc:
|
239
|
-
|
245
|
+
ordered_railties.flatten - [self]
|
240
246
|
end
|
241
247
|
|
242
248
|
protected
|
@@ -270,11 +276,6 @@ module Rails
|
|
270
276
|
super
|
271
277
|
end
|
272
278
|
|
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
|
-
|
278
279
|
# Returns the ordered railties for this application considering railties_order.
|
279
280
|
def ordered_railties #:nodoc:
|
280
281
|
@ordered_railties ||= begin
|
@@ -294,13 +295,13 @@ module Rails
|
|
294
295
|
|
295
296
|
index = order.index(:all)
|
296
297
|
order[index] = all
|
297
|
-
order
|
298
|
+
order
|
298
299
|
end
|
299
300
|
end
|
300
301
|
|
301
302
|
def railties_initializers(current) #:nodoc:
|
302
303
|
initializers = []
|
303
|
-
ordered_railties.each do |r|
|
304
|
+
ordered_railties.reverse.flatten.each do |r|
|
304
305
|
if r == self
|
305
306
|
initializers += current
|
306
307
|
else
|
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.10.
|
4
|
+
version: 4.0.10.rc2
|
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-09-08 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.10.
|
19
|
+
version: 4.0.10.rc2
|
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.10.
|
26
|
+
version: 4.0.10.rc2
|
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.10.
|
33
|
+
version: 4.0.10.rc2
|
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.10.
|
40
|
+
version: 4.0.10.rc2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -326,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
326
326
|
version: 1.3.1
|
327
327
|
requirements: []
|
328
328
|
rubyforge_project:
|
329
|
-
rubygems_version: 2.
|
329
|
+
rubygems_version: 2.2.2
|
330
330
|
signing_key:
|
331
331
|
specification_version: 4
|
332
332
|
summary: Tools for creating, working with, and running Rails applications.
|