Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
fe3f92e
activejob: Copy hand-written RBS and test from 6.0 to 8.1
amatsuda Oct 13, 2026
e49adbb
activejob: Generate RBS from activejob 8.1.4
amatsuda Oct 13, 2026
f7a72d3
activejob: Remove fake types for the Que and Sucker Punch adapters
amatsuda Oct 13, 2026
d5e3099
activejob: Add logger and log_arguments to ActiveJob::Base
amatsuda Oct 13, 2026
976d951
activejob: Type return values of commonly used job methods
amatsuda Oct 13, 2026
a339243
activejob: Make blocks optional where calling without one is valid
amatsuda Oct 13, 2026
476eeb3
activejob: Extend Callbacks and Rescuable class methods in ActiveJob:…
amatsuda Oct 13, 2026
925b5c5
activestorage: Copy hand-written RBS and test from 7.0 to 8.1
amatsuda Oct 13, 2026
1acc43b
activestorage: Generate RBS from activestorage 8.1.4
amatsuda Oct 13, 2026
127b951
activestorage: Remove Blob.build_after_upload and Blob#service_url
amatsuda Oct 13, 2026
30574f1
activestorage: Update signatures that changed in 8.1
amatsuda Oct 13, 2026
e6a5d90
activestorage: Add the columns and associations of Blob and Attachment
amatsuda Oct 13, 2026
42c8c9f
activestorage: Type return values of Blob and Filename methods
amatsuda Oct 13, 2026
977cf10
activestorage: Make blocks optional where calling without one is valid
amatsuda Oct 13, 2026
b5cd579
activestorage: Extend the class methods of the concerns the generated…
amatsuda Oct 13, 2026
d4039a0
actiontext: Copy hand-written RBS and test from 7.2 to 8.1
amatsuda Oct 13, 2026
669bae5
actiontext: Generate RBS from actiontext 8.1.4
amatsuda Oct 13, 2026
4f313ea
actiontext: Add store_if_blank: to has_rich_text
amatsuda Oct 13, 2026
74a8e10
actiontext: Make blocks optional where calling without one is valid
amatsuda Oct 13, 2026
7e60ef6
actiontext: Extend the class methods of the concerns the generated cl…
amatsuda Oct 13, 2026
e69598f
actiontext: Add the columns and associations of ActionText::RichText
amatsuda Oct 13, 2026
eec20c3
actiontext: Type return values of RichText and Content methods
amatsuda Oct 13, 2026
705c93b
Merge branch 'main' into actiontext-8.1
ksss Oct 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gems/actiontext/8.1/_test/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
additional_gems:
- activerecord
31 changes: 31 additions & 0 deletions gems/actiontext/8.1/_test/test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
require "actiontext"

class Article < ActiveRecord::Base
has_rich_text :content
end

class Comment < ActiveRecord::Base
has_rich_text :body, store_if_blank: false
end

ActionView::Helpers::FormBuilder.new(:article, Article.new, ActionView::Base.empty, {}).rich_textarea(:content, class: "editor")
ActionText::Content.render(partial: "action_text/contents/content")
ActionText::Attachment.fragment_by_minifying_attachments("<p>text</p>")

rich_text = ActionText::RichText.new
rich_text.name.to_sym
rich_text.body&.to_html
rich_text.embeds.attached?
rich_text.updated_at.to_date
rich_text.to_s.size
rich_text.to_plain_text.size
rich_text.to_trix_html&.size
if (content = rich_text.body)
content.links.first&.size
content.attachments.first&.to_html
content.gallery_attachments.size
content.to_plain_text.size
content.to_trix_html.size
content.to_html.size
content.to_s.size
end
5 changes: 5 additions & 0 deletions gems/actiontext/8.1/_test/test.rbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class Article < ActiveRecord::Base
end

class Comment < ActiveRecord::Base
end
Loading
Loading