Pack Api

C+ 76 completed
Other
unknown / ruby · small
100
Files
4,123
LOC
1
Frameworks
4
Languages

Pipeline State

completed
Run ID
#1535413
Phase
done
Progress
0%
Started
2026-04-16 16:08:51
Finished
2026-04-16 16:08:51
LLM tokens
0

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
28.98
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #48880
Member of a group with 95 similar repo(s) · framework railscanonical #1451157 view group →
Repobility's GitHub App fixes findings like these · https://github.com/apps/repobility-bot

AI Prompt

Create a Ruby gem called PackAPI that helps build robust API layers on top of domain models. The gem should provide utilities for data transformation, defining filters, and attribute mapping between domain models and API representations. Specifically, include tools like `AttributeMap` for bidirectional mapping, and components for building complex queries supporting filtering, sorting, and pagination, such as `ComposableQuery` and `CollectionQuery`. The gem should require Ruby >= 3.0.0 and depend on ActiveRecord >= 7.0 and dry-types.
ruby gem rails api data-transformation query-building activerecord dry-types backend
Generated by gemma4:latest

Catalog Information

Create a Ruby gem called PackAPI that helps build robust API layers on top of domain models. The gem should provide utilities for data transformation, defining filters, and attribute mapping between domain models and API representations. Specifically, include tools like AttributeMap for bidirectional mapping, and components for building complex queries supporting filtering, sorting, and pagination, such as ComposableQuery and CollectionQuery. The gem should require Ruby >= 3.0.0 and depend

Tags

ruby gem rails api data-transformation query-building activerecord dry-types backend

Quality Score

C+
76.1/100
Structure
78
Code Quality
90
Documentation
47
Testing
85
Practices
72
Security
75
Dependencies
80

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (60% test-to-source ratio)
  • Consistent naming conventions (snake_case)
  • Properly licensed project

Weaknesses

  • 104 duplicate lines detected — consider DRY refactoring

Recommendations

  • Add a linter configuration to enforce code style consistency

Languages

ruby
90.8%
markdown
5.8%
yaml
2.9%
text
0.5%

Frameworks

Rails

Symbols

method196
function72
property57
class48
constant17

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/1201874.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV
Source: Repobility analyzer · https://repobility.com

BinComp Dependency Hardening

All packages →
1 of this repo's dependencies have been scanned for binary hardening. Grade reflects RELRO / stack canary / FORTIFY / PIE coverage.
Fbrotli1.2.0 · 349 gadgets · risk 465.0