15 个仓库
Plugins specifically designed to improve Ruby and Rails development.
Explore 15 awesome GitHub repositories matching part of an awesome list · Ruby Extensions. Refine with filters or upvote what's useful.
This project is a community-driven style guide that defines standards for formatting and structuring Ruby code. It serves as a collection of language conventions and best practices intended to ensure that Ruby applications are written idiomatically and maintainably. The guide functions as a static analysis standard, providing a reference that automated linting tools use to enforce uniform coding patterns and structural rules. By mapping written guidelines to these automated configurations, it establishes a shared source of truth for code consistency. The scope of the project covers Ruby code
Serves as a reference for automated linting tools to enforce uniform coding patterns in Ruby source files.
This project is a community-driven Ruby coding style guide and static analysis standard. It provides a collection of agreed-upon rules for syntax, naming conventions, and structural guidelines to ensure uniform code appearance and maintainability across Ruby projects. The project serves as both a human-readable documentation resource for developers and a machine-readable RuboCop configuration specification. This allows natural language style guidelines to be mapped directly to automated linting rules. The system covers Ruby code standardization, style enforcement, and project governance thro
Defines agreed-upon naming and syntax conventions for identifying stylistic deviations in Ruby.
RuboCop is a static code analyzer and linter for Ruby. It functions as a static analysis tool designed to detect potential bugs, identify style violations, and improve overall code quality in Ruby projects. The project provides an automated code formatter that rewrites source code to align with established community standards. It also implements a language server protocol to surface linting and formatting errors directly within text editors. Its capabilities cover automated code linting and the analysis of Ruby code style to ensure consistency across a project. These functions are driven by
Provides a comprehensive static analysis tool for detecting potential bugs and improving Ruby code quality.
RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It identifies style violations, smells, and errors in source code to ensure consistency and maintainability based on community guidelines. The project provides automatic source code formatting to rewrite files according to defined stylistic standards. It also functions as a language server protocol implementation, surfacing violations and suggested fixes directly within code editors. The tool covers code complexity monitoring to track the size of classes and methods and employs non-inclusive language detection to
Functions as a comprehensive Ruby linter that identifies smells and errors to ensure maintainability.
RuboCop is a static code analyzer, linter, and formatter for the Ruby language. It detects style violations, potential bugs, and code smells by scanning source code without executing the program. The tool enforces a predefined Ruby style guide by flagging deviations and automatically rewriting source code to ensure consistency across projects. It includes a language server that provides real-time analysis and formatting suggestions directly within text editors.
Provides static analysis for the Ruby language to detect bugs and enforce stylistic consistency.
Octicons 是一个全面的可缩放矢量字形库和设计系统图标集,旨在在用户界面中提供统一的视觉语言。它作为一个标准化的 SVG 资产集合,确保 Web 组件、服务器端视图和静态网站生成器的图标一致性。 该项目具有多尺度矢量渲染功能,利用针对不同尺寸桶优化的独立 SVG 路径数据,以在各种屏幕分辨率下保持视觉清晰度。它包括一个通过基于关键字的别名映射进行图标发现的系统,并支持用于应用颜色和间距的标准化属性系统。 通过专用的包装器库和针对 JavaScript、Ruby 和 Rails 的插件提供集成。该系统还包括一个用于将字形插入 Jekyll 静态网站的自定义标记机制,并支持基于符号的渲染以在应用程序视图中重用字形。
Provides specialized plugins and extensions for integrating glyphs into various Ruby-based applications.
Bullet is an Active Record performance monitor and query profiler for Ruby on Rails applications. It serves as a diagnostic utility to identify inefficient database access patterns, flag redundant requests, and suggest eager loading strategies to improve response times. The tool specifically detects N+1 queries, missing counter caches, and unused eager loading. It monitors these patterns across both standard web requests and background jobs, identifying records that are fetched but never accessed to reduce memory usage and query overhead. Analysis is supported by a system that intercepts dat
Detects N+1 queries and unused eager loading within Ruby on Rails applications.
本项目是一个针对 Ruby on Rails 的静态分析工具和 Linter,旨在识别架构异味和最佳实践违规。它充当 Rails 应用的代码质量 Linter、架构审计员、安全扫描器和性能分析器。 该工具评估控制器、模型和视图模板之间的关注点分离,以减少技术债务。它识别次优的编码模式并强制执行风格一致性,同时专门扫描安全漏洞,如模型中未受保护的批量赋值。 分析范围涵盖检测低效的数据库查询和内存密集型数据检索模式。它还审计路由设计、验证记录持久化,并识别不当的错误处理和时区配置错误。 用户可以通过配置文件定义要启用或禁用的代码检查来管理分析。
Profiles and detects database query inefficiencies specifically within the Ruby on Rails framework.
Reek 是一个用于 Ruby 项目的静态代码分析器,旨在识别被称为“代码异味”的设计缺陷和可维护性问题。它作为一个质量保证工具,在不执行源代码的情况下对其进行检查,以发现结构性弱点和架构债务。 该分析器可以识别特定的模式,如大类、长方法和不具描述性的命名。它还能检测更复杂的设计问题,包括特性依恋、数据泥团、模拟多态和控制耦合。 该工具包括用于管理遗留代码的问题基线功能,以及用于排除特定目录的配置驱动过滤功能。它支持通过 CI/CD 流水线进行自动化质量检查,并提供 JSON、YAML、XML 和 HTML 等格式的分析报告。
Scans Ruby source code to identify design flaws and maintainability issues using static analysis.
Overcommit 是一个 Git 钩子管理器和预提交验证框架,旨在自动化在各种 Git 事件期间执行脚本和检查。它作为一个工作流自动化工具,确保在更改提交或推送到远程存储库之前满足代码质量和项目标准。 该系统通过全面的基于 YAML 的配置脱颖而出,该配置允许对钩子行为进行详细控制,包括文件执行过滤、有条件跳过和钩子依赖项管理。它提供专门的角色,例如提交消息验证器以强制执行命名约定,以及推送防护以阻止不稳定或不安全的代码到达远程分支。 该项目涵盖了广泛的功能领域,包括多语言静态分析和 Linting、自动化依赖管理以及安全验证(如密钥扫描和许可证合规性)。它还通过受保护的分支强制执行和并行钩子执行来管理存储库完整性,以优化性能。
Executes Ruby linters to detect bugs and style issues before code is committed.
This project is a self-hosted application performance monitoring tool designed for Ruby on Rails environments. It functions as a diagnostic platform that tracks request response times, database query efficiency, and background job performance to help identify bottlenecks within web application infrastructure. The tool distinguishes itself by integrating directly into the framework to provide real-time performance insights and developer-focused utilities, such as direct navigation from error reports to the corresponding lines in a code editor. It supports complex analysis by correlating perfor
Provides a self-hosted dashboard for tracking request latency and database query efficiency.
Sublime Text 2 & 3 Plugin to Beautify Ruby
Formats and cleans up Ruby source code.
RSpecrspec is a BDD (Behavior-Driven Development) testing framework for Ruby. This package adds support to Sublime Text for specifying and testing Ruby applications with RSpec. It contains extra syntax highlighting and many snippets.
Integrates RSpec testing framework support into the editor.
ChangeQuotes
Toggles between single and double quotes for strings.
Only Ruby snippets - Focus on Ruby core and common standard snippets - No gem specific snippets, except for stdlib, bundler and rake
Provides a collection of optimized Ruby code snippets.