Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
TypeScript antigravity-skillsbusiness-knowledgeclaude-codeclaude-skillscodebase-analysiscodexcodex-skillsdeveloper-tools-ai-agentgemini-cli-skillskarpathy-llm-wikiknowledge-baseknowledge-graphmemoryopencode-skillspi-agentunderstandcodevibe-coding
feat(core): add RSpec + Minitest helper files to Ruby group
thejesh238d501518612c
diff --git a/understand-anything-plugin/packages/core/src/__tests__/ignore-generator.test.ts b/understand-anything-plugin/packages/core/src/__tests__/ignore-generator.test.tsindex 2773f1fc..5ee941ae 100644--- a/understand-anything-plugin/packages/core/src/__tests__/ignore-generator.test.ts+++ b/understand-anything-plugin/packages/core/src/__tests__/ignore-generator.test.ts@@ -274,6 +274,16 @@ describe("generateStarterIgnoreFile", () => {expect(content).toContain("# **/test_*.rb");});+ it("includes Ruby test-harness helper file patterns", () => {+ const content = generateStarterIgnoreFile(testDir);+ // Bootstrapping / configuration files loaded by RSpec + Minitest;+ // conventionally under spec/ or test/ but sometimes referenced+ // from elsewhere via `require_relative`.+ expect(content).toContain("# **/spec_helper.rb");+ expect(content).toContain("# **/test_helper.rb");+ expect(content).toContain("# **/rails_helper.rb");+ });+it("groups patterns under the JS / TS sub-header", () => {const content = generateStarterIgnoreFile(testDir);expect(content).toContain("# JS / TS");diff --git a/understand-anything-plugin/packages/core/src/ignore-generator.ts b/understand-anything-plugin/packages/core/src/ignore-generator.tsindex d307ca75..75de3b70 100644--- a/understand-anything-plugin/packages/core/src/ignore-generator.ts+++ b/understand-anything-plugin/packages/core/src/ignore-generator.ts@@ -146,6 +146,9 @@ const TEST_PATTERN_GROUPS: Array<{ label: string; patterns: string[] }> = ["**/*_spec.rb","**/*_test.rb","**/test_*.rb",+ "**/spec_helper.rb",+ "**/test_helper.rb",+ "**/rails_helper.rb",],},];