railties 4.1.6.rc1 → 4.1.6.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/rails/application.rb +9 -8
- data/lib/rails/gem_version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d56459cbc0ef890cd09d07ba3e15d16f2210f7fd
|
4
|
+
data.tar.gz: cb39120653e2efcf503e01b56606a40cf8798baf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44813d31da3cd8921c452020307c6b71fd9c538674732334753a8f47499afed974a0f0a1b3898cd28853ee690039be91f0dfad271640c224c480ecf124f4c447
|
7
|
+
data.tar.gz: ec39f969c9563cba893e860d2e33c15d11bf38476ee255eaca76a5acdfa5be92f1c90919c0ac7ca60492fd9f80ecc84af1de2801fa3f71852d4d0205ebb4be5f
|
data/CHANGELOG.md
CHANGED
data/lib/rails/application.rb
CHANGED
@@ -365,8 +365,14 @@ module Rails
|
|
365
365
|
end
|
366
366
|
end
|
367
367
|
|
368
|
+
# Return an array of railties respecting the order they're loaded
|
369
|
+
# and the order specified by the +railties_order+ config.
|
370
|
+
#
|
371
|
+
# While when running initializers we need engines in reverse
|
372
|
+
# order here when copying migrations from railties we need then in the same
|
373
|
+
# order as given by +railties_order+
|
368
374
|
def migration_railties # :nodoc:
|
369
|
-
|
375
|
+
ordered_railties.flatten - [self]
|
370
376
|
end
|
371
377
|
|
372
378
|
protected
|
@@ -399,11 +405,6 @@ module Rails
|
|
399
405
|
super
|
400
406
|
end
|
401
407
|
|
402
|
-
def railties_without_main_app # :nodoc:
|
403
|
-
@railties_without_main_app ||= Rails::Railtie.subclasses.map(&:instance) +
|
404
|
-
Rails::Engine.subclasses.map(&:instance)
|
405
|
-
end
|
406
|
-
|
407
408
|
# Returns the ordered railties for this application considering railties_order.
|
408
409
|
def ordered_railties #:nodoc:
|
409
410
|
@ordered_railties ||= begin
|
@@ -423,13 +424,13 @@ module Rails
|
|
423
424
|
|
424
425
|
index = order.index(:all)
|
425
426
|
order[index] = all
|
426
|
-
order
|
427
|
+
order
|
427
428
|
end
|
428
429
|
end
|
429
430
|
|
430
431
|
def railties_initializers(current) #:nodoc:
|
431
432
|
initializers = []
|
432
|
-
ordered_railties.each do |r|
|
433
|
+
ordered_railties.reverse.flatten.each do |r|
|
433
434
|
if r == self
|
434
435
|
initializers += current
|
435
436
|
else
|
data/lib/rails/gem_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.1.6.
|
4
|
+
version: 4.1.6.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.1.6.
|
19
|
+
version: 4.1.6.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.1.6.
|
26
|
+
version: 4.1.6.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.1.6.
|
33
|
+
version: 4.1.6.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.1.6.
|
40
|
+
version: 4.1.6.rc2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - '='
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: 4.1.6.
|
81
|
+
version: 4.1.6.rc2
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - '='
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 4.1.6.
|
88
|
+
version: 4.1.6.rc2
|
89
89
|
description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
|
90
90
|
email: david@loudthinking.com
|
91
91
|
executables:
|
@@ -354,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
354
354
|
version: 1.3.1
|
355
355
|
requirements: []
|
356
356
|
rubyforge_project:
|
357
|
-
rubygems_version: 2.
|
357
|
+
rubygems_version: 2.2.2
|
358
358
|
signing_key:
|
359
359
|
specification_version: 4
|
360
360
|
summary: Tools for creating, working with, and running Rails applications.
|