Skip to content

Commit ce90ded

Browse files
committed
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
1 parent cd16413 commit ce90ded

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

actionmailbox/Rakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ require "bundler/setup"
44
require "bundler/gem_tasks"
55
require "rake/testtask"
66

7+
task :package
8+
79
Rake::TestTask.new do |t|
810
t.libs << "test"
911
t.pattern = "test/**/*_test.rb"

actiontext/Rakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ require "bundler/setup"
44
require "bundler/gem_tasks"
55
require "rake/testtask"
66

7+
task :package
8+
79
Rake::TestTask.new do |t|
810
t.libs << "test"
911
t.pattern = "test/**/*_test.rb"

tasks/release.rb

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# frozen_string_literal: true
22

3-
FRAMEWORKS = %w( activesupport activemodel activerecord actionview actionpack activejob actionmailer actioncable activestorage railties )
3+
FRAMEWORKS = %w(
4+
activejob
5+
activemodel
6+
activerecord
7+
activestorage
8+
activesupport
9+
actioncable
10+
actionmailbox
11+
actionmailer
12+
actionpack
13+
actiontext
14+
actionview
15+
railties
16+
)
417
FRAMEWORK_NAMES = Hash.new { |h, k| k.split(/(?<=active|action)/).map(&:capitalize).join(" ") }
518

619
root = File.expand_path("..", __dir__)

0 commit comments

Comments
 (0)