philiprehberger-ring_buffer 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 202f97af91037f4173747a5125ca716f73152484add220f218a28143de249d62
4
- data.tar.gz: a649798ce1036c317fe8c0d4d46983483589809130e699c3d307477dc42cfc2c
3
+ metadata.gz: 88615ccc35562798a43025c6a997082a44943040580041b7ede5293e510b2aec
4
+ data.tar.gz: 180b13a68fa18f3e84d628a1fe8f2b3af8bc41b787e859ccaca204e01051b57a
5
5
  SHA512:
6
- metadata.gz: a8c5670afcfe9d93f224bd7c5f619b30faef6b14d4351f3d54eea3d0d6d9566484e208596490868d56fc9818496318244f6970cc16642fd417be87c89b9280bf
7
- data.tar.gz: f646537574542e539da8c4731ed552502d66705b85ca859bbdc138825c388293fb22390db5abfef4f0be5f493944735a7c0ae58e9b51b99c54f570e7eef71d5e
6
+ metadata.gz: e5ba3deaabafcb5c35fa8553b8e3a0f95c0f0d347dd9e082339591aa46da0da3902a646e1005ee946ab5da608059955168289f27d09952448062e2969b027b28
7
+ data.tar.gz: e23d4912c16d2146e2faca806a7757c5fe502f54347e08549a5918b3a8a9a3e2afa776b19c403c4083be5474bdb4966843d0b384d4ee6d58d9727d32d7177b1a
data/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this gem adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.4] - 2026-03-26
11
+
12
+ ### Changed
13
+
14
+ - Add Sponsor badge and fix License link format in README
15
+
16
+ ## [0.1.3] - 2026-03-24
17
+
18
+ ### Fixed
19
+ - Standardize README code examples to use double-quote require statements
20
+ - Remove inline comments from Development section to match template
21
+
10
22
  ## [0.1.2] - 2026-03-24
11
23
 
12
24
  ### Fixed
data/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![Tests](https://github.com/philiprehberger/rb-ring-buffer/actions/workflows/ci.yml/badge.svg)](https://github.com/philiprehberger/rb-ring-buffer/actions/workflows/ci.yml)
4
4
  [![Gem Version](https://badge.fury.io/rb/philiprehberger-ring_buffer.svg)](https://rubygems.org/gems/philiprehberger-ring_buffer)
5
5
  [![License](https://img.shields.io/github/license/philiprehberger/rb-ring-buffer)](LICENSE)
6
+ [![Sponsor](https://img.shields.io/badge/sponsor-GitHub%20Sponsors-ec6cb9)](https://github.com/sponsors/philiprehberger)
6
7
 
7
8
  Fixed-size circular buffer with overflow, statistics, and enumeration
8
9
 
@@ -27,7 +28,7 @@ gem install philiprehberger-ring_buffer
27
28
  ## Usage
28
29
 
29
30
  ```ruby
30
- require 'philiprehberger/ring_buffer'
31
+ require "philiprehberger/ring_buffer"
31
32
 
32
33
  buf = Philiprehberger::RingBuffer.new(3)
33
34
  buf.push(1)
@@ -87,10 +88,10 @@ buf.select(&:odd?) # => [1, 3]
87
88
 
88
89
  ```bash
89
90
  bundle install
90
- bundle exec rspec # Run tests
91
- bundle exec rubocop # Check code style
91
+ bundle exec rspec
92
+ bundle exec rubocop
92
93
  ```
93
94
 
94
95
  ## License
95
96
 
96
- MIT
97
+ [MIT](LICENSE)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Philiprehberger
4
4
  class RingBuffer
5
- VERSION = '0.1.2'
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: philiprehberger-ring_buffer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Rehberger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-24 00:00:00.000000000 Z
11
+ date: 2026-03-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Fixed-capacity ring buffer that overwrites oldest entries on overflow,
14
14
  with built-in statistics (average, sum, min, max), last-n retrieval, and Enumerable