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

Merge pull request #34898 from ksolo/update-raketasks-for-new-frameworks

Add new frameworks to `tasks/release.rb`
This commit is contained in:
Aaron Patterson 2019-01-08 10:47:24 -08:00 committed by GitHub
commit ae4f7b4a0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 1 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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__)