enum_utils 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/enum_utils.gemspec +0 -1
- data/lib/enum_utils/exhaustible_iter.rb +3 -3
- data/lib/enum_utils/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: f0c5a141a52c040a5d8beca34a6f2f98de5d4226b69bcea23d57de63825dc6b1
|
4
|
+
data.tar.gz: eb05123740ca6e58e25db09b1576670c20c0463b909a9fe310a375094e1ef7b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2308998f3b9eb12e3ce69d4af16a81a0e81185ef86784b109594eaec60c28a54237e232594f641f5126aeb843a045ccb9f6478e4da87fa68d2a1314836918ff
|
7
|
+
data.tar.gz: ab5270a5c518534a6fe9a17e284e7b9b14d5307e2e05eb0e4da8766add9598f044bd733b1c4c3e6f3360e8933e0dea5fe892182961efa8eb7864374345f0ce67
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/enum_utils.gemspec
CHANGED
@@ -7,7 +7,6 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.version = EnumUtils::VERSION
|
8
8
|
spec.authors = ['Max Chernyak']
|
9
9
|
spec.email = ['hello@max.engineer']
|
10
|
-
|
11
10
|
spec.summary = 'Functions for mixing and matching lazy, potentially ' \
|
12
11
|
'infinite enumerables.'
|
13
12
|
spec.homepage = 'https://github.com/maxim/enum_utils'
|
@@ -6,9 +6,9 @@ module EnumUtils
|
|
6
6
|
|
7
7
|
attr_reader :buff_value
|
8
8
|
|
9
|
-
def initialize(source); @source = source; pull
|
10
|
-
def exhausted?; @buff_value
|
11
|
-
def next; @buff_value.tap { pull }
|
9
|
+
def initialize(source); @source = source; pull end
|
10
|
+
def exhausted?; @buff_value.equal?(EXHAUSTED) end
|
11
|
+
def next; @buff_value.tap { pull } end
|
12
12
|
|
13
13
|
private
|
14
14
|
|
data/lib/enum_utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enum_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Chernyak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|