Philiprehberger's Gems

icon
See profile on Gravatar
#Total RankDaily RankNameSummary
1181,29511,777philiprehberger-http_clientA zero-dependency HTTP client built on Ruby's net/http with automatic retries, request/...
2181,3125,310philiprehberger-phoneParse phone numbers from various formats, validate against country rules, and format as...
3181,3575,930philiprehberger-templateA lightweight Mustache-style template engine supporting variable interpolation, section...
4181,53110,804philiprehberger-cron_kitA zero-dependency Ruby gem for parsing 5-field cron expressions and running an in-proce...
5181,7439,612philiprehberger-task_queueA lightweight, zero-dependency, thread-safe in-process async job queue with configurabl...
6181,9609,612philiprehberger-rate_limiterA zero-dependency Ruby gem for rate limiting with sliding window and token bucket algor...
7181,9805,408philiprehberger-passwordValidate passwords against configurable policies (length, complexity, common password d...
8182,0818,856philiprehberger-memoMemoize methods with a simple decorator. Supports TTL expiration, LRU eviction, thread-...
9182,0976,633philiprehberger-human_sizeFormat byte counts as human-readable strings (1.5 MB) and parse them back. Supports SI ...
10182,5719,907philiprehberger-event_emitterA thread-safe event emitter for Ruby with support for sync listeners, one-time listener...
11182,6986,828philiprehberger-fuzzy_matchMatch strings approximately using multiple algorithms: Levenshtein edit distance, Jaro-...
12182,7456,828philiprehberger-struct_kitDefine data classes with typed fields, default values, validation rules, and pattern ma...
13182,7499,679philiprehberger-pipeA Ruby library for functional pipeline composition with conditional steps, side effects...
14183,3739,834philiprehberger-config_kitA zero-dependency Ruby gem for layered configuration resolution. Define typed config ke...
15183,4579,757philiprehberger-signed_payloadA zero-dependency Ruby gem for signing and verifying JSON payloads using HMAC-SHA256 wi...
16183,4709,834philiprehberger-circuitCircuit breaker pattern with closed, open, and half-open states, configurable failure t...
17183,4828,629philiprehberger-env_validatorDefine environment variable schemas with type casting, required/optional flags, and def...
18183,5408,983philiprehberger-webhook_signatureSign and verify webhook payloads using HMAC-SHA256 with timestamp-based replay preventi...
19183,5547,186philiprehberger-priority_queueA binary heap-based priority queue supporting min-heap, max-heap, and custom comparator...
20183,5747,276philiprehberger-deep_freezeRecursively freeze entire object graphs (hashes, arrays, strings, structs) to create tr...
21183,67610,706philiprehberger-resultA lightweight Result type for Ruby with Ok and Err variants, monadic map/flat_map opera...
22183,70510,246philiprehberger-retry_kitA lightweight retry library with exponential/linear/constant backoff, configurable jitt...
23184,2707,586philiprehberger-word_wrapWrap text to a specific width at word boundaries. Supports indentation, hanging indent,...
24184,3137,621philiprehberger-truncateTruncate strings by word count, character count, or sentence count with word-boundary a...
25184,3397,649philiprehberger-poolA generic thread-safe object pool for Ruby with configurable size, checkout timeouts, i...
26184,3607,586philiprehberger-progressDisplay progress bars with percentage, ETA, and throughput, or spinners for indetermina...
27184,3709,757philiprehberger-schema_validatorA zero-dependency Ruby gem for validating hash data against schemas with type checking,...
28184,43811,119philiprehberger-cache_kitA lightweight, thread-safe in-memory LRU cache with TTL expiration and tag-based bulk i...
29184,44611,390philiprehberger-data_mapperA zero-dependency Ruby gem for transforming data between formats with a mapping DSL, fi...
30184,4639,991philiprehberger-slugGenerate URL-safe slugs from any string with built-in Unicode transliteration, configur...
31184,77911,251philiprehberger-differA Ruby library for deep structural diffing of hashes, arrays, and nested objects with a...
32184,8677,980philiprehberger-dependency_graphBuild and resolve dependency graphs using topological sort, detect cycles, and generate...
33185,0558,024philiprehberger-tableFormat data as terminal tables with Unicode, ASCII, Markdown, or compact styles. Suppor...
34185,2365,877philiprehberger-sanitize_htmlHTML sanitizer with configurable allow lists for tags and attributes. Strip dangerous e...
35185,3347,980philiprehberger-ip_addrParse and classify IPv4/IPv6 addresses with private, loopback, and multicast detection....
36185,4246,633philiprehberger-maskAutomatically detect and redact sensitive data like emails, credit cards, SSNs, and tok...
37185,51310,903philiprehberger-durationParse human strings and ISO 8601 durations, perform arithmetic and comparison, and outp...
38185,58311,504philiprehberger-colorA lightweight Ruby library for terminal ANSI color and styling with chainable API, RGB/...
39185,60710,078philiprehberger-log_filterPattern-based log filtering — drop or transform log lines matching rules. Includes pres...
40185,61811,119philiprehberger-assertA lightweight runtime assertion library for Ruby with chainable matchers, soft assertio...
41185,62911,632philiprehberger-audit_trailA lightweight audit trail library for tracking changes to hashes and objects with actor...
42185,62913,134philiprehberger-csv_kitStreaming CSV processor with row-by-row transforms, validations, column plucking, filte...
43185,66310,162philiprehberger-safe_yamlSafe YAML loading with restricted types, schema validation, and size limits. Wraps YAML...
44185,6948,316philiprehberger-safe_execSafely evaluate arithmetic, comparison, and boolean expressions from untrusted input. U...
45185,7016,427philiprehberger-schedulerA lightweight in-process task scheduler for Ruby. Schedule recurring tasks using simple...
46185,70111,390philiprehberger-job_meterThread-safe instrumentation for background jobs. Record execution duration and success/...
47185,7227,403philiprehberger-json_schemaValidate Ruby data structures against JSON Schema definitions with support for type che...
48185,7408,530philiprehberger-state_bagThread-local key-value state bag with scoped overrides via blocks, automatic restoratio...
49185,8078,530philiprehberger-circuit_boardHealth check framework that aggregates dependency checks with configurable timeouts. Pr...
50185,87310,162philiprehberger-semverA lightweight Ruby library for parsing, comparing, sorting, and matching semantic versi...
51185,8998,629philiprehberger-approxCompare numeric values, arrays, and hashes for approximate equality using configurable ...
52185,9368,530philiprehberger-token_bucketThread-safe token bucket rate limiter with configurable capacity and refill rate, suppo...
53186,00111,390philiprehberger-feature_flagA lightweight feature flag library supporting in-memory, ENV, and YAML backends with pe...
54186,0508,582philiprehberger-compact_idConvert UUIDs to compact Base58 or Base62 representations (22 chars vs 36). Guaranteed ...
55186,0878,530philiprehberger-graphGraph data structure supporting directed and undirected modes with adjacency list stora...
56186,1778,530philiprehberger-typed_hashDefine typed hash schemas with per-key type declarations, optional coercion functions, ...
57186,2218,480philiprehberger-json_pathEvaluate JSONPath expressions against Ruby hashes and arrays. Supports dot notation, ar...
58186,34110,903philiprehberger-env_diffParse .env files or environment hashes, compare them, and get a clear report of added, ...
59186,45911,119philiprehberger-structured_loggerA zero-dependency Ruby gem for structured JSON logging with context merging, child logg...
60186,74511,504philiprehberger-test_factoryLightweight DSL for building test data objects without ActiveRecord. Define factories w...
61186,7696,271philiprehberger-html_builderBuild HTML programmatically using a clean tag DSL with nested blocks, automatic content...
62186,7839,415philiprehberger-base64_urlURL-safe Base64 encoding and decoding using Base64.urlsafe_encode64/decode64 with no pa...
63186,8136,254philiprehberger-color_convertA color conversion library supporting hex, RGB, HSL, and HSV formats with parsing, mani...
64186,8176,254philiprehberger-tarPure-Ruby implementation of tar archive creation and extraction using the standard 512-...
65186,9029,415philiprehberger-version_compareParse semantic version strings into comparable objects with support for sorting, findin...
66187,0329,152philiprehberger-enumDefine type-safe enums in Ruby with automatic ordinals, custom values, lookup methods, ...
67187,0409,152philiprehberger-string_kitString case conversion, HTML stripping, whitespace normalization, word counting, readin...
68187,0729,217philiprehberger-pluralizePluralize and singularize English words without ActiveSupport. Includes 200+ rules, irr...
69187,0939,103philiprehberger-base_convertEncode and decode data in Base32 (Crockford), Base58 (Bitcoin), Base62, and Base85 (ASC...
70187,0939,338philiprehberger-time_agoFormat timestamps as human-readable relative strings like "3 minutes ago" or "in 2 hour...
71187,1069,338philiprehberger-ring_bufferFixed-capacity ring buffer that overwrites oldest entries on overflow, with built-in st...
72187,1259,267philiprehberger-checksumCompute MD5, SHA-256, SHA-512, and CRC32 checksums for strings and files. File checksum...
73187,1379,267philiprehberger-rate_counterMeasure event rates (requests/sec, errors/min) using a sliding window counter. Thread-s...
74187,1719,338philiprehberger-dot_accessAccess deeply nested hash values using dot notation (config.database.host) with nil-saf...
75187,1949,338philiprehberger-stopwatchHigh-resolution stopwatch using monotonic clock with start, stop, reset, lap timing, pa...
76187,2159,152philiprehberger-bloom_filterBloom filter implementation using a bit array with double hashing. Supports configurabl...
77187,2159,415philiprehberger-random_dataGenerate random test data including names, emails, phone numbers, UUIDs, sentences, par...
78187,2379,267philiprehberger-mime_typeDetect MIME types from file extensions, filenames, and binary content using magic byte ...
79187,2579,267philiprehberger-uri_kitParse, build, and manipulate URLs with query parameter management, normalization, domai...
80187,2649,103philiprehberger-task_runnerRun shell commands with captured stdout/stderr, exit code, duration measurement, config...
81187,2649,338philiprehberger-intervalClosed interval data type supporting overlap detection, containment, intersection, unio...
82187,3169,338philiprehberger-env_loaderLoad environment variables from multiple .env files with configurable precedence, type ...
83187,78010,428philiprehberger-inflectorProvides pluralize, singularize, camelize, underscore, tableize, classify, and other st...
84187,80310,162philiprehberger-csv_builderBuild CSV files from record collections using a declarative DSL with column definitions...
85187,81010,428philiprehberger-config_validatorDefine configuration schemas with required and optional keys, type constraints, default...
86187,82410,428philiprehberger-http_mockStub HTTP requests in tests with a fluent API for matching methods, URLs, headers, and ...
87187,84010,428philiprehberger-multipartBuild multipart/form-data request bodies with a clean DSL for adding text fields and fi...
88187,8596,524philiprehberger-state_machineA minimal state machine for Ruby objects. Define states, events, transitions, guard con...
89187,86910,332philiprehberger-cron_parserParse standard 5-field cron expressions and calculate next/previous occurrences, match ...
90187,90410,332philiprehberger-treeA generic tree data structure supporting depth-first and breadth-first traversal, node ...
91188,04110,332philiprehberger-queue_stackThread-safe queue and stack data structures with configurable capacity limits, blocking...
92188,05410,246philiprehberger-date_kitDate utilities including business day counting and arithmetic, quarter boundaries, week...
93188,06110,332philiprehberger-paginationPagination library supporting offset-based, cursor-based, and keyset strategies. Return...
94188,1476,524philiprehberger-middlewareA composable middleware stack that supports lambda and class-based middleware, named en...
95188,17010,332philiprehberger-hexEncode and decode hexadecimal strings, produce xxd-style hex dumps, format hex output w...
96188,18210,246philiprehberger-guard_clauseA chainable guard clause DSL for validating method preconditions with built-in checks f...
97188,19310,078philiprehberger-maybeA Maybe/Optional type for Ruby providing Some and None containers with safe chaining, p...
98188,21210,246philiprehberger-pathname_kitPathname utility library providing atomic writes, safe deletes, directory creation, glo...
99188,25410,428philiprehberger-corsRack-compatible CORS middleware supporting configurable allowed origins, methods, heade...
100188,26610,162philiprehberger-expiring_mapA thread-safe hash map where each key has its own TTL, with automatic expiration, max s...
101188,28210,246philiprehberger-tryA tiny utility for concise error handling. Wrap risky expressions with Try.call, chain ...
102188,2886,787philiprehberger-rule_engineA lightweight rule engine with a declarative DSL for defining conditions and actions. S...
103188,28810,428philiprehberger-counterCount element frequencies from any enumerable with most-common and least-common queries...
104188,31310,428philiprehberger-changelog_parserParse Keep a Changelog formatted markdown files with version querying, category managem...
105188,83111,777philiprehberger-metricA thread-safe in-process metrics library providing counters, gauges, and histograms wit...
106188,8859,041philiprehberger-event_storeThread-safe in-memory event store for CQRS patterns. Supports named streams, event appe...
107188,96411,777philiprehberger-rate_windowThread-safe time-windowed rate tracker that records values into bucketed time slots. Su...
108189,02811,777philiprehberger-batchProcesses collections in configurable chunks with progress tracking callbacks and per-i...
109189,03711,777philiprehberger-retry_queueProcesses collections of items with configurable per-item retry logic, exponential back...
110189,03711,632philiprehberger-cli_kitLightweight CLI toolkit combining argument parsing with flags and options, interactive ...
111189,08111,777philiprehberger-metric_unitsUnit conversion library supporting length, weight, temperature, and volume categories w...
112189,16411,632philiprehberger-lruThread-safe LRU cache backed by a hash and doubly-linked list for O(1) get/set, with co...
113189,99614,124philiprehberger-webhook_builderA webhook delivery client that signs payloads with HMAC-SHA256, retries failed deliveri...
114190,00214,698philiprehberger-cryptA high-level encryption toolkit providing AES-256-GCM encryption and decryption, PBKDF2...
115190,00814,698philiprehberger-timeout_kitA cooperative timeout library providing deadline and timeout patterns that avoid Thread...
116190,16714,999philiprehberger-bit_fieldNamed bit flags with a DSL for defining flags at bit positions, symbolic read/set/clear...
117190,20214,403philiprehberger-semaphoreCounting semaphore built on Mutex and ConditionVariable for concurrent access control w...
118190,3127,649philiprehberger-id_genGenerate unique identifiers in multiple formats: time-sortable ULIDs, compact nanoids, ...
119190,3147,743philiprehberger-moneyA lean money library that stores amounts as integer subunits (cents) to avoid floating-...
120191,31822,840philiprehberger-jwt_kitA complete JWT toolkit for Ruby. Encode and decode tokens with automatic claim manageme...