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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dcc8f12b305943d799437f2bd5c6a3dadd55ed2f
4
- data.tar.gz: 9ea7cb5d9a06d5b2efb698d66f760487c33906f5
3
+ metadata.gz: d56459cbc0ef890cd09d07ba3e15d16f2210f7fd
4
+ data.tar.gz: cb39120653e2efcf503e01b56606a40cf8798baf
5
5
  SHA512:
6
- metadata.gz: ec9e7dac2f1af356de76e78029d290929659639eaefe42a890a2548b916a083f30ff67e438af11ce0179646bfec5ec5fe475a326f2a88ee89e1896e65c574192
7
- data.tar.gz: 8405199c8a6467fa2fd592b00db483b5eacb0860fd42fc5524decc3636d419c46e3c624b70e1d6df9ffe9b1e21bbcbbac2159ba0511ea1ae166ed9255d6616c6
6
+ metadata.gz: 44813d31da3cd8921c452020307c6b71fd9c538674732334753a8f47499afed974a0f0a1b3898cd28853ee690039be91f0dfad271640c224c480ecf124f4c447
7
+ data.tar.gz: ec39f969c9563cba893e860d2e33c15d11bf38476ee255eaca76a5acdfa5be92f1c90919c0ac7ca60492fd9f80ecc84af1de2801fa3f71852d4d0205ebb4be5f
@@ -1,4 +1,4 @@
1
- ## Rails 4.1.6 (August 19, 2014) ##
1
+ ## Rails 4.1.6 (September 8, 2014) ##
2
2
 
3
3
  * Scaffold generator `_form` partial adds `class="field"` for password
4
4
  confirmation fields.
@@ -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
- (ordered_railties & railties_without_main_app).reverse
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.reverse.flatten
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
@@ -8,7 +8,7 @@ module Rails
8
8
  MAJOR = 4
9
9
  MINOR = 1
10
10
  TINY = 6
11
- PRE = "rc1"
11
+ PRE = "rc2"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
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.rc1
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-19 00:00:00.000000000 Z
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.rc1
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.rc1
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.rc1
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.rc1
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.rc1
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.rc1
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.3.0
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.