philiprehberger-ring_buffer 0.1.2 → 0.1.3
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +3 -3
- data/lib/philiprehberger/ring_buffer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a6413e1bfb64c5fd698a9c2c8d701ea3a58a348202ea7856a69c34455acea33f
|
|
4
|
+
data.tar.gz: efd3c991398090ed89239787d379f47dbb614a07816a5f39b41f7ba6d5518210
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e5d99cb0de4f389949748763b9d3c7169362182ec5533597d6724c553df7e5f7489126a6d3fd9fd3ba342b5a5b1b895097de5a1245bc840a8664b7c9fdabc34
|
|
7
|
+
data.tar.gz: 98a73f4b242f5e42adf2a532e39e2318c7591ba292f5d89aa7d4085a3b2e3da214181b67fe51e6f7ea7de1dae593cf2b282fb694f2dcbc246b4280d9756ef765
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ 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.3] - 2026-03-24
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Standardize README code examples to use double-quote require statements
|
|
14
|
+
- Remove inline comments from Development section to match template
|
|
15
|
+
|
|
10
16
|
## [0.1.2] - 2026-03-24
|
|
11
17
|
|
|
12
18
|
### Fixed
|
data/README.md
CHANGED
|
@@ -27,7 +27,7 @@ gem install philiprehberger-ring_buffer
|
|
|
27
27
|
## Usage
|
|
28
28
|
|
|
29
29
|
```ruby
|
|
30
|
-
require
|
|
30
|
+
require "philiprehberger/ring_buffer"
|
|
31
31
|
|
|
32
32
|
buf = Philiprehberger::RingBuffer.new(3)
|
|
33
33
|
buf.push(1)
|
|
@@ -87,8 +87,8 @@ buf.select(&:odd?) # => [1, 3]
|
|
|
87
87
|
|
|
88
88
|
```bash
|
|
89
89
|
bundle install
|
|
90
|
-
bundle exec rspec
|
|
91
|
-
bundle exec rubocop
|
|
90
|
+
bundle exec rspec
|
|
91
|
+
bundle exec rubocop
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
## License
|
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.
|
|
4
|
+
version: 0.1.3
|
|
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-
|
|
11
|
+
date: 2026-03-25 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
|