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:
Kevin Solorio 2019-01-08 10:36:33 -08:00
parent cd16413ef3
commit ce90ded4ca
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__)