1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

The frameworks list is order dependent.

Ref: d507f332a9
This commit is contained in:
Kasper Timm Hansen 2019-01-08 21:45:38 +01:00
parent 48375319da
commit 842bc43f7f
No known key found for this signature in database
GPG key ID: 191153215EDA53D8

View file

@ -1,17 +1,18 @@
# frozen_string_literal: true # frozen_string_literal: true
# Order dependent. E.g. Action Mailbox depends on Active Record so it should be after.
FRAMEWORKS = %w( FRAMEWORKS = %w(
activejob activesupport
activemodel activemodel
activerecord activerecord
activestorage
activesupport
actioncable
actionmailbox
actionmailer
actionpack
actiontext
actionview actionview
actionpack
activejob
actionmailer
actioncable
activestorage
actionmailbox
actiontext
railties railties
) )
FRAMEWORK_NAMES = Hash.new { |h, k| k.split(/(?<=active|action)/).map(&:capitalize).join(" ") } FRAMEWORK_NAMES = Hash.new { |h, k| k.split(/(?<=active|action)/).map(&:capitalize).join(" ") }