Skip to content

[0.1.5] Add Rakefile (no extension) support to annotator and actions - #31

Merged
unurgunite merged 1 commit into
v0.1.5from
feature/rake-file-support
Jul 5, 2026
Merged

[0.1.5] Add Rakefile (no extension) support to annotator and actions#31
unurgunite merged 1 commit into
v0.1.5from
feature/rake-file-support

Conversation

@unurgunite

@unurgunite unurgunite commented Jul 5, 2026

Copy link
Copy Markdown
Member

Description

Adds support for Rakefile (no file extension) across all annotators, actions, and intention actions.

Previously the plugin only accepted .rb and .rake files. Standard Rakefiles (the conventional Rakefile without any extension) were silently ignored — annotator returned null, actions stayed disabled.

Changes

  • DocscribeAnnotatorcollectInformation() now accepts Rakefile in addition to .rb/.rake
  • CheckFileAction, SafeFixAction, AggressiveFixActionupdate() enables the action for Rakefile
  • DocscribeCheckIntention, DocscribeFixIntention, DocscribeAggressiveFixIntentionisAvailable() returns true for Rakefile
  • Tests — 4 new tests verifying Rakefile is accepted by annotator and all three actions

Checklist

  • Tests pass (./gradlew test)
  • Formatting clean (./gradlew spotlessCheck)
  • Static analysis clean (./gradlew detekt)
  • Plugin verified (./gradlew verifyPlugin)
  • CHANGELOG updated

@unurgunite unurgunite self-assigned this Jul 5, 2026
@unurgunite unurgunite added the enhancement New feature or request label Jul 5, 2026
@unurgunite
unurgunite force-pushed the feature/rake-file-support branch from 6325357 to 6e58e4d Compare July 5, 2026 17:44
@unurgunite unurgunite changed the title [0.1.5] Add Rakefile (no extension) support to annotator and actions [0.1.5] Add Rakefile (no extension) support to annotator and actions Jul 5, 2026
@unurgunite
unurgunite merged commit 792826e into v0.1.5 Jul 5, 2026
1 check passed
@unurgunite
unurgunite deleted the feature/rake-file-support branch July 5, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant