mirror of https://github.com/rails/rails
add new frameworks to tasks/release.rb
The Frameworks collection was missing actiontext and actionmailbox, this would mean they are skipped when running any tasks that iterated through this collection changes include Breaking up frameworks declaration into multiple lines and put them in order. This should make adding to the list easier and if you need to scan it, they will be in order you would expect Add `package` task to both actiontext and actionmailbox
This commit is contained in:
parent
cd16413ef3
commit
ce90ded4ca
|
@ -4,6 +4,8 @@ require "bundler/setup"
|
|||
require "bundler/gem_tasks"
|
||||
require "rake/testtask"
|
||||
|
||||
task :package
|
||||
|
||||
Rake::TestTask.new do |t|
|
||||
t.libs << "test"
|
||||
t.pattern = "test/**/*_test.rb"
|
||||
|
|
|
@ -4,6 +4,8 @@ require "bundler/setup"
|
|||
require "bundler/gem_tasks"
|
||||
require "rake/testtask"
|
||||
|
||||
task :package
|
||||
|
||||
Rake::TestTask.new do |t|
|
||||
t.libs << "test"
|
||||
t.pattern = "test/**/*_test.rb"
|
||||
|
|
|
@ -1,6 +1,19 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
FRAMEWORKS = %w( activesupport activemodel activerecord actionview actionpack activejob actionmailer actioncable activestorage railties )
|
||||
FRAMEWORKS = %w(
|
||||
activejob
|
||||
activemodel
|
||||
activerecord
|
||||
activestorage
|
||||
activesupport
|
||||
actioncable
|
||||
actionmailbox
|
||||
actionmailer
|
||||
actionpack
|
||||
actiontext
|
||||
actionview
|
||||
railties
|
||||
)
|
||||
FRAMEWORK_NAMES = Hash.new { |h, k| k.split(/(?<=active|action)/).map(&:capitalize).join(" ") }
|
||||
|
||||
root = File.expand_path("..", __dir__)
|
||||
|
|
Loading…
Reference in New Issue